New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RTCRtpReceiver.getParameters() needed #365
Comments
Why do we need? is supposed to be identical to what was specified in the send so it would just return what was sent in previously... the danger in adding is the expectation that parameters start getting filled in, like RTP SSRCs, etc... and gathering that would make things async potentially. Unless it just returns what we passed in and then I question its value... |
In short: IMHO we need a way to enable/disable receiving media in the track. Maybe a setter |
Change flag in parameters encodings local copy, call send() again with updated structure... ? this is more a way to keep the encodings stable so objects don't get created destroyed while being able to turn on / off a particular encoding. |
That requires that the user holds the That's why a single |
To be more clear: I wouldn't like that my JavaScript ORTC client implementation needs to hold datas such as: this.rtpReceiversStuff = {
receiver1: {
rtpReceiver : INSTANCE_OF_RTCRtpReceiver,
rtpParameters : object
},
receiver2: {
[...]
}
}; |
While I may agree with the negative to rtpSender.pause();
rtpSender.resume(); |
Related to #355:
If ORTC does not provide such a
getParameters()
method, then switching fromactive:true
toactive:false
and vice-versa becomes very hard given that the user/app should keep the rtp parameters object previously passed toreceive()
in order to switch theactive
flag.The text was updated successfully, but these errors were encountered: