0.140.6
Close async handlers so nodejs can exit nicely Only call it once!
Set UDP port range for encpoints
(Integer)
Min UDP port
(Integer)
Max UDP port [Optional]
Create a new MP4 recorder
(String)
Path and filename of the recorded mp4 file
(Object)
Recording parameters (Optional)
Name | Description |
---|---|
params.refresh Number
|
Periodically refresh an intra on all video tracks (in ms) |
params.waitForIntra Boolean
|
Wait until first video iframe is received to start recording media |
params.timeShift Number
|
Buffer time in ms. Recording must be splicity started with flush() call |
params.disableHints Boolean
|
Disable recording hint tracks. Note that this file won't be playable with the Player object; |
Recorder
:
Create a new Active Speaker Detecrtor
Create a new stream refresher
(type)
Intra refresh period
Create a new incoming track reader
(type)
Intra frames only
(type)
Minimum period between frames
SDPManager
Extends Emitter
SDPManager stopped event
(SDPManager)
ActiveSpeakerMultiplexer multiplex multiple incoming audio tracks into fewer outgoing tracks based on voice activity.
Extends Emitter
Add incoming track for speaker detection
(IncomingStreamTrack)
Remove track from speaker detection
(IncomingStreamTrack)
Stop this transponder, will dettach the OutgoingStreamTrack
ActiveSpeakerMultiplexer new active speaker detected event
(IncomingStreamTrack)
Track that has been voice activated
(IncomingStreamTrack)
Track that has been multiplexed into
ActiveSpeakerMultiplexer active speaker removed event
(IncomingStreamTrack)
Track with no active speaker
ActiveSpeakerMultiplexer stopped event
(ActiveSpeakerMultiplexer)
Track of the recorder associated to an incoming strem track
Extends Emitter
Get recorder track id
Get incoming stream track
IncomingStreamTrack
:
Stop recording this track
RecorderTrack stopped event
(RecorderTrack)
Periodically request an I frame on all incoming stream or tracks
Extends Emitter
Add stream or track to request
((IncomintgStream | IncomingStreamTrack))
Remove stream or track to request
((IncomintgStream | IncomingStreamTrack))
Stop refresher
An streamer allows to send and receive plain RTP over udp sockets. This allows both to bridge legacy enpoints or integrate streaming/broadcasting services.
Extends Emitter
Creates a new streaming session from a media description
(MediaInfo)
Media codec description info
(Object)
Network parameters [Optional]
Name | Description |
---|---|
params.local Object
|
Local parameters |
params.local.port Number
|
receiving port |
params.remote Object
|
Remote parameters |
params.remote.ip String
|
Sending ip address |
params.remote.port Number
|
Sending port |
params.noRTCP Number
|
Disable sending rtcp |
StreamerSession
:
The new streaming session
Stop all streaming sessions and frees resources
ActiveSpeakerDetector accumulate received voice activity and fires an event when it changes
Extends Emitter
Add incoming track for speaker detection
(IncomingStreamTrack)
Remove track from speaker detection
(IncomingStreamTrakc)
Stop this transponder, will dettach the OutgoingStreamTrack
ActiveSpeakerDetector new active speaker detected event
(IncomingStreamTrack)
Track that has been activated
ActiveSpeakerDetector stopped event
(ActiveSpeakerDetector)
Transponder copies data from an incoming track to an outgoing track and allows stream modifications
Extends Emitter
Set incoming track
(IncomingStreamTrack)
Incoming track to attach to
(Object)
[Optional] Only applicable to video tracks
Name | Description |
---|---|
layers.encodingId String
|
rid value of the simulcast encoding of the track (default: first encoding available) |
layers.spatialLayerId Number
|
The spatial layer id to send to the outgoing stream (default: max layer available) |
layers.temporalLayerId Number
|
The temporaral layer id to send to the outgoing stream (default: max layer available) |
layers.maxSpatialLayerId Number
|
Max spatial layer id (default: unlimited) |
layers.maxTemporalLayerId Number
|
Max temporal layer id (default: unlimited) |
(Boolean)
Wait until next valid frame before switching to the new encoding
Get attached track
IncomingStreamTrack
:
track
Select encoding and temporal and spatial layers based on the desired bitrate. This operation will unmute the transponder if it was mutted and it is possible to select an encoding and layer based on the target bitrate and options.
(any)
(Object)
Options for configuring algorithm to select best encoding/layers [Optional]
Name | Description |
---|---|
options.traversal Object
|
Traversal algorithm "default", "spatial-temporal", "zig-zag-spatial-temporal", "temporal-spatial", "zig-zag-temporal-spatial" [Default: "default"] |
options.strict Object
|
If there is not a layer with a bitrate lower thatn target, stop sending media [Default: false] |
options.smooth Object
|
When going to a lower simulcast layer, keep the higher one visible [Default: true] |
(Number)
Number
:
Current bitrate of the selected encoding and layers, it aslo incudes the selected layer indexes and available layers as properties of the Number object.
Select encoding and temporal and spatial layers based on the desired bitrate. This operation will unmute the transponder if it was mutted and it is possible to select an encoding and layer based on the target bitrate and options.
(any)
(Object)
Options for configuring algorithm to select best encoding/layers [Optional]
Name | Description |
---|---|
options.traversal Object
|
Traversal algorithm "default", "spatial-temporal", "zig-zag-spatial-temporal", "temporal-spatial", "zig-zag-temporal-spatial" [Default: "default"] |
options.strict Object
|
If there is not a layer with a bitrate lower thatn target, stop sending media [Default: false] |
options.smooth Object
|
When going to a lower simulcast layer, keep the higher one visible [Default: true] |
(Number)
any
:
Promise<{Number}> Current bitrate of the selected encoding and layers, it aslo incudes the selected layer indexes and available layers as properties of the Number object.
Select the simulcast encoding layer and svc layers
(Object)
[Optional] Only applicable to video tracks
Name | Description |
---|---|
layers.encodingId String
|
rid value of the simulcast encoding of the track (default: the current one) |
layers.spatialLayerId Number
|
The spatial layer id to send to the outgoing stream (default: max layer available) |
layers.temporalLayerId Number
|
The temporaral layer id to send to the outgoing stream (default: max layer available) |
layers.maxSpatialLayerId Number
|
Max spatial layer id (default: unlimited) |
layers.maxTemporalLayerId Number
|
Max temporal layer id (default: unlimited) |
(Boolean)
Wait until next valid frame before switching to the new encoding
Stop this transponder, will dettach the OutgoingStreamTrack
Transponder muted event
(Transponder)
Transponder muted event
(Transponder)
Transponder stopped event
(Transponder)
MP4 recorder that allows to record several streams/tracks on a single mp4 file
Extends Emitter
Start recording and incoming
((IncomingStream | IncomingStreamTrack))
Incomining stream or track to be recordeds
(any)
Array<RecorderTrack>
:
MP4 recorder that allows to record several streams/tracks on a single mp4 file
Extends Emitter
Get all the tracks
Array<IncomingStreamTrack>
:
Array of tracks
Get an array of the media stream audio tracks
Array<IncomingStreamTrack>
:
Array of tracks
Get an array of the media stream video tracks
Array<IncomingStreamTrack>
:
Array of tracks
Resume playback
Pause playback
Stop playing and close file
Represent the connection between a local udp port and a remote one. It sends and/or receive plain RTP data.
Extends Emitter
Set the rempte rtp/udp ip and port
(any)
(any)
Returns the incoming stream track associated with this streaming session
IncomingStreamTrack
:
Returns the outgoing stream track associated with this streaming session
OutgoingStreamTrack
:
Closes udp socket and frees resources
StreamerSession stopped event
(StreamerSession)
Add event listener
Transport
:
Add event listener once
IncomingStream
:
Remove event listener
Transport
:
The incoming streams represent the recived media stream from a remote peer.
Extends Emitter
Get the stream info object for signaling the ssrcs and stream info on the SDP from the remote peer
StreamInfo
:
The stream info object
Get statistics for all tracks in the stream
See IncomingStreamTrack.getStats for information about the stats returned by each track.
Get statistics for all tracks in the stream
See IncomingStreamTrack.getStats for information about the stats returned by each track.
any
:
Promise<{Map
,Object}> Map with stats by trackId
Get track by id
(String)
The track id
IncomingStreamTrack
:
requested track or null
Get all the tracks
(String)
The media type (Optional)
Array<IncomingStreamTrack>
:
Array of tracks
Get an array of the media stream audio tracks
Array<IncomingStreamTrack>
:
Array of tracks
Get an array of the media stream video tracks
Array<IncomingStreamTrack>
:
Array of tracks
Create new track from a TrackInfo object and add it to this stream
(TrackInfo)
Track info object
IncomingStreamTrack
:
Reset ssrc state of all tracks
Return if the stream is attached or not
Removes the media strem from the transport and also detaches from any attached incoming stream
IncomingStream attached event
(IncomingStream)
IncomingStream attached event
(IncomingStream)
IncomingStream detached event
(IncomingStream)
IncomingStreamTrack added to stream
(IncomingStream)
(IncomingStreamTrack)
IncomingStream stopped event
(IncomingStream)
(Objects)
stats before closing
Mirror incoming stream from another endpoint. Used to avoid inter-thread synchronization when attaching multiple output streams.
Extends Emitter
Get track id as signaled on the SDP
Get track media id (mid)
Get track info object
TrackInfo
:
Track info
Return if the track is attached or not
Signal that this track has been attached. Internal use, you'd beter know what you are doing before calling this method
Request an intra refres on all sources
Signal that this track has been detached. Internal use, you'd beter know what you are doing before calling this method
Removes the track from the incoming stream and also detaches any attached outgoing track or recorder
IncomingStreamTrackMirrored attached event
(IncomingStreamTrackMirrored)
IncomingStreamTrackMirrored attached event
(IncomingStreamTrackMirrored)
IncomingStreamTrackMirrored dettached event
(IncomingStreamTrackMirrored)
IncomingStreamTrackMirrored dettached event
(IncomingStreamTrackMirrored)
IncomingStreamTrack stopped event
(IncomingStreamTrackMirrored)
IncomingStreamTrack stopped event
(IncomingStreamTrackMirrored)
The incoming streams represent the media stream sent to a remote peer.
Extends Emitter
Get statistics for all tracks in the stream
See OutgoingStreamTrack.getStats for information about the stats returned by each track.
Get statistics for all tracks in the stream
See OutgoingStreamTrack.getStats for information about the stats returned by each track.
Listen media from the incoming stream and send it to the remote peer of the associated transport.
(IncomingStream)
The incoming stream to listen media for
(Object)
[Optional] Only applicable to video tracks
Name | Description |
---|---|
layers.encodingId String
|
rid value of the simulcast encoding of the track (default: first encoding available) |
layers.spatialLayerId Number
|
The spatial layer id to send to the outgoing stream (default: max layer available) |
layers.temporalLayerId Number
|
The temporaral layer id to send to the outgoing stream (default: max layer available) |
layers.maxSpatialLayerId Number
|
Max spatial layer id (default: unlimited) |
layers.maxTemporalLayerId Number
|
Max temporal layer id (default: unlimited) |
Array<Transponder>
:
Track transponders array
Stop listening for media
Get the stream info object for signaling the ssrcs and stream info on the SDP to the remote peer
StreamInfo
:
The stream info object
Get all the tracks
(String)
The media type (Optional)
Array<OutgoingStreamTrack>
:
Array of tracks
Get track by id
(String)
The track id
IncomingStreamTrack
:
requested track or null
Get an array of the media stream video tracks
(Array | OutgoingStreamTrack)
:
Array of tracks
Create new track from a TrackInfo object and add it to this stream
Name | Description |
---|---|
params.id String?
|
Stream track id |
params.mediaId String?
|
Stream track media id (mid) |
params.media String?
|
Media type ("audio" or "video") |
params.ssrcs Object?
|
Override the generated ssrcs for this track |
params.ssrcs.media Number?
|
ssrc for the track |
params.ssrcs.rtx Number?
|
ssrc for the rtx video track |
(TrackInfo)
Track info object
OutgoingStream
:
The new outgoing stream
OugoingStreamTrack
:
OutgingStreamTrack created
(OutgingStreamTrack)
OutgoingStream stopped event
(OutgoingStream)
(Objects)
stats before closing
Manager of remote peer connecion clients
Extends Emitter
Stop the peerconnection server, will not stop the transport created by it
New managed transport has been created by a remote peer connection client
(Transport)
An initialized transport
PeerConnectionServer stopped event
(PeerConnectionServer)
An emulated transport reads data from a unencrypted pcap file (typically from a transport dump), and acts like if it was a live transport from a remote peer. You must create the incoming streams as signaled on the remote SDP as any incoming RTP with an unknown ssrc will be ignored. The emulated transport does not allow creating outgoing streams.
Extends Emitter
Create an incoming stream object from the media stream info objet
(StreamInfo)
Contains the ids and ssrcs of the stream to be created
IncomingStream
:
The newly created incoming stream object
Resume playback
Pause playback
Stop transport and all the associated incoming and outgoing streams
Transport stopped event
(EmulatedTransport)
An endpoint represent an UDP server socket. The endpoint will process STUN requests in order to be able to associate the remote ip:port with the registered transport and forward any further data comming from that transport. Being a server it is ICE-lite.
Extends Emitter
[EXPERIMENTAL] See TypeScript typings for usage.
(any)
Get port at which UDP socket is bound
Create a new transport object and register it with the remote ICE username and password
((Object | SDPInfo))
Remote ICE and DTLS properties
Name | Description |
---|---|
remoteInfo.ice (Object | ICEInfo)
|
Remote ICE info, containing the username and password. |
remoteInfo.dtls (Object | DTLSInfo)
|
Remote DTLS info |
remoteInfo.candidates (Array.CandidateInfo | Array.Object)
|
Remote ICE candidate info |
(Object)
Local ICE and DTLS properties (optional)
Name | Description |
---|---|
localInfo.ice ICEInfo
|
Local ICE info, containing the username and password. Local ICE candidates list is not really used at all. |
localInfo.dtls DTLSInfo
|
Local DTLS info |
localInfo.candidates Array.CandidateInfo
|
Local candidate info |
(Object)
Dictionary with transport properties
Name | Description |
---|---|
options.disableSTUNKeepAlive boolean
|
Disable ICE/STUN keep alives, required for server to server transports |
options.srtpProtectionProfiles String
|
Colon delimited list of SRTP protection profile names |
options.overrideBWE boolean
|
Override BWE reported by REMB |
options.disableREMB boolean
|
Disable REMB BWE calculation. |
options.prefferDTLSSetupActive boolean
|
Preffer setting local DTLS setup to 'active' if remote is 'actpass'. |
Transport
:
New transport object
Get local ICE candidates for this endpoint. It will be shared by all the transport associated to this endpoint.
Array.CandidateInfo
:
Create new peer connection server to manage remote peer connection clients
(TransactionManager)
(Object)
Same as SDPInfo.answer capabilites
PeerConnectionServer
:
Create new active speaker multiplexer for given outgoing tracks
((OutgoingStream | Array.OutgoingStreamTrack))
Outgoing stream or outgoing stream track array to be multiplexed
ActiveSpeakerMultiplexer
:
Mirror incoming stream from another endpoint. Used to avoid inter-thread synchronization when attaching multiple output streams. The endpoint will cache the cucrrent mirrored streams and return an already existing object if calling this method twice with same stream.
(IncomingStream)
stream to mirror
IncomingStream
:
mirrored stream.
Mirror incoming stream track from another endpoint. Used to avoid inter-thread synchronization when attaching multiple output tracks. The endpoint will cache the cucrrent mirrored tracks and return an already existing object if calling this method twice with same track.
(IncomingStreamTrack)
track to mirror
IncomingStreamTrackMirrored
:
mirrored track.
Create new SDP manager, this object will manage the SDP O/A for you and produce a suitable trasnport.
(String)
Type of sdp plan "unified-plan" or "plan-b"
(Object)
Capabilities objects
SDPManager
:
Stop the endpoint UDP server and terminate any associated transport
A transport represent a connection between a local ICE candidate and a remote set of ICE candidates over a single DTLS session. The transport object will internally allocate the ICE and DTLS information of the local side in order to signal it to the remote side and establish the connection. Each transport has a set of incoming and outgoing streams that allow to send or receive RTP streams to the remote peer. You must create the incoming streams as signaled on the remote SDP as any incoming RTP with an unknown ssrc will be ignored. When you create an outgoing stream, the transport will allocate internally the ssrcs for the different RTP streams in order to avoid collision. You will be able to retrieve that information from the streams object in order to be able to announce them on the SDP sent to the remote side. In order to decide how to route your streams you must attach the outgoing streams from one transport to the incoming streams of other (or same) transport.
Extends Emitter
Dump incoming and outgoint rtp and rtcp packets into a pcap file
(String)
Filename of the pcap file
(Object)
Dump parameters (optional)
Name | Description |
---|---|
options.incoming Boolean
|
Dump incomoning RTP data |
options.outgoing Boolean
|
Dump outgoing RTP data |
options.rtcp Boolean
|
Dump rtcp RTP data |
options.rtpHeadersOnly Boolean
|
Dump only rtp headers and first 16 bytes of payload for rtp packets |
options.bwe Boolean
|
Dump bwe stats to a different file (.pcap->.csv) |
Stop dumping transport rtp and rtcp packets
Get transport stats
Object
:
stats
Get available outgoing bitrate in bps.
Nummber
:
Get bandwidth estimation in bps.
Nummber
:
Get current sent bitrate
Nummber
:
Enable bitrate probing. This will send padding only RTX packets to allow bandwidth estimation algortithm to probe bitrate beyonf current sent values. The ammoung of probing bitrate would be limited by the sender bitrate estimation and the limit set on the setMaxProbing Bitrate. Note that this will only work on browsers that supports RTX and transport wide cc.
(Boolen)
Get transport local DTLS info
DTLSInfo
:
DTLS info object
Get transport local ICE info
ICEInfo
:
ICE info object
Get local ICE candidates for this transport
Array.CandidateInfo
:
Get transport remote DTLS info
DTLSInfo
:
DTLS info object
Get transport remote ICE info
ICEInfo
:
ICE info object
Get remote ICE candidates for this transport
Array.CandidateInfo
:
Register an array remote candidate info. Only needed for ice-lite to ice-lite endpoints
(Array.CandidateInfo)
Create new outgoing stream in this transport
Name | Description |
---|---|
params.audio (Array<Object> | Object | boolean)
|
Add audio track to the new stream |
params.audio.id Object?
|
Stream track id (default: "audio") |
params.audio.ssrcs Number?
|
Override the generated ssrcs for this track |
params.audio.ssrcs.media Number?
|
ssrc for the audio track |
params.id Object?
|
Stream id, an UUID will be generated if not provided |
params.video (Array<Object> | Object | boolean)
|
Add video track to the new stream |
params.video.id Object?
|
Stream track id (default: "video") |
params.video.ssrcs Object?
|
Override the generated ssrcs for this track |
params.video.ssrcs.media Number?
|
ssrc for the video track |
params.video.ssrcs.rtx Number?
|
ssrc for the rtx video track |
OutgoingStream
:
The new outgoing stream
Create new outgoing stream in this transport
(String)
Track media type "audio" or "video"
(Object?)
Track parameters
Name | Description |
---|---|
params.id Object?
|
Stream track id |
params.mediaId Object?
|
Stream track media id (mid) |
params.ssrcs Number?
|
Override the generated ssrcs for this track |
params.ssrcs.media Number?
|
ssrc for the media track |
params.ssrcs.rtx Number?
|
ssrc for the rtx track |
OutgoingStreamTrack
:
The new outgoing stream track
Create an incoming stream object from the media stream info objet
IncomingStream
:
The newly created incoming stream object
Get incoming stream
(String)
the stream ID
IncomingStream
:
Get incoming stream
(String)
the stream ID
IncomingStream
:
Create new incoming stream in this transport. TODO: Simulcast is still not supported
(String)
Track media type "audio" or "video"
(Object?)
Track parameters
Name | Description |
---|---|
params.id Object?
|
Stream track id |
params.mediaId Object?
|
Stream track media id (mid) |
params.ssrcs Number?
|
Override the generated ssrcs for this track |
params.ssrcs.media Number?
|
ssrc for the media track |
params.ssrcs.rtx Number?
|
ssrc for the rtx track |
IncomingStreamTrack
:
The new incoming stream track
Create new outgoing stream and attach to the incoming stream
(IncomingStream)
the incoming stream to be published in this transport
OutgoingStream
:
The new outgoing stream
Stop transport and all the associated incoming and outgoing streams
ICE timoute event. Fired when no ICE request ar received for 30 seconds.
(Transport)
ICE remote candidate activation event. This event fires when ICE candidate has correctly being checked out and we start using it for sending.
(CandidateInfo)
The ip and port of the remote ICE candidate that is in use by the transport
(Transport)
Transport sender side estimation bitrate target udpate
New outgoing stream track added to transport
(OutgoingStreamTrack)
(OutgoingStream?)
New incoming stream track added to transport
(IncomingStreamTrack)
(IncomingStream)
parse a dot-separated IPv4 into a normalized address as u32be
(any)
AudioDecoder stopped event
(Object)
(IncomingStreamTrackReader)
AudioDecoder stopped event
(IncomingStreamTrackReader)
parse a CIDR into a normalized [address as u32be, prefix length] tuple
(any)
Audio or Video track of a media stream sent to a remote peer
Extends Emitter
Get track id as signaled on the SDP
Get track media id (mid)
Get track info object
TrackInfo
:
Track info
Get stats for all encodings
You will get stats for media and rtx sources (if used):
The stats objects will privide the follwing info for each source
Map<String, Object>
:
Map with stats by encodingId
Get stats for all encodings
You will get stats for media and rtx sources (if used):
The stats objects will privide the follwing info for each source
Map<String, Object>
:
Map with stats by encodingId
Create a transponder if not already attached or return current one.
Transponder
:
Track transponder object
Listen media from the incoming stream track and send it to the remote peer of the associated transport. This will stop any previous transpoder created by a previous attach.
(IncomingStreamTrack)
The incoming stream to listen media for
(Object)
[Optional] Only applicable to video tracks
Name | Description |
---|---|
layers.encodingId String
|
rid value of the simulcast encoding of the track (default: first encoding available) |
layers.spatialLayerId Number
|
The spatial layer id to send to the outgoing stream (default: max layer available) |
layers.temporalLayerId Number
|
The temporaral layer id to send to the outgoing stream (default: max layer available) |
layers.maxSpatialLayerId Number
|
Max spatial layer id (default: unlimited) |
layers.maxTemporalLayerId Number
|
Max temporal layer id (default: unlimited) |
Transponder
:
Track transponder object
Stop forwarding any previous attached track. This will set the transponder inconming track to null
Get attached transpoder for this track
Transponder
:
Attached transpoder or null if not attached
Removes the track from the outgoing stream and also detaches from any attached incoming track
OutgoingStreamTrack remb event
(OutgoingStreamTrack)
(Number)
estimation
OutgoingStreamTrack stopped event
(OutgoingStreamTrack)
Audio or Video track of a remote media stream
Extends Emitter
Get stats for all encodings
For each encoding you will get stats for media and rtx sources (if used):
The stats objects will provide the following info for each source
any
:
Promise<{Map<String,Object>}> Promise resolving to a map with stats by encodingId
Get stats for all encodings
For each encoding you will get stats for media and rtx sources (if used):
The stats objects will provide the following info for each source
Map<String, Object>
:
Map with stats by encodingId
Get active encodings and layers ordered by bitrate
any
:
Promise<{Object}> Active layers object containing an array of active and inactive encodings and an array of all available layer info
Get track id as signaled on the SDP
Get track media id
Get track info object
TrackInfo
:
Track info
Signal that this track has been attached. Internal use, you'd beter know what you are doing before calling this method
Request an intra refres on all sources
Reset state of incoming sources
Return if the track is attached or not
Signal that this track has been detached. Internal use, you'd beter know what you are doing before calling this method
Remove override for the maximum period of time to wait for an out of order or rtx packet
Removes the track from the incoming stream and also detaches any attached outgoing track or recorder
IncomingStreamTrack new encoding event
(IncomingStreamTrack)
(Object)
IncomingStreamTrack new encoding event
(IncomingStreamTrack)
(Object)
IncomingStreamTrack attached event
(IncomingStreamTrack)
IncomingStreamTrack detached event
(IncomingStreamTrack)
IncomingStreamTrack stopped event
(IncomingStreamTrack)
Create a dedicated socket on each query, no caching... it's inefficient but more robust, we don't need to give user a way to invalidate the cache, we don't need to be careful when managing refs, subscriptions...
(any)
Bundle multiple video track as if they were a single simulcast video track
Extends Emitter
Add video track to the simulcast adapter
(String)
Id used as base for encodings id
(IncomingStreamTrack)
Incoming video stream track
Remove video track to the simulcast adapter
(IncomingStreamTrack)
Incoming video stream track
Get stats for all encodings from the original track
any
:
Promise<{Map<String,Object>}> Map with stats by encodingId
Get track id as signaled on the SDP
Get track media id (mid)
Get track info object
TrackInfo
:
Track info
Return if the track is attached or not
Signal that this track has been attached. Internal use, you'd beter know what you are doing before calling this method
Request an intra refres on all sources
Signal that this track has been detached. Internal use, you'd beter know what you are doing before calling this method
Removes the track from the incoming stream and also detaches any attached outgoing track or recorder
(any)
(any)
Continuation of collectRoutingInfo once a route has been selected (split to allow reusal from getInterfaceRawConfig).