Commit f89270e8 authored by Antonin Décimo's avatar Antonin Décimo Committed by Juliusz Chroboczek

Fix typos.

parent de78f3ce
......@@ -194,7 +194,7 @@ The definition for the group called *groupname* is in the file
`groups/groupname.json`; it does not contain the group name, which makes
it easy to copy or link group definitions. You may use subdirectories:
a file `groups/teaching/networking.json` defines a group called
*teching/networking*.
*teaching/networking*.
Every group definition file contains a JSON directory. All fields are
optional, but unless you specify at least one user definition (`op`,
......
......@@ -146,6 +146,7 @@ streams to a list containing either 'audio', or one of 'video' or
'': ['audio', 'video']
}
}
```
## Pushing streams
......@@ -159,11 +160,11 @@ A stream is created by the sender with the `offer` message:
replace: id,
source: source-id,
username: username,
sdp: sdp,
sdp: sdp
}
```
If a stream with the same id exists, then this is a renegotation;
If a stream with the same id exists, then this is a renegotiation;
otherwise this message creates a new stream. If the field `replace` is
not empty, then this request additionally requests that an existing stream
with the given id should be closed, and the new stream should replace it;
......@@ -217,7 +218,7 @@ At any time after answering, the client may change the set of streams
being offered by sending a 'requestStream' request:
```javascript
{
type: 'answerStream'
type: 'requestStream'
id: id,
request: [audio, video]
}
......
......@@ -55,7 +55,7 @@ func TestGroup(t *testing.T) {
}
if public := GetPublic(); len(public) != 1 || public[0].Name != "group/subgroup" {
t.Errorf("Expeced group/subgroup, got %v", public)
t.Errorf("Expected group/subgroup, got %v", public)
}
Expire()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment