mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-04-29 05:44:10 +02:00
Add spec requiring tracks to be within streams.
This commit is contained in:
parent
4b1b6ddad6
commit
ef15055e0a
|
|
@ -54,6 +54,19 @@ Or a rejected call:
|
||||||
|
|
||||||
Calls are negotiated according to the WebRTC specification.
|
Calls are negotiated according to the WebRTC specification.
|
||||||
|
|
||||||
|
Clients are expected to send one stream with one track of kind `audio` (creating a
|
||||||
|
voice call). They can optionally send a second track in the same stream of kind
|
||||||
|
`video` (creating a video call).
|
||||||
|
|
||||||
|
Clients implementing this specification use the first stream and 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.
|
||||||
|
|
||||||
|
A client may send other streams and tracks but the behaviour of the other party
|
||||||
|
with respect to presenting such streams and tracks is undefined.
|
||||||
|
|
||||||
##### Glare
|
##### Glare
|
||||||
|
|
||||||
"Glare" is a problem which occurs when two users call each other at
|
"Glare" is a problem which occurs when two users call each other at
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue