mirror of
https://github.com/jech/galene.git
synced 2024-11-22 08:35:57 +01:00
Fix typos.
This commit is contained in:
parent
de78f3ce62
commit
f89270e874
3 changed files with 6 additions and 5 deletions
2
README
2
README
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue