adv.stopLocalStream()

wrtc.adv.stopLocalStream() is used to terminate primary access to unit's camera and microphone.

Usually a local media stream is connected to unit's camera and microphone as soon as wrtc object is initialised. Sometimes however you might want to turn that media stream off, eg to avoid camera LED being constantly lit even if you are making no calls. wrtc.adv.stopLocalStream() will turn off camera access. It can later be regained again by calling wrtc.changeMedia().

Arguments

mic_too - (optional):

Returns

Nothing.

See Also

ixnx/wrtc/js/api/wrtc/adv.stoplocalstream.txt · Last modified: by tibor
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0