You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a situation today where we ran out of resources to create transceivers, resulting in an OOM situation.
This is a rather ugly way of signalling that the JS is doing something nonsensible. It would be nicer if we could throw an error when it's clear that the resource consumption is getting out of hand.
But the addTransceiver() steps currently allow for no such error.
Suggest adding a new step after step 7:
If the subsequent operation steps cannot be completed due to internal issues such as resource exhaustion, release all allocated resources and throw an OperationError.
Similar steps should probably be added to AddTrack too, and possibly even AddIceCandidate. The "Set a session description" function already has a catch-all error step (4.4.7).
The text was updated successfully, but these errors were encountered:
I had a situation today where we ran out of resources to create transceivers, resulting in an OOM situation.
This is a rather ugly way of signalling that the JS is doing something nonsensible. It would be nicer if we could throw an error when it's clear that the resource consumption is getting out of hand.
But the addTransceiver() steps currently allow for no such error.
Suggest adding a new step after step 7:
If the subsequent operation steps cannot be completed due to internal issues such as resource exhaustion, release all allocated resources and throw an OperationError.
Similar steps should probably be added to AddTrack too, and possibly even AddIceCandidate. The "Set a session description" function already has a catch-all error step (4.4.7).
The text was updated successfully, but these errors were encountered: