Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
What does RTCRtpEncodingParameters.active=false in a RtpReceiver? #355
If I call
If so, the spec should clarify it better.
This should be placed into a different issue, but maybe I miss something:
Isn't this to hard for a common usage in which we just want to switch on/off (pause/resume) media sending? Or is this feature (pause/resume sending) supposed to be handled within the
Yes, to stop sending an encoding, call send() with parameters.encodings[j].active set to "false". Setting active to "true" and calling send() again will start sending again.
In WebRTC 1.0, getParameters() is used to retrieve RTCRtpParameters, and then setParameters() can be used with active set to "false" or "true" to accomplish the same thing.