Home > sip.js > SessionManagerMedia > constraints
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?: SessionManagerMediaConstraints;
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.