[Freeswitch-dev] Verto receive video only?

Chad Phillips chad at apartmentlines.com
Thu Jun 7 18:12:43 UTC 2018


With a bit more digging, I discovered it is in fact possible to switch off
inbound audio or video using the current JS code.

‘useVideo’ can be set to false when calling verto.newCall() to disable
inbound video.

‘useSpeak’ can be set to ‘none’ when init’ing a Verto object or calling
verto.newCall() to disable inbound audio.

Also pushed a changed to the online Verto docs at
https://github.com/EvoluxBR/verto-docs. Hopefully that will help others
struggling with the same :)

On Wed, Jun 6, 2018 at 9:05 PM, Felipe Pasa <felipe at gnovit.com> wrote:

> In the SIP / SDP protocol (mod_sofia) you can modify the session using
> re-Invite, disable or enable sound and video.
>
> Em qui, 7 de jun de 2018 00:25, Chad Phillips <chad at apartmentlines.com>
> escreveu:
>
>> Would you accept a PR for it? Should be fairly straightforward, just need
>> to pass the constraints down to the peer connection object in
>> jquery.FSRTC.js…
>>
>> On Wed, Jun 6, 2018 at 3:02 PM, Michael Jerris <mike at jerris.com> wrote:
>>
>>> Pretty sure there is no way to do that on the js side right now.
>>>
>>> > On Jun 6, 2018, at 5:35 PM, Chad Phillips <chad at apartmentlines.com>
>>> wrote:
>>> >
>>> > I poked around the Verto JS code (currently jquery.FSRTC.js and
>>> jquery.verto.js as far as I can tell), and it doesn’t seem there’s any way
>>> to pass offerToReceiveAudio/offerToReceiveVideo as a constraint when
>>> calling createOffer() on the peer connection.
>>> >
>>> > I’m asking because I’d like to receive video only instead of both
>>> audio and video.
>>> >
>>> > Is there some magic incantation I’m missing? Or should I file a PR to
>>> add this capability?
>>>
>>>
>>> ____________________________________________________________
>>> _____________
>>> 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-dev mailing list
>>> FreeSWITCH-dev at lists.freeswitch.org
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>>> https://freeswitch.com
>>
>>
>> _________________________________________________________________________
>> 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-dev mailing list
>> FreeSWITCH-dev at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
>> https://freeswitch.com
>
>
> _________________________________________________________________________
> 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-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> https://freeswitch.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20180607/a6ce0672/attachment.html>


More information about the FreeSWITCH-dev mailing list