/ fm / liveswitch / sdp / ice / RemoteCandidate
Class: RemoteCandidate
An SDP remote candidate element.
Table of contents
Constructors
Methods
- fmliveswitchsdpiceRemoteCandidateInit
- getComponentId
- getConnectionAddress
- getPort
- getTypeString
- toString
- parse
Constructors
constructor
+ new RemoteCandidate(componentId
: number, connectionAddress
: string, port
: number): RemoteCandidate
Initializes a new instance of the [[fm.liveswitch.sdp.ice.remoteCandidate]] class.
Parameters:
Name | Type | Description |
---|---|---|
componentId |
number | The ID of the component for which this is a remote candidate. |
connectionAddress |
string | The IP address of the remote candidate. |
port |
number | The port of the remote candidate. |
Returns: RemoteCandidate
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ice/RemoteCandidate.ts:23
Methods
fmliveswitchsdpiceRemoteCandidateInit
▸ Private
fmliveswitchsdpiceRemoteCandidateInit(): void
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ice/RemoteCandidate.ts:19
getComponentId
▸ getComponentId(): number
Gets the ID of the component for which this is a remote candidate.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ice/RemoteCandidate.ts:74
getConnectionAddress
▸ getConnectionAddress(): string
Gets the IP address of the remote candidate.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ice/RemoteCandidate.ts:86
getPort
▸ getPort(): number
Gets the port of the remote candidate.
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ice/RemoteCandidate.ts:98
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ice/RemoteCandidate.ts:9
toString
▸ toString(): string
Converts this instance to a string.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ice/RemoteCandidate.ts:136
parse
▸ Static
parse(s
: string): RemoteCandidate
Creates an [[fm.liveswitch.sdp.ice.remoteCandidate]] instance from a string.
Parameters:
Name | Type | Description |
---|---|---|
s |
string | The string to parse. |
Returns: RemoteCandidate
Defined in: Generated/TypeScript/fm.liveswitch/sdp/ice/RemoteCandidate.ts:59