[Freeswitch-users] Problem with flex client connecting to mod_rtmp

Jack jack at livecall.com
Tue Aug 7 08:26:41 MSD 2012


Hi Peter,
Make sure you use a fully qualified username not just the extension 
1001 at xxx.xxx.xxx.xxx
the XXX would be the IP of your FreeSwitch Server.

did you configure your rtmp.conf.xml and have a matching context in your 
dial plan?

In the web page make sure these two vars are set to YOUR Freeswitch 
server ip:
var rtmpIPURL = "rtmp://xxx.xxx.xxx.xxx/phone";
  var rtmpIP="xxx.xxx.xxx.xxx";

jack

On 8/6/2012 5:44 PM, Peter Steinbach wrote:
> Hello,
>
> today I tried the flex client with the mod_rtmp implementation.
> On a brandnew freeswitch I installed mod_rtmp and copied the flex
> direrectory to a web server and loaded the web page.
>
> However the flex client does not connect:
> Here's my freeswitch log
> 2012-08-07 02:32:03.585671 [NOTICE] mod_rtmp.c:744 New RTMP session
> [f35a192c-0d02-4320-89e9-775a3573ee25]
> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:702 Sent handshake response
> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:727 Done with handshake
> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:892 [chunk_stream=3 type=0x14
> ts=0 stream_id=0x0] len=342
> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:170 [amfnumber=3] Got INVOKE
> for connect
> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:566 [amfnumber=2 type=0x1
> stream_id=0x0] len=4
> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:566 [amfnumber=2 type=0x5
> stream_id=0x0] len=4
> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:566 [amfnumber=2 type=0x6
> stream_id=0x0] len=5
> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:566 [amfnumber=2 type=0x4
> stream_id=0x0] len=6
> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:566 [amfnumber=3 type=0x14
> stream_id=0x0] len=201
> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:566 [amfnumber=3 type=0x14
> stream_id=0x0] len=61
> 2012-08-07 02:32:03.685670 [NOTICE] rtmp_sig.c:121 Sent connect reply
> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:892 [chunk_stream=2 type=0x5
> ts=12247364 stream_id=0x0] len=4
> 2012-08-07 02:32:03.685670 [DEBUG] rtmp.c:945 Set window size: 131072 bytes
>
> If I change the rtmp_url to 'rtmp://conference.freeswitch.org/phone',
> flex does connect.
>
> But in my freeswitch this fails. I have traced the network traffic and I
> can see that there is information flow between freeswitch and the client
> on connect request.
>
> Somebody has an idea where to look further?
>




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list