Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 712 Bytes

sip.js.simpleusermedia.constraints.md

File metadata and controls

18 lines (10 loc) · 712 Bytes

Home > sip.js > SimpleUserMedia > constraints

SimpleUserMedia.constraints property

Offer/Answer constraints determine if audio and/or video are utilized. If not specified, only audio is utilized (audio is true, video is false).

Signature:

constraints?: SimpleUserMediaConstraints;

Remarks

Constraints are used when creating local media stream. If undefined, defaults to audio true and video false. If audio and video are false, media stream will have no tracks.