Discussion:
[Freeswitch-users] RTCP and WebRTC
Jon Lederman
2015-05-23 20:57:35 UTC
Permalink
Hi,

I am trying to use WebRTC with Freeswitch. WebRTC relies upon RTCP for bandwidth estimation. I have tried to get forwarding of RTCP packets working with Freeswitch to make this work.

However, a more fundamental issue seems to be occurring in that Freeswitch is not able to process the RTCP messages arriving from the WebRTC client. I have traced the problem to the function process_rtcp_frame in switch_rtp.c. In that function, the version of RTP appearing in the RTCP packets is 0, not 2, which is required and the packets are never processed (i.e., no fresh frames). I am not sure what the cause of this is? Could it be related to muxing of RTP/RTCP, which webrtc utilizes? Any thoughts on resolving this would be greatly appreciated.

Thanks.

-Jon
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
***@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-***@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Anthony Minessale
2015-05-24 05:18:28 UTC
Permalink
Check out fs_video2 branch or wait for 1.6 merge later this week. All of
that code is drasticly different now.
Post by Jon Lederman
Hi,
I am trying to use WebRTC with Freeswitch. WebRTC relies upon RTCP for
bandwidth estimation. I have tried to get forwarding of RTCP packets
working with Freeswitch to make this work.
However, a more fundamental issue seems to be occurring in that Freeswitch
is not able to process the RTCP messages arriving from the WebRTC client.
I have traced the problem to the function process_rtcp_frame in
switch_rtp.c. In that function, the version of RTP appearing in the RTCP
packets is 0, not 2, which is required and the packets are never processed
(i.e., no fresh frames). I am not sure what the cause of this is? Could
it be related to muxing of RTP/RTCP, which webrtc utilizes? Any thoughts
on resolving this would be greatly appreciated.
Thanks.
-Jon
_________________________________________________________________________
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬

☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞
http://twitter.com/FreeSWITCH
☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+
<http://freeswitch.org/g+>*

ClueCon Weekly Development Call
☎ sip:***@conference.freeswitch.org ☎ +19193869900



Loading...