Skip to content

Commit c4401df

Browse files
committed
verup
1 parent 1bda402 commit c4401df

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+1714
-299
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ see console & chrome://webrtc-internals/
6161
- [x] Trickle ICE
6262
- [x] ICE-Lite Client Side
6363
- [ ] ICE-Lite Server Side
64+
- [x] ICE restart
6465
- [x] DTLS
6566
- [x] DTLS-SRTP
6667
- [x] Curve25519
@@ -89,6 +90,7 @@ see console & chrome://webrtc-internals/
8990
- [x] SRTP
9091
- [x] SRTCP
9192
- [x] SDP
93+
- [x] reuse inactive m-line
9294
- [x] PeerConnection
9395
- [x] Simulcast
9496
- [x] recv
@@ -122,10 +124,6 @@ see console & chrome://webrtc-internals/
122124
## Road Map Towards 2.0
123125

124126
- [ ] API compatible with browser RTCPeerConnection
125-
- [ ] ICE
126-
- [ ] ICE restart
127-
- [ ] SDP
128-
- [ ] reuse inactive m-line
129127
- [ ] Simulcast
130128
- [ ] send
131129
- [ ] support more cipher suites

doc/classes/Candidate.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
### new Candidate()
1212

13-
> **new Candidate**(`foundation`, `component`, `transport`, `priority`, `host`, `port`, `type`, `relatedAddress`?, `relatedPort`?, `tcptype`?, `generation`?): [`Candidate`](Candidate.md)
13+
> **new Candidate**(`foundation`, `component`, `transport`, `priority`, `host`, `port`, `type`, `relatedAddress`?, `relatedPort`?, `tcptype`?, `generation`?, `ufrag`?): [`Candidate`](Candidate.md)
1414
1515
#### Parameters
1616

@@ -36,6 +36,8 @@
3636

3737
**generation?**: `number`
3838

39+
**ufrag?**: `string`
40+
3941
#### Returns
4042

4143
[`Candidate`](Candidate.md)
@@ -106,6 +108,12 @@
106108

107109
> **type**: `string`
108110
111+
***
112+
113+
### ufrag?
114+
115+
> `optional` **ufrag**: `string`
116+
109117
## Methods
110118

111119
### canPairWith()

doc/classes/CandidatePair.md

Lines changed: 48 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@
1010

1111
### new CandidatePair()
1212

13-
> **new CandidatePair**(`protocol`, `remoteCandidate`): [`CandidatePair`](CandidatePair.md)
13+
> **new CandidatePair**(`protocol`, `remoteCandidate`, `iceControlling`): [`CandidatePair`](CandidatePair.md)
1414
1515
#### Parameters
1616

1717
**protocol**: [`Protocol`](../interfaces/Protocol.md)
1818

1919
**remoteCandidate**: [`Candidate`](Candidate.md)
2020

21+
**iceControlling**: `boolean`
22+
2123
#### Returns
2224

2325
[`CandidatePair`](CandidatePair.md)
@@ -26,27 +28,19 @@
2628

2729
### handle?
2830

29-
> `optional` **handle**: `object`
30-
31-
#### cancel()
32-
33-
> **cancel**: () => `void`
31+
> `optional` **handle**: `Cancelable`\<`void`\>
3432
35-
##### Returns
36-
37-
`void`
38-
39-
#### done()
33+
***
4034

41-
> **done**: () => `boolean`
35+
### iceControlling
4236

43-
##### Returns
37+
> **iceControlling**: `boolean`
4438
45-
`boolean`
39+
***
4640

47-
#### promise
41+
### id
4842

49-
> **promise**: `PCancelable`\<`any`\> = `pCancel`
43+
> `readonly` **id**: \`$\{string\}-$\{string\}-$\{string\}-$\{string\}-$\{string\}\`
5044
5145
***
5246

@@ -84,6 +78,28 @@
8478

8579
***
8680

81+
### json
82+
83+
> `get` **json**(): `object`
84+
85+
#### Returns
86+
87+
`object`
88+
89+
##### localCandidate
90+
91+
> **localCandidate**: `string`
92+
93+
##### protocol
94+
95+
> **protocol**: `string`
96+
97+
##### remoteCandidate
98+
99+
> **remoteCandidate**: `string`
100+
101+
***
102+
87103
### localCandidate
88104

89105
> `get` **localCandidate**(): [`Candidate`](Candidate.md)
@@ -94,6 +110,16 @@
94110

95111
***
96112

113+
### priority
114+
115+
> `get` **priority**(): `number`
116+
117+
#### Returns
118+
119+
`number`
120+
121+
***
122+
97123
### remoteAddr
98124

99125
> `get` **remoteAddr**(): readonly [`string`, `number`]
@@ -122,13 +148,17 @@ readonly [`string`, `number`]
122148

123149
`object`
124150

151+
##### localCandidate
152+
153+
> **localCandidate**: `string`
154+
125155
##### protocol
126156

127157
> **protocol**: `string`
128158
129-
##### remoteAddr
159+
##### remoteCandidate
130160

131-
> **remoteAddr**: readonly [`string`, `number`]
161+
> **remoteCandidate**: `string`
132162
133163
***
134164

0 commit comments

Comments
 (0)