Rework paragraph about streamless tracks and move to the end

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2024-03-13 10:32:28 +01:00
parent d6d3c50729
commit 671685e330
No known key found for this signature in database
GPG key ID: 29A48C1F03620416

View file

@ -189,17 +189,14 @@ If an incoming stream is not described in `sdp_stream_metadata` and
a `purpose` of an unknown type (i.e. not `m.usermedia` or `m.screenshare`), it a `purpose` of an unknown type (i.e. not `m.usermedia` or `m.screenshare`), it
should be ignored. should be ignored.
Clients implementing this specification will ignore any streamless tracks. Note
that in the JavaScript WebRTC API, this means `addTrack()` must be passed two
parameters: a track and a stream, not just a track, and in a video call the
stream must be the same for both audio and video track.
For backwards compatibility, if `sdp_stream_metadata` is not present in the For backwards compatibility, if `sdp_stream_metadata` is not present in the
initial [`m.call.invite`](/client-server-api/#mcallinvite) or [`m.call.answer`](/client-server-api/#mcallanswer) initial [`m.call.invite`](/client-server-api/#mcallinvite) or [`m.call.answer`](/client-server-api/#mcallanswer)
event sent by the other party, the client should ignore any new incoming streams event sent by the other party, the client should ignore any new incoming streams
(i.e. it should use the first one) and it shouldn't send more than one stream (i.e. it should use the first one) and it shouldn't send more than one stream
(i.e. clients cannot send a video feed and a screenshare at the same time). (i.e. clients cannot send a video feed and a screenshare at the same time).
Clients implementing this specification should ignore any streamless tracks.
##### Invitees ##### Invitees
The `invitee` field should be added whenever the call is intended for one The `invitee` field should be added whenever the call is intended for one
specific user, and should be set to the Matrix user ID of that user. Invites specific user, and should be set to the Matrix user ID of that user. Invites