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
Let streams be a list of MediaStream objects constructed from the method's remaining arguments, or an empty list if the method was called with a single argument.
The text was updated successfully, but these errors were encountered:
fippo
changed the title
how is addTrack without a stream signalled in the sdp
how is addTrack without a stream signalled in the sdp?
Jul 5, 2017
If we used the same random id for both the stream and the track in this case, then the remote browser could omit creating a stream in this case.
Unless we care about this edge-case in non-browser end-points, we might not even need to involve ietf. Unless there's something in ietf that says stream ids and track ids are in the same namespace?
"-" is used in the "a=msid" to represent "no stream". So I don't think this is an issue. This was a change from version 15 to 16, and is described in section 3.
from here in the infamous #1128 issue:
addTrack allows adding a track without a stream
How is this signaled in the SDP? https://tools.ietf.org/html/draft-ietf-mmusic-msid-16#section-2 doesn't allow an empty msid-id
The pragmatic solution is probably to generate a random stream id. This also means that ontrack always has event.streams with a length > 0.
In the steps to create addTrack this would need to be handled here:
The text was updated successfully, but these errors were encountered: