mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
Update Protocol.md
Fix indentation typos
This commit is contained in:
parent
d687ff3d91
commit
96e4f39fd8
1 changed files with 3 additions and 3 deletions
|
@ -48,10 +48,10 @@ This protocol builds upon https://github.com/shanet/WebRTC-Example/
|
||||||
* When a new peer joins the room, you will receive a `ROOM_PEER_JOINED <peer_id>` message
|
* When a new peer joins the room, you will receive a `ROOM_PEER_JOINED <peer_id>` message
|
||||||
- For the purposes of convention and to avoid overwhelming newly-joined peers, offers must only be sent by the newly-joined peer
|
- For the purposes of convention and to avoid overwhelming newly-joined peers, offers must only be sent by the newly-joined peer
|
||||||
* When a peer leaves the room, you will receive a `ROOM_PEER_LEFT <peer_id>` message
|
* When a peer leaves the room, you will receive a `ROOM_PEER_LEFT <peer_id>` message
|
||||||
- You should stop sending/receiving media from/to this peer
|
- You should stop sending/receiving media from/to this peer
|
||||||
* To get a list of all peers currently in the room, send `ROOM_PEER_LIST` and receive `ROOM_PEER_LIST <peer1_id> ...`
|
* To get a list of all peers currently in the room, send `ROOM_PEER_LIST` and receive `ROOM_PEER_LIST <peer1_id> ...`
|
||||||
- This list will never contain your own `<uid>`
|
- This list will never contain your own `<uid>`
|
||||||
- In theory you should never need to use this since you are guaranteed to receive JOINED and LEFT messages for all peers in a room
|
- In theory you should never need to use this since you are guaranteed to receive JOINED and LEFT messages for all peers in a room
|
||||||
* You may stay connected to a room for as long as you like
|
* You may stay connected to a room for as long as you like
|
||||||
|
|
||||||
### Negotiation
|
### Negotiation
|
||||||
|
|
Loading…
Reference in a new issue