<div dir="ltr">I'd like your input on whether this is an expected behavior of FS. Is FS making a decision on H264 format, or it's just simply picking the first one in the list (supposedly the most preferred codec from caller)? That kinda limits the capabilities and options for the callee (my MCU)...<div><br></div><div><div>Other than using bypass_media, what other options do I have? I hope it's just something obvious that I missed in the config. Currently I have...</div><div>1. Default media mode (proxy and bypass mode off)</div><div>2. Late negotiation = true</div><div>3. inherit_codec=true</div><div>4. disable-transcoding=true</div><div><br></div><div>Thanks!</div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 3, 2015 at 4:21 PM, Cinthia Leung <span dir="ltr"><<a href="mailto:cinthia721@gmail.com" target="_blank">cinthia721@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If using "proxy mode" is the same as using "pass through" codecs, is it also true that FS doesn't touch the SDP of those pass through codecs?<div><br></div><div>The issue I have is FS is stripping extra H264 streams. Here's a snippet of such SDP from Polycom RealPresence iPhone app:</div><div><div> </div><div> m=video 51918 RTP/AVP 111 109 110 106 105 116</div><div> a=sendrecv</div><div> a=rtcp-fb:* nack pli</div><div> a=rtcp-fb:* ccm fir</div><div> a=rtcp-fb:* ccm tmmbr</div><div> a=rtpmap:111 H264/90000</div><div> a=fmtp:111 profile-level-id=64001f; packetization-mode=1; max-br=20010; sar=13</div><div> a=rtpmap:109 H264/90000</div><div> a=fmtp:109 profile-level-id=428015; max-mbps=36000; max-fs=1280; max-br=20010; sar=13</div><div> a=rtpmap:110 H264/90000</div><div> a=fmtp:110 profile-level-id=428015; packetization-mode=1; max-mbps=36000; max-fs=1280; max-br=20010; sar=13</div><div> a=rtpmap:106 H264-SVC/90000</div><div> a=fmtp:106 profile-level-id=560015; packetization-mode=1; max-mbps=36000; max-fs=1280; max-br=20010; sar=13</div><div> a=rtpmap:105 H264-SVC/90000</div><div> a=fmtp:105 profile-level-id=53e015; packetization-mode=1; max-mbps=36000; max-fs=1280; max-br=20010; sar=13</div><div> a=rtpmap:116 vnd.polycom.lpr/9000</div><div> a=fmtp:116 V=2;minPP=0;PP=150;RS=52;RP=10;PS=1400</div><div> m=application 51102 UDP/BFCP *</div><div> a=sendrecv</div><div> a=setup:actpass</div><div> a=connection:new</div><div> a=floorctrl:c-s</div><div> m=application 51006 RTP/AVP 100</div><div> a=sendrecv</div><div> a=rtpmap:100 H224/4800</div></div><div><br></div><div>And FS (default mode) turned this into...</div><div><br></div><div><div> m=video 54524 RTP/AVP 111</div><div> a=rtpmap:111 H264/90000</div><div> a=fmtp:111 profile-level-id=64001f; packetization-mode=1; max-br=20010; sar=13</div></div><div><br></div><div>I would like my external MCU to handle this codec negotiation. Is there anything in FS that I can configure to achieve this?</div><div><br></div><div>(I'd also like to see what can be done for BFCP as well!)</div><div><br></div><div>Thanks again!</div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 3, 2015 at 4:01 PM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">There is no difference between using proxy media and pass-through codecs. Its the same thing basically.<div><br></div></div><div class="gmail_extra"><div><div><br><div class="gmail_quote">On Tue, Feb 3, 2015 at 2:20 PM, Ken Rice <span dir="ltr"><<a href="mailto:krice@freeswitch.org" target="_blank">krice@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<font face="Monaco, Courier New"><span style="font-size:11pt">Topology Hiding means to you hiding everything behind something... In this case FreeSWITCH...<br>
<br>
Proxy Media mode is for special cases where you are still proxying the media with FreeSWITCH that is a legacy feature but is not even needed anymore. Just use FS in the default modes and this will get you Topology Hiding.<br>
<br>
If you don’t want topology hiding you can use bypass media where the media does not go thru FreeSWITCH, but you lose a pile of features by doing this and you are effectively NOT doing a full topology hide at this point. <br><div><div>
<br>
<br>
<br>
<br>
On 2/3/15, 2:01 PM, "Cindy Leung" <<a href="http://cinthia721@gmail.com" target="_blank">cinthia721@gmail.com</a>> wrote:<br>
<br>
</div></div></span></font><blockquote><div><div><font face="Monaco, Courier New"><span style="font-size:11pt">Thanks for your input.<br>
Our main goal is to do topology hiding. We don’t want FS to touch the SDP other than the c= line and we don't need any FS media features.<br>
Regardless, I should see video packets being passed on to the other end through FS in proxy mode, no?<br>
<br>
<br>
</span></font><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt">On Feb 3, 2015, at 1:32 PM, Michael Jerris <<a href="http://mike@jerris.com" target="_blank">mike@jerris.com</a>> wrote:<br>
<br>
Proxy media mode is almost certainly NOT what you want to use. There are very few scenarios where its even useful.<br>
<br>
<br>
</span></font><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt">On Feb 2, 2015, at 6:38 PM, Cinthia Leung <<a href="http://cinthia721@gmail.com" target="_blank">cinthia721@gmail.com</a>> wrote:<br>
<br>
I encountered something odd as I went on with more experiments.<br>
<br>
<br>
<br>
I’m finally able to get video and audio to work, sort of, by not enabling either inbound-proxy-media or inbound-bypass-media. My understanding is that FS is now in the middle negotiating codec, which is what we don’t want…<br>
<br>
<br>
<br>
global_codec_prefs=G722,PCMU,PCMA,H264<br>
<br>
<br>
<br>
It seems really strange that this works but proxy-media mode doesn’t.<br>
<br>
<br>
<br>
All thoughts welcome. Thanks.<br>
<br>
<br>
On Fri, Jan 30, 2015 at 8:28 PM, Cinthia Leung <<a href="http://cinthia721@gmail.com" target="_blank">cinthia721@gmail.com</a>> wrote:<br>
</span></font><blockquote><font face="Monaco, Courier New"><span style="font-size:11pt">Hi there,<br>
<br>
I'm trying to setup FS and proxy media. Here's my setup.<br>
Kamailio SBC <-> FS <-> MCU.<br>
>show codec sees H.264 as passthru<br>
late-negotiation = true<br>
<br>
Audio is ok but I get no video. Tshark capture shows that video streams enter FS from both Kamailio and MCU. FS was just not forwarding video packets to the other side. Codec is H.264. Tested with FS Version 1.14.15 and 1.5.15b+git~20150130T165344Z~4ed7b4811a~64bit<br>
<br>
Bypass media works fine. Being able to proxy media is a requirement for us.<br>
<br>
I hope it's just something obvious that I missed. I'll provide logs if needed. Thanks in advance!<br>
<br>
<br>
Cindy<br>
</span></font></blockquote><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
_______<br>
</span></font></blockquote><font face="Monaco, Courier New"><span style="font-size:11pt">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services: <br>
<a href="http://consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</span></font></blockquote></div></div><font face="Monaco, Courier New"><span style="font-size:11pt"><br>
<br>
<hr align="CENTER" size="3" width="95%"></span></font><span><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services: <br>
<a href="http://consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</span></font></font></span></blockquote><span><font color="#888888"><font><font face="Consolas, Courier New, Courier"><span style="font-size:10pt"><br>
</span></font></font><font face="Monaco, Courier New"><span style="font-size:11pt">-- <br>
Ken<br>
<font color="#0000FF"><u><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
</u></font><a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
Twitter: @FreeSWITCH<br>
<br>
</span></font>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div></div><div><div dir="ltr">Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call <br></div><div>☎ <a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> ☎ <a href="tel:%2B19193869900" value="+19193869900" target="_blank">+19193869900</a> </div><div><br></div></div></div></div></div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>