Is is possible to receive both video and audio from another peer if the peer who called createOffer()
only allowed audio when requested via getUserMedia()
?
Explanation by scenario:
- Alice connects to a signalling server, and when
getUserMedia()
is called, chooses to share both video and audio. - Bob connects to the signalling server, and when
getUserMedia()
is called, only shares audio. - As Bob is the last to party, Bob creates the peer connection offer via
RTCPeerConnection.createOffer()
. He shares hislocalDescription
which contains SDP data that does not mention video. - The resultant connection is audio-only as the SDP data only contained audio-related information.
Can an offer be created that asks to receive video data without sharing it?
Aucun commentaire:
Enregistrer un commentaire