-
Notifications
You must be signed in to change notification settings - Fork 19
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
Specify upper limit to playoutDelayHint #11
Comments
Starting lower is the safer because if we ever want to increase the maximum then it won't break existing implementations that relying on that behavior. What error type would be appropriate if user sets value beyond maximum allowed one? @jan-ivar what do you think about 4 seconds as the maximum value? |
In webrtc-pc we use RangeError and InvalidModificationError. I guess if it's a hardcoded limit, RangeError makes sense, unless there are historical reasons for preferring one exception over another. |
Per discussions at #8, it would be good for specificity, interoperability and testability if we had an explicit upper limit to the hint. We don't want this API to be a way to buffer data for 10 minutes for example.
The text was updated successfully, but these errors were encountered: