[Freeswitch-users] video on conference with PC and MAC browser works but fail with iPhone safari via webrtc

薛光宏 albert.hsueh at cloudigit.com
Wed Jul 25 02:13:15 UTC 2018


Hi All,

Finally, we got one set of configuration after many testing. This can
resolve our issue.
We tried many configuration and thought key setting is as follows

conference.conf.xml
<param name="video-mode" value="mux"/>
<param name="conference-flags"
value="rfc-4579|livearray-sync|minimize-video-encoding"/>
<param name="video-fps" value="25"/>

vars.xml
<X-PRE-PROCESS cmd="set"
data="global_codec_prefs=OPUS,G722,PCMU,PCMA,GSM,H264,VP8"/>
<X-PRE-PROCESS cmd="set"
data="outbound_codec_prefs=OPUS,G722,PCMU,PCMA,GSM,H264,VP8"/>
<X-PRE-PROCESS cmd="set" data="media_mix_inbound_outbound_codecs=true"/>

external.xml
<param name="inbound-codec-negotiation" value="greedy"/>
<param name="inbound-late-negotiation" value="false"/>
<param name="inbound-zrtp-passthru" value="false"/>

For reference. Thanks.

Sincerely
Albert

2018-07-13 16:32 GMT+08:00 薛光宏 <albert.hsueh at cloudigit.com>:

> Hi All,
>
> We had an issue that no video on conference if iPhone connect FreeSWITCH
> using 4G network with ipv6 support.
> Finally, this issue is resolved and now we have a new test case with
> video-mod=mux.
>
> case 1
> iPhone+wifi(ipv4) no video when a conference is created (fs_cli output
> <https://pastebin.com/VXYbxvJz>)
>
> case 2
> iPhone+4g(ipv6) video/audio is ok when a conference is created (fs_cli
> output <https://pastebin.com/3qk4xJLB>)
>
> case 3
> PC/MAC+wifi(ipv4) video/audio is ok when a conference is created(
> fs_cli_output <https://pastebin.com/XNbcH4KA>)
>
> iPhone and PC/MAC use the same wifi environment.
>
> We have no idea why it's different between iPhone wifi and iPhone 4g.
> Does anyone have opinion? Thanks in advance.
>
> By the way, we see error message below if we wait for a long time in case
> 1. We are not sure what that means.
> 2018-07-13 15:02:39.364171 [ERR] switch_rtp.c:834 No video stun for a long
> time!
> 2018-07-13 15:02:39.464176 [ERR] switch_rtp.c:834 No audio stun for a long
> time!
>
>
>
> 2018-07-02 16:34 GMT+08:00 薛光宏 <albert.hsueh at cloudigit.com>:
>
>> Hi,
>>
>> Thank you for reply.
>>
>> We tried this before
>> <param name="video-mode" value="mux"/>
>>
>> but it still can not work. Is any parameter also to be modified with
>> video-mode=mux?
>>
>> We also tried this
>> <param name="video-fps" value="25"/>
>>
>> Someone suggested this value on iOS but also failed in our case.
>>
>> Sincerely
>> Albert
>>
>> 2018-06-29 10:19 GMT+08:00 Alexey Sibyakin <alex at freeswitch.com>:
>>
>>> Hi,
>>>
>>> try mux instead of transcode
>>>
>>> Regards,
>>>
>>> Alex
>>>
>>> On Tue, Jun 26, 2018 at 12:47 PM, 薛光宏 <albert.hsueh at cloudigit.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> here is our simple architecture
>>>> <client A>---<FreeSWITCH>
>>>> <client B>----/
>>>>
>>>> - client A and B are both registered on FreeSWITCH via websocket (using
>>>> sipjs 0.9.2)
>>>> - we enable video-mode= transcode and load mod_av on FreeSWITCH.
>>>> - if client A uses chrome on PC and client B use safari on *MAC*, they
>>>> can see each other, talk to each other in the same conference.
>>>> - if client A uses chrome on PC and client B use safari on *iPhone*(8plus,
>>>> iOS 11.4), they can NOT see each other, talk to each other in the same
>>>> conference.
>>>>
>>>> I though safari on MAC works, then safari on iPhone should work, but
>>>> not.
>>>> Is it possible to fix that with changing configuration of FreeSWITCH?
>>>> or any suggestion?
>>>>
>>>> Thanks in advance.
>>>>
>>>> FreeSWITCH Version 1.6.20
>>>> Ubuntu Server Ubuntu 14.04.1 LTS 64bit
>>>> libav-11.4 or libav-12
>>>>
>>>> See below configurations:
>>>> 1. enable video-mode= transcode
>>>> <param name="conference-flags" value="transcode-video|minimiz
>>>> e-video-encoding"/>
>>>> <param name="video-mode" value="transcode"/>
>>>>
>>>> 2.enable VP8/H264 codec support
>>>> <X-PRE-PROCESS cmd="set" data="global_codec_prefs=PCMU,
>>>> PCMA,VP8,H264"/>
>>>> <X-PRE-PROCESS cmd="set" data="outbound_codec_prefs=PCM
>>>> U,PCMA,VP8,H264"/>
>>>>
>>>> 3.enable mod_av and disable mod_h26x
>>>> <load module="mod_av"/>
>>>> <!--<load module="mod_h26x"/>-->
>>>>
>>>> ____________________________________________________________
>>>> _____________
>>>> Professional FreeSWITCH Services
>>>> sales at freeswitch.com
>>>> https://freeswitch.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> https://freeswitch.com/oss
>>>> https://freeswitch.org/confluence
>>>> https://cluecon.com
>>>>
>>>> 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/free
>>>> switch-users
>>>> https://freeswitch.com
>>>>
>>>
>>>
>>>
>>> --
>>> Alex Sibyakin | Support Engineer
>>> FreeSWITCH Solutions | 17345 Civic Drive #2531 Brookfield, WI 53045
>>> <https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g>
>>> Email: alex at freeswitch.com
>>> Website: https://www.FreeSWITCH.com <https://www.freeswitch.com/>
>>> Need commercial support? Contact sales at freeswitch.com for details.
>>>
>>>
>>> ____________________________________________________________
>>> _____________
>>> Professional FreeSWITCH Services
>>> sales at freeswitch.com
>>> https://freeswitch.com
>>>
>>> Official FreeSWITCH Sites
>>> https://freeswitch.com/oss
>>> https://freeswitch.org/confluence
>>> https://cluecon.com
>>>
>>> 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
>>> https://freeswitch.com
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180725/eb9445c1/attachment-0001.html>


More information about the FreeSWITCH-users mailing list