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

Antonio asilva at wirelessmundi.com
Wed Aug 8 13:03:41 MSD 2012


Hi Peter,

Do you have some kind of firewall on your computer? did you try to
disabled it?


Regards,
António



On Tue, 2012-08-07 at 12:26 +0200, Peter Steinbach wrote: 

> Hello Antonio,
> 
> I added this:
> > var params  = {
> > allowScriptAccess: 'always'
> > };
> 
> and removed the /phone from the URL. This did not change anything. Log
> is still like this:
> 
> 2012-08-07 11:56:48.105667 [NOTICE] mod_rtmp.c:744 New RTMP session
> [b31edb8a-50d3-4100-9b7f-ab49b6ba06b5]
> 2012-08-07 11:56:48.205670 [DEBUG] rtmp.c:702 Sent handshake response
> 2012-08-07 11:56:48.205670 [DEBUG] rtmp.c:727 Done with handshake
> 2012-08-07 11:56:48.205670 [DEBUG] rtmp.c:892 [chunk_stream=3 type=0x14
> ts=0 stream_id=0x0] len=331
> 2012-08-07 11:56:48.205670 [DEBUG] rtmp.c:170 [amfnumber=3] Got INVOKE
> for connect
> 2012-08-07 11:56:48.205670 [DEBUG] rtmp.c:566 [amfnumber=2 type=0x1
> stream_id=0x0] len=4
> 2012-08-07 11:56:48.205670 [DEBUG] rtmp.c:566 [amfnumber=2 type=0x5
> stream_id=0x0] len=4
> 2012-08-07 11:56:48.205670 [DEBUG] rtmp.c:566 [amfnumber=2 type=0x6
> stream_id=0x0] len=5
> 2012-08-07 11:56:48.205670 [DEBUG] rtmp.c:566 [amfnumber=2 type=0x4
> stream_id=0x0] len=6
> 2012-08-07 11:56:48.205670 [DEBUG] rtmp.c:566 [amfnumber=3 type=0x14
> stream_id=0x0] len=201
> 2012-08-07 11:56:48.205670 [DEBUG] rtmp.c:566 [amfnumber=3 type=0x14
> stream_id=0x0] len=61
> 2012-08-07 11:56:48.205670 [NOTICE] rtmp_sig.c:121 Sent connect reply
> 2012-08-07 11:56:48.215667 [DEBUG] rtmp.c:892 [chunk_stream=2 type=0x5
> ts=11917881 stream_id=0x0] len=4
> 2012-08-07 11:56:48.215667 [DEBUG] rtmp.c:945 Set window size: 131072 bytes
> 
> Ngrep on the traffic shows the following last packets starting with
> connect: (192.168.178.103 is the PC, 192.168.178.220 is Freeswitch)
> T 192.168.178.103:48179 -> 192.168.178.220:1935 [AP]
> ..............................................................................................K........connect.?..........app.....flashVer...LNX
> 11,2,202,236..swfUrl..,http://my.domain.com/flex/freeswitch.swf..tcUrl...rtmp:/./my.domain.com..fpad....capabilities.@m........audioCodecs.@.........videoCodecs.@o........videoFunction.?.........pageUrl....http://my.domain.com/flex/freeswitch.html#..objectEncoding............
> ##
> T 192.168.178.220:1935 -> 192.168.178.103:48179 [AP]
> ............
> #
> T 192.168.178.220:1935 -> 192.168.178.103:48179 [AP]
> ....
> #
> T 192.168.178.220:1935 -> 192.168.178.103:48179 [AP]
> ............
> #
> T 192.168.178.220:1935 -> 192.168.178.103:48179 [AP]
> ....
> #
> T 192.168.178.220:1935 -> 192.168.178.103:48179 [AP]
> ............
> #
> T 192.168.178.220:1935 -> 192.168.178.103:48179 [AP]
> .....
> #
> T 192.168.178.220:1935 -> 192.168.178.103:48179 [AP]
> ............
> #
> T 192.168.178.220:1935 -> 192.168.178.103:48179 [AP]
> ......
> #
> T 192.168.178.220:1935 -> 192.168.178.103:48179 [AP]
> ............
> ##
> T 192.168.178.103:48179 -> 192.168.178.220:1935 [AP]
> ...9............
> Then traffic stops.
> 
> The packet freeswitch answeres after the connect requests is (from
> wireshark):
> 2.109254    192.168.178.220    192.168.178.220    1935   
> 192.168.178.103    36804    RTMP    Unknown (0x7) | Unknown (0xf3) |
> Unknown (0x21) | Unknown (0x50) | Unknown (0xff)[Packet size limited
> during capture]
> 
> 
> 
> With kind regards
> Peter
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> Join Us At ClueCon - Aug 7-9, 2012
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


-- 

Un cordial saludo / Best regards, 

 _________________________

António Silva

E-mail:asilva at wirelessmundi.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120808/3b8bcae7/attachment.html 


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