Skip to content Skip to sidebar Skip to footer

Starting Audio Call Only In Simplewebrtc

I am using This jQuery plugin for WebRtc I want to start audio call only but i can't see any function for this. I am using following code with autoRequestMedia:false :- webrtc =

Solution 1:

You can pass media: { audio: true, video: false } to the constructor of webrtc.

try this:-

webrtc=newSimpleWebRTC({localVideoEl:'local-videos-container',remoteVideosEl:'videos-container',autoRequestMedia:false,url:'https://192.168.1.11:2001/',media: { audio:true, video:false }
 );

Post a Comment for "Starting Audio Call Only In Simplewebrtc"