3.23.0
ICE candidate information
(String)
(Number)
(String)
(Number)
(String)
(Number)
(String)
(String)
(String)
Expands a plain JSON object containing an CandidateInfo
(Object)
JSON object
CandidateInfo
:
Parsed Candidate info
Check if the ice candadate has same info as us
(CandidateInfo)
ICE candadate to check against
Boolean
:
Create a clone of this Candidate info object
CandidateInfo
:
SDES peer info
Expands a plain JSON object containing an CryptoInfo
(Object)
JSON object
CryptoInfo
:
Parsed SDES info
Create a clone of this SDES info object
CryptoInfo
:
RTCP Feedback parameter
Create a clone of this RTCPFeedbackParameter info object
RTCPFeedbackInfo
:
Strem Source information
(Number)
Expands a plain JSON object containing an SourceInfo
(Object)
JSON object
SourceInfo
:
Parsed Source info
Create a clone of this source info object
SourceInfo
:
Codec information extracted for RTP payloads
(String)
Codec name
(Number)
the payload type number
(Object)
Format params for codec
Get codec format parameters
Add an RTCP feedback parameter to this codec type
(RTCPFeedbackInfo)
RTCP feedback info object
Get all extensions rtcp feedback parameters in this codec info
Set<RTCPFeedbackInfo>
:
Simulcast streams info
Expands a plain JSON object containing an SimulcastStreamInfo
(Object)
JSON object
SimulcastStreamInfo
:
Parsed SimulcastStream info
Create a clone of this simulcast stream info object
SimulcastStreamInfo
:
Group of SSRCS info
Expands a plain JSON object containing an SourceGroupInfo
(Object)
JSON object
SourceGroupInfo
:
Parsed SourceGroup info
Create a clone of this source group info object
SourceGroupInfo
:
Media Stream information
(String)
Expands a plain JSON object containing an StreamInfo
(Object)
JSON object
StreamInfo
:
Parsed Stream info
Create a clone of this stream info object
StreamInfo
:
Get all tracks from the media stream
Map.TrackInfo
:
Remove all tracks from media sream
Simulcast encoding layer information for track
(String)
rid value
(any)
Expands a plain JSON object containing an TrackEncodingInfo
(Object)
JSON object
TrackEncodingInfo
:
Parsed TrackEncoding info
Create a clone of this RID info object
TrackEncodingInfo
:
DTLS peer info
Enum for Direction values.
Type: number
Enum for DirectionWay Way values.
Type: number
Get Direction Way by name
(string)
DirectionWay
:
Get Direction Way name
(DirectionWay)
String
:
Get reverse direction way
(DirectionWay)
DirectionWay
:
Reversed direction
ICE information for a peer
RID info
(String)
rid value
(DirectionWay)
direction
Get rid direction
DirectionWay
:
Get rid direction
DirectionWay
:
Set direction setup
(DirectionWay)
Set direction setup
(DirectionWay)
Get pt formats for rid
Array.Number
:
Enum for Setup values.
Type: number
Simulcast information
Expands a plain JSON object containing an SimulcastInfo
(Object)
JSON object
SimulcastInfo
:
Parsed Simulcast info
Create a clone of this track info object
SimulcastInfo
:
Add a simulcast alternative streams for the specific direction
(DirectionWay)
Which direction you want the streams for
(Array<SimulcastStreamInfo>)
Stream info of all the alternatives
Add a single simulcast stream for the specific direction
(DirectionWay)
Which direction you want the streams for
(Array<SimulcastStreamInfo>)
Stream info of all the alternatives
Get all simulcast streams by direction
(DirectionWay)
Which direction you want the streams for
Array<Array<SimulcastStreamInfo>>
:
Media Track information
Add source group to track
(SourceGroupInfo)
Get the source group fot the desired type
(String)
Group type
SourceGroupInfo
:
Get all source groups for this track
Array<SourceGroupInfo>
:
Get simulcast encoding information for this track (if any)
Array<Array<TrackEncodingInfo>>
:
Add simulcast encoding information for this track
(TrackEncodingInfo)
Simulcast encoding info
Add simulcast encoding information for this track
(Array<TrackEncodingInfo>)
Simulcast encoding info
Add simulcast encoding information for this track
(Array<Array<TrackEncodingInfo>>)
Simulcast encoding info
Media information (relates to a m-line in SDP)
Helper factory for creating media info objects.
(any)
(Object)
Supported media capabilities to be included on media info
Name | Description |
---|---|
supported.codecs (Map<String, CodecInfo> | Array<String>)
|
Map or codecInfo or list of strings with the supported codec names |
(String)
Media type
(Boolean)
If rtx is supported for codecs (only needed if passing codec names instead of CodecInfo)
(Object)
MediaInfo
:
Helper usefull for creating media info answers.
(Object)
Supported codecs and extensions to be included on answer
Name | Description |
---|---|
supported.codecs Map<String, CodecInfo>
|
List of strings with the supported codec names |
supported.extensions Set<String>
|
List of strings with the supported codec names |
supported.simulcast Boolean
|
Simulcast is enabled |
supported.rtcpfbs Array<String>
|
Supported RTCP feedback params |
MediaInfo
:
Get Simulcast info
SimulcastInfo
:
Set stream simulcast info
(SimulcastInfo)
Simulcast stream info
SDP semantic info object This object represent the minimal information of an WebRTC SDP in a semantic hierarchy
(Number)
SDP version attribute
Get SDES info for the transport bundle
SDESInfo
:
DTLS info object
Set SDES info object for the transport bundle
(SDESInfo)
DTLS info object
Add ICE candidate for transport
(CandidateInfo)
ICE candidate
Add ICE candidates for transport
(any)
Get all ICE candidates for this transport
Array<CandidateInfo>
:
Get announced stream
(String)
StreamInfo
:
Get all announced stream
Array<StreamInfo>
:
Get first announced stream
StreamInfo
:
Announce a new stream in SDP
(StreamInfo)
Remove an announced stream from SDP
(StreamInfo)
boolean
:
Remove all streams