Class: RTCIceGatherer
#
Constructors#
constructor• new RTCIceGatherer(options?
)
#
ParametersName | Type |
---|---|
options | Partial <IceOptions> |
#
Defined inpackages/webrtc/src/transport/ice.ts:103
#
Properties#
connection• Readonly
connection: Connection
#
Defined inpackages/webrtc/src/transport/ice.ts:103
#
gatheringState• gatheringState: "new"
| "gathering"
| "complete"
= "new"
#
Defined inpackages/webrtc/src/transport/ice.ts:100
#
onGatheringStateChange• Readonly
onGatheringStateChange: default
<["new"
| "gathering"
| "complete"
]>
#
Defined inpackages/webrtc/src/transport/ice.ts:102
#
onIceCandidate• onIceCandidate: (candidate
: IceCandidate) => void
#
Type declaration▸ (candidate
): void
#
ParametersName | Type |
---|---|
candidate | IceCandidate |
#
Returnsvoid
#
Defined inpackages/webrtc/src/transport/ice.ts:99
#
Accessors#
localCandidates• get
localCandidates(): IceCandidate[]
#
Returns#
Defined inpackages/webrtc/src/transport/ice.ts:117
#
localParameters• get
localParameters(): RTCIceParameters
#
Returns#
Defined inpackages/webrtc/src/transport/ice.ts:121
#
Methods#
gather▸ gather(): Promise
<void>
#
ReturnsPromise
<void>
#
Defined inpackages/webrtc/src/transport/ice.ts:107
#
setState▸ Private
setState(state
): void
#
ParametersName | Type |
---|---|
state | "new" | "gathering" | "complete" |
#
Returnsvoid