Freeswitch basic VP8 passthrough
Hi guys, I am trying to setup a simple WebRTC video conference using VP8 with mod_conference, while audio conferencing works fine, I am not able to setup a video conference using clients like SIPjs, basically, I am opening 2 clients and expect to see video streaming to each side. I did the following: 1. Added the following config to my conference profile in conference.conf.xml: <param name="conference-flags" value="video-bridge"/> <param name="member-flags" value="video-bridge"/> 2. Added VP8 to vars.xml: <X-PRE-PROCESS cmd="set" data="global_codec_prefs=iSAC@16000h ,VP8,OPUS,G722,PCMU,PCMA,GSM"/> Any idea? P.S The client seem to pass the video params correctly in the SDP, but Freeswitch still responses with the following SDP: v=0 o=FreeSWITCH 1428032845 1428032846 IN IP4 X.X.X.X s=FreeSWITCH c=IN IP4 52.1.148.244 t=0 0 a=msid-semantic: WMS QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD m=audio 23118 UDP/TLS/RTP/SAVPF 111 126 106 a=rtpmap:111 opus/48000/2 a=fmtp:111 useinbandfec=1; minptime=10 a=rtpmap:126 telephone-event/8000 a=rtpmap:106 CN/8000 a=ptime:20 a=fingerprint:sha-256 83:F4:57:6D:F9:40:C7:E8:28:6D:59:AE:5F:08:23:3E:9E:17:1E:2F:D8:A9:D5:E7:DB:13:92:B5:DE:4A:66:CA a=rtcp-mux a=rtcp:23118 IN IP4 X.X.X.X a=ssrc:3173617819 cname:I1MkHHGaasQf3InN a=ssrc:3173617819 msid:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a0 a=ssrc:3173617819 mslabel:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a=ssrc:3173617819 label:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKDa0 a=ice-ufrag:CzeU8A9uHL6uVHXu a=ice-pwd:zzF67b78uOeomr1PR6zQwzb4 a=candidate:8368394426 1 udp 659136 X.X.X.X 23118 typ host generation 0 m=video 0 UDP/TLS/RTP/SAVPF 19 Thanks! Adam
Sorry about that... I assumed that if mod_vp8 is uncommented in conf/autoload_configs/modules.conf.xml then it's actually compiled... After looking at the src I compiled I see that mod_vp8 is commented out, I will compile it and try again. Thanks! On 3 April 2015 at 13:14, Adam Ben-Ayoun <adam.ben.ayoun1@gmail.com> wrote:
Hi guys,
I am trying to setup a simple WebRTC video conference using VP8 with mod_conference, while audio conferencing works fine, I am not able to setup a video conference using clients like SIPjs, basically, I am opening 2 clients and expect to see video streaming to each side.
I did the following: 1. Added the following config to my conference profile in conference.conf.xml: <param name="conference-flags" value="video-bridge"/> <param name="member-flags" value="video-bridge"/>
2. Added VP8 to vars.xml: <X-PRE-PROCESS cmd="set" data="global_codec_prefs=iSAC@16000h ,VP8,OPUS,G722,PCMU,PCMA,GSM"/>
Any idea?
P.S The client seem to pass the video params correctly in the SDP, but Freeswitch still responses with the following SDP: v=0 o=FreeSWITCH 1428032845 1428032846 IN IP4 X.X.X.X s=FreeSWITCH c=IN IP4 52.1.148.244 t=0 0 a=msid-semantic: WMS QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD m=audio 23118 UDP/TLS/RTP/SAVPF 111 126 106 a=rtpmap:111 opus/48000/2 a=fmtp:111 useinbandfec=1; minptime=10 a=rtpmap:126 telephone-event/8000 a=rtpmap:106 CN/8000 a=ptime:20 a=fingerprint:sha-256 83:F4:57:6D:F9:40:C7:E8:28:6D:59:AE:5F:08:23:3E:9E:17:1E:2F:D8:A9:D5:E7:DB:13:92:B5:DE:4A:66:CA a=rtcp-mux a=rtcp:23118 IN IP4 X.X.X.X a=ssrc:3173617819 cname:I1MkHHGaasQf3InN a=ssrc:3173617819 msid:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a0 a=ssrc:3173617819 mslabel:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a=ssrc:3173617819 label:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKDa0 a=ice-ufrag:CzeU8A9uHL6uVHXu a=ice-pwd:zzF67b78uOeomr1PR6zQwzb4 a=candidate:8368394426 1 udp 659136 X.X.X.X 23118 typ host generation 0 m=video 0 UDP/TLS/RTP/SAVPF 19
Thanks! Adam
I got this working with 2 clients. My goal is to broadcast from one client to all the rest. This seems to work fine with 2 clients, meaning, one client gets video from the other client, now, when I am adding a 3rd client, it doesn't get video (verified with chrome://webrtc-internals). Any idea? On 3 April 2015 at 15:23, Adam Ben-Ayoun <adam.ben.ayoun1@gmail.com> wrote:
Sorry about that... I assumed that if mod_vp8 is uncommented in conf/autoload_configs/modules.conf.xml then it's actually compiled... After looking at the src I compiled I see that mod_vp8 is commented out, I will compile it and try again. Thanks!
On 3 April 2015 at 13:14, Adam Ben-Ayoun <adam.ben.ayoun1@gmail.com> wrote:
Hi guys,
I am trying to setup a simple WebRTC video conference using VP8 with mod_conference, while audio conferencing works fine, I am not able to setup a video conference using clients like SIPjs, basically, I am opening 2 clients and expect to see video streaming to each side.
I did the following: 1. Added the following config to my conference profile in conference.conf.xml: <param name="conference-flags" value="video-bridge"/> <param name="member-flags" value="video-bridge"/>
2. Added VP8 to vars.xml: <X-PRE-PROCESS cmd="set" data="global_codec_prefs=iSAC@16000h ,VP8,OPUS,G722,PCMU,PCMA,GSM"/>
Any idea?
P.S The client seem to pass the video params correctly in the SDP, but Freeswitch still responses with the following SDP: v=0 o=FreeSWITCH 1428032845 1428032846 IN IP4 X.X.X.X s=FreeSWITCH c=IN IP4 52.1.148.244 t=0 0 a=msid-semantic: WMS QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD m=audio 23118 UDP/TLS/RTP/SAVPF 111 126 106 a=rtpmap:111 opus/48000/2 a=fmtp:111 useinbandfec=1; minptime=10 a=rtpmap:126 telephone-event/8000 a=rtpmap:106 CN/8000 a=ptime:20 a=fingerprint:sha-256 83:F4:57:6D:F9:40:C7:E8:28:6D:59:AE:5F:08:23:3E:9E:17:1E:2F:D8:A9:D5:E7:DB:13:92:B5:DE:4A:66:CA a=rtcp-mux a=rtcp:23118 IN IP4 X.X.X.X a=ssrc:3173617819 cname:I1MkHHGaasQf3InN a=ssrc:3173617819 msid:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a0 a=ssrc:3173617819 mslabel:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a=ssrc:3173617819 label:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKDa0 a=ice-ufrag:CzeU8A9uHL6uVHXu a=ice-pwd:zzF67b78uOeomr1PR6zQwzb4 a=candidate:8368394426 1 udp 659136 X.X.X.X 23118 typ host generation 0 m=video 0 UDP/TLS/RTP/SAVPF 19
Thanks! Adam
check with uuid_debug_media ? On Tue, Apr 7, 2015 at 6:39 PM, Adam Ben-Ayoun <adam.ben.ayoun1@gmail.com> wrote:
I got this working with 2 clients. My goal is to broadcast from one client to all the rest. This seems to work fine with 2 clients, meaning, one client gets video from the other client, now, when I am adding a 3rd client, it doesn't get video (verified with chrome://webrtc-internals). Any idea?
On 3 April 2015 at 15:23, Adam Ben-Ayoun <adam.ben.ayoun1@gmail.com> wrote:
Sorry about that... I assumed that if mod_vp8 is uncommented in conf/autoload_configs/modules.conf.xml then it's actually compiled... After looking at the src I compiled I see that mod_vp8 is commented out, I will compile it and try again. Thanks!
On 3 April 2015 at 13:14, Adam Ben-Ayoun <adam.ben.ayoun1@gmail.com> wrote:
Hi guys,
I am trying to setup a simple WebRTC video conference using VP8 with mod_conference, while audio conferencing works fine, I am not able to setup a video conference using clients like SIPjs, basically, I am opening 2 clients and expect to see video streaming to each side.
I did the following: 1. Added the following config to my conference profile in conference.conf.xml: <param name="conference-flags" value="video-bridge"/> <param name="member-flags" value="video-bridge"/>
2. Added VP8 to vars.xml: <X-PRE-PROCESS cmd="set" data="global_codec_prefs=iSAC@16000h ,VP8,OPUS,G722,PCMU,PCMA,GSM"/>
Any idea?
P.S The client seem to pass the video params correctly in the SDP, but Freeswitch still responses with the following SDP: v=0 o=FreeSWITCH 1428032845 1428032846 IN IP4 X.X.X.X s=FreeSWITCH c=IN IP4 52.1.148.244 t=0 0 a=msid-semantic: WMS QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD m=audio 23118 UDP/TLS/RTP/SAVPF 111 126 106 a=rtpmap:111 opus/48000/2 a=fmtp:111 useinbandfec=1; minptime=10 a=rtpmap:126 telephone-event/8000 a=rtpmap:106 CN/8000 a=ptime:20 a=fingerprint:sha-256 83:F4:57:6D:F9:40:C7:E8:28:6D:59:AE:5F:08:23:3E:9E:17:1E:2F:D8:A9:D5:E7:DB:13:92:B5:DE:4A:66:CA a=rtcp-mux a=rtcp:23118 IN IP4 X.X.X.X a=ssrc:3173617819 cname:I1MkHHGaasQf3InN a=ssrc:3173617819 msid:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a0 a=ssrc:3173617819 mslabel:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKD a=ssrc:3173617819 label:QyrjMP4wDDWQeK1hU3mBsJvovhMMWjKDa0 a=ice-ufrag:CzeU8A9uHL6uVHXu a=ice-pwd:zzF67b78uOeomr1PR6zQwzb4 a=candidate:8368394426 1 udp 659136 X.X.X.X 23118 typ host generation 0 m=video 0 UDP/TLS/RTP/SAVPF 19
Thanks! Adam
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- About: http://about.me/dujinfang Blog: http://www.dujinfang.com Proj: http://www.freeswitch.org.cn
participants (2)
-
Adam Ben-Ayoun
-
Seven Du