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@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@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@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@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@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@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@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@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
https://freeswitch.com