/ fm / liveswitch / StreamDescription
Class: StreamDescription
fm.liveswitch.StreamDescription
A stream description.
Table of contents
Constructors
Methods
Constructors
constructor
+ new StreamDescription(description: MediaDescription): StreamDescription
Creates a new StreamDescription object.
Parameters:
| Name | Type | Description | 
|---|---|---|
| description | MediaDescription | SDP MediaDescription of the stream. | 
Returns: StreamDescription
Defined in: Generated/TypeScript/fm.liveswitch/StreamDescription.ts:13
Methods
getMediaDescription
▸ getMediaDescription(): MediaDescription
Gets the media description associated with this stream.
Returns: MediaDescription
Defined in: Generated/TypeScript/fm.liveswitch/StreamDescription.ts:39
getMediaDescriptionIdentifier
▸ getMediaDescriptionIdentifier(): string
Gets the mid associated with this stream, if present. Null if not.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/StreamDescription.ts:51
getStreamType
▸ getStreamType(): StreamType
Gets the stream type.
Returns: StreamType
Defined in: Generated/TypeScript/fm.liveswitch/StreamDescription.ts:70
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/StreamDescription.ts:9
setMediaDescription
▸ setMediaDescription(value: MediaDescription): void
Sets the media description associated with this stream.
Parameters:
| Name | Type | 
|---|---|
| value | MediaDescription | 
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/StreamDescription.ts:100