Skip to content

Commit 6877dce

Browse files
Fix typos
Co-authored-by: Copilot <[email protected]>
1 parent 08d9f84 commit 6877dce

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

guides/for_developers/fd_sdp.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# WebRTC SDP
22

3-
WebRTC uses SDP offer/answer to negotiate session parameters (numer of audio/video tracks, their directions, codecs, etc.).
3+
WebRTC uses SDP offer/answer to negotiate session parameters (number of audio/video tracks, their directions, codecs, etc.).
44
The way they are exchanged between both sides is not standardized.
55
Very often it is a websocket.
66
WebRTC was standardized by (among others) Google, Cisco and Mozilla.
@@ -15,7 +15,7 @@ Cisco and Mozilla insisted on compatibility with SIP and telephone industry, hen
1515
* when transceiver is stopped, port number in mline is set to 0
1616
* port number in mline set to 9 means that connection address will be set dynamically via ICE
1717
* SDP can include ICE candidates but it doesn't have to.
18-
In particular, when you create the first offer it won't have any ICE candidates, but if you wait a couple of seconds and read peerconnection.localDescription it will contain ICE candidates that were gatherd throughout this time.
18+
In particular, when you create the first offer it won't have any ICE candidates, but if you wait a couple of seconds and read peerconnection.localDescription it will contain ICE candidates that were gathered throughout this time.
1919
* offerer can offer to both send and receive
2020
* mline includes a list of supported codecs.
2121
They are sorted in preference order
@@ -56,8 +56,8 @@ When the other side is an SFU, we have at least 3 options:
5656
Client sends SDP offer including both its own tracks and server's tracks.
5757
This requires a single negotiation.
5858
* client sends SDP offer only including its own tracks.
59-
After this is negotiated succsessfully, server sends its SDP offer.
60-
This requries two negotiations.
59+
After this is negotiated successfully, server sends its SDP offer.
60+
This requires two negotiations.
6161
* we use two separate peer connections, one for sending and one for receiving.
6262
This way client and server can send their offers in parallel.
6363
This was used e.g. by LiveKit.

0 commit comments

Comments
 (0)