Set new DTLS certificates. Should be called before any Endpoint is established.
Close async handlers so nodejs can exit nicely Only call it once!
Enable or disable log level traces
flagBoolean
Enable or disable debug level traces
flagBoolean
Set UDP port range for encpoints
minPortInteger Min UDP portmaxPortInteger Max UDP port [Optional]
Enable or disable ultra debug level traces
flagBoolean
Create a new endpoint object
ipString External IP address of server, to be used when announcing the local ICE candidate
Returns Endpoint The new created endpoing
Create a new MP4 recorder
filenameString Path and filename of the recorded mp4 fileparamsObject Recording parameters (Optional)params.refreshNumber Periodically refresh an intra on all video tracks (in ms)params.waitForIntraBoolean Wait until first video iframe is received to start recording mediaparams.timeShiftNumber Buffer time in ms. Recording must be splicity started with flush() callparams.disableHintsBoolean Disable recording hint tracks. Note that this file won't be playable with the Player object;
Returns Recorder
Create a new MP4 player
filenameString Path and filename of the mp4 file
Returns Player
Create a new RTP streamer
Returns Streamer
Create a new Active Speaker Detecrtor
Create a new stream refresher
periodtype Intra refresh period
Create a new emulated transport from pcap file
pcapfilenameString PCAP filename and path
Get the default media server capabilities for each supported media type
Returns Object Object containing the capabilities by media ("audio","video")
SDPManager
Get current SDP offer/answer state
Returns String one of "initial","local-offer","remote-offer","stabable".
Returns the Transport object created by the SDP O/A
Returns Transport
Add event listener
Returns SDPManager
Add event listener once
Returns IncomingStream
Remove event listener
Returns SDPManager
Stop manager and associated tranports
An streamer allows to send and receive plain RTP over udp sockets. This allows both to bridge legacy enpoints or integrate streaming/broadcasting services.
Creates a new streaming session from a media description
mediaMediaInfo Media codec description infoparamsObject Network parameters [Optional]
Returns StreamerSession The new streaming session
Add event listener
Returns Endpoint
Add event listener once
Returns Endpoint
Remove event listener
Returns Endpoint
Stop all streaming sessions and frees resources
Streamer stopped event
streamerStreamer
Periodically request an I frame on all incoming stream or tracks
Add stream or track to request
streamOrTrack(IncomintgStream | IncomingStreamTrack)
Add event listener
Returns IncomingStream
Add event listener once
Returns IncomingStream
Remove event listener
Returns OutgoingStream
Stop refresher
Refresher event to indicate that refesh is taking place
refreserRefresher
Refresher stopped event
refresherRefresher
Track of the recorder associated to an incoming strem track
Get recorder track id
Get incoming stream track
Returns IncomingStreamTrack
Get incoming encoding
Returns Object
Check if the track is muted or not
Returns boolean muted
Mute/Unmute track This operation will not change the muted state of the stream this track belongs too.
mutingboolean if we want to mute or unmute
Add event listener
Returns RecorderTrack
Add event listener once
Returns RecorderTrack
Remove event listener
Returns RecorderTrack
Stop recording this track
RecorderTrack stopped event
recorderTrackRecorderTrack
Transponder copies data from an incoming track to an outgoing track and allows stream modifications
Set incoming track
trackIncomingStreamTrack
Get attached track
Returns IncomingStreamTrack track
Get available encodings and layers
Returns Object
Check if the track is muted or not
Returns boolean muted
Mute/Unmute track This operation will not change the muted state of the stream this track belongs too.
mutingboolean if we want to mute or unmute
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.
targetoptionsObject Options for configuring algorithm to select best encoding/layers [Optional]bitrateNumber
Returns 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.
Return the encoding that is being forwarded
Returns String encodingId
Return the spatial layer id that is being forwarded
Returns Number spatial layer id
Return the temporal layer id that is being forwarded
Returns Number temporal layer id
Select SVC temporatl and spatial layers. Only available for VP9 media.
spatialLayerIdNumber The spatial layer id to send to the outgoing streamtemporalLayerIdNumber The temporaral layer id to send to the outgoing stream
Set maximum statial and temporal layers to be forwrarded. Base layer is always enabled.
Add event listener
Returns IncomingStreamTrack
Add event listener once
Returns IncomingStream
Remove event listener
Returns IncomingStreamTrack
Stop this transponder, will dettach the OutgoingStreamTrack
Transponder muted event
transponderTransponder
Transponder muted event
transponderTransponder
Transponder stopped event
transponderTransponder
ActiveSpeakerDetector accumulate received voice activity and fires an event when it changes
Set minimum period between active speaker changes
minChangePeriodNumber
Maximux activity score accumulated by an speaker
maxAcummulatedScoreNumber
Minimum db level to not be considered as muted
noiseGatingThresholdNumber
Set minimum activation score to be electible as active speaker
minActivationScoreNumber
Add incoming track for speaker detection
trackIncomingStreamTrack
Remove track from speaker detection
trackIncomingStreamTrakc
Add event listener
Returns IncomingStreamTrack
Add event listener once
Returns IncomingStream
Remove event listener
Returns IncomingStreamTrack
Stop this transponder, will dettach the OutgoingStreamTrack
ActiveSpeakerDetector new active speaker detected event
trackIncomingStreamTrack Track that has been activated
ActiveSpeakerDetector stopped event
activeSpeakerDetectorActiveSpeakerDetector
MP4 recorder that allows to record several streams/tracks on a single mp4 file
Get recording filename
Returns String
Get recording filename
Returns Date
Is the recording time shifted?
Returns Boolean
Start recording time shiftt buffer.
filenameString Override filename [Optional]
Start recording and incoming
incomingStreamOrTrack(IncomingStream | IncomingStreamTrack) Incomining stream or track to be recordeds
Returns Array<RecorderTrack>
Mute/Unmute all tracks This operation will not change the muted state of the stream this track belongs too.
mutingboolean if we want to mute or unmute
Add event listener
Returns Recorder
Add event listener once
Returns Recorder
Remove event listener
Returns Recorder
Stop recording and close file. NOTE: File will be flsuh async,
Returns undefined TODO: return promise when flush is ended
Recorder started event. This event will be triggered when the first media frame is being recorded.
Recorder stopped event
recorderRecorder
MP4 recorder that allows to record several streams/tracks on a single mp4 file
Add event listener
Returns IncomingStream
Add event listener once
Returns IncomingStream
Remove event listener
Returns IncomingStream
Get all the tracks
Returns Array<IncomingStreamTrack> Array of tracks
Get an array of the media stream audio tracks
Returns Array<IncomingStreamTrack> Array of tracks
Get an array of the media stream video tracks
Returns Array<IncomingStreamTrack> Array of tracks
Starts playback
Resume playback
Pause playback
Start playback from given time
timeNumber in miliseconds
Stop playing and close file
Playback ended event
playerPlayer
Player stopped event
playerPlayer
Represent the connection between a local udp port and a remote one. It sends and/or receive plain RTP data.
Get the local rtp/udp port
Returns Number port number
Set the rempte rtp/udp ip and port
ipport
Returns the incoming stream track associated with this streaming session
Returns IncomingStreamTrack
Returns the outgoing stream track associated with this streaming session
Returns OutgoingStreamTrack
Add event listener
Returns StreamerSession
Add event listener once
Returns IncomingStream
Remove event listener
Returns StreamerSession
Closes udp socket and frees resources
StreamerSession stopped event
sessionStreamerSession
The incoming streams represent the recived media stream from a remote peer.
The media stream id as announced on the SDP
Returns String
Get the stream info object for signaling the ssrcs and stream info on the SDP from the remote peer
Returns StreamInfo The stream info object
Add event listener
Returns IncomingStream
Add event listener once
Returns IncomingStream
Remove event listener
Returns IncomingStream
Get statistics for all tracks in the stream
See IncomingStreamTrack.getStats for information about the stats returned by each track.
Get track by id
trackIdString The track id
Returns IncomingStreamTrack requested track or null
Get all the tracks
typeString The media type (Optional)
Returns Array<IncomingStreamTrack> Array of tracks
Get an array of the media stream audio tracks
Returns Array<IncomingStreamTrack> Array of tracks
Get an array of the media stream video tracks
Returns Array<IncomingStreamTrack> Array of tracks
Create new track from a TrackInfo object and add it to this stream
trackInfoTrackInfo Track info object
Returns IncomingStreamTrack
Removes the media strem from the transport and also detaches from any attached incoming stream
IncomingStreamTrack created
incomingStreamTrackIncomingStreamTrack
IncomingStream stopped event
incomingStreamIncomingStreamlastObjects stats before closing
The incoming streams represent the media stream sent to a remote peer.
Get statistics for all tracks in the stream
See OutgoingStreamTrack.getStats for information about the stats returned by each track.
Check if the stream is muted or not
Returns boolean muted
Listen media from the incoming stream and send it to the remote peer of the associated transport.
incomingStreamIncomingStream The incoming stream to listen media for
Returns 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
Returns StreamInfo The stream info object
The media stream id as announced on the SDP
Returns String
Add event listener
Returns IncomingStream
Add event listener once
Returns IncomingStream
Remove event listener
Returns OutgoingStream
Get all the tracks
typeString The media type (Optional)
Returns Array<OutgoingStreamTrack> Array of tracks
Get track by id
trackIdString The track id
Returns IncomingStreamTrack requested track or null
Get an array of the media stream audio tracks
Returns (Array | OutgoingStreamTracks) Array of tracks
Get an array of the media stream video tracks
Returns (Array | OutgoingStreamTrack) Array of tracks
Create new track from a TrackInfo object and add it to this stream
params(Object | TrackInfo | String) Params plain object, StreamInfo object or media typetrackInfoTrackInfo Track info object
Returns OutgoingStream The new outgoing stream
Returns OuggoingStreamTrack
OutgoingStreamTrack stopped event
mutedboolean
OutgingStreamTrack created
outgoingStreamTrackOutgingStreamTrack
OutgoingStream stopped event
outgoingStreamOutgoingStreamlastObjects stats before closing
Mirror incoming stream from another endpoint. Used to avoid inter-thread synchronization when attaching multiple output streams.
Get stats for all encodings from the original track
Returns Map<String, Object> Map with stats by encodingId
Get active encodings and layers ordered by bitrate of the original track
Returns 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 info object
Returns TrackInfo Track info
Return ssrcs associated to this track
Returns Object
Get track media type
Returns String "audio"|"video"
Add event listener
Returns IncomingStreamTrack
Add event listener once
Returns IncomingStream
Remove event listener
Returns IncomingStreamTrack
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
incomingStreamTrackIncomingStreamTrackMirrored
IncomingStreamTrackMirrored dettached event
incomingStreamTrackIncomingStreamTrackMirrored
IncomingStreamTrack stopped event
incomingStreamTrackIncomingStreamTrackMirrored
Manager of remoe peer connecion clients
Add event listener
Returns PeerConnectionServer
Add event listener once
Returns PeerConnectionServer
Remove event listener
Returns PeerConnectionServer
Stop the peerconnection server, will not stop the transport created by it
New managed transport has been created by a remote peer connection client
transportTransport An initialized transport
PeerConnectionServer stopped event
peerConnectionServerPeerConnectionServer
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.
Set remote RTP properties
rtp(Object | SDPInfo) Object param containing media information for audio and videortp.audioMediaInfo Audio media infortp.videoMediaInfo Video media info
Add event listener
Returns Transport
Add event listener once
Returns IncomingStream
Remove event listener
Returns Transport
Create an incoming stream object from the media stream info objet
infoStreamInfo Contains the ids and ssrcs of the stream to be created
Returns IncomingStream The newly created incoming stream object
Starts playback
Resume playback
Pause playback
Start playback from given time
timeNumber in miliseconds
Stop transport and all the associated incoming and outgoing streams
Transport stopped event
transportEmulatedTransport
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.
Set cpu affinity for udp send/recv thread.
cpuNumber CPU core or -1 to reset affinity.
Returns boolean
Set ICE timeout for outgoing ICE binding requests
timeoutNumber Ammount of time in milliseconds between ICE binding requests
Create a new transport object and register it with the remote ICE username and password
remoteInfo(Object | SDPInfo) Remote ICE and DTLS propertieslocalInfoObject Local ICE and DTLS properties (optional)optionsObject Dictionary with transport properties
Returns Transport New transport object
Get local ICE candidates for this endpoint. It will be shared by all the transport associated to this endpoint.
Returns Array.CandidateInfo
Get local DTLS fingerprint for this endpoint. It will be shared by all the transport associated to this endpoint.
Returns String
Helper that creates an offer from capabilities It generates a random ICE username and password and gets endpoint fingerprint
capabilitiesObject Media capabilities as required by SDPInfo.create
Returns SDPInfo SDP offer
Create new peer connection server to manage remote peer connection clients
tmTransactionManagercapabilitiesObject Same as SDPInfo.answer capabilites
Returns PeerConnectionServer
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.
incomingStreamIncomingStream stream to mirror
Returns 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.
incomingStreamTrackIncomingStreamTrack track to mirror
Returns IncomingStreamTrackMirrored mirrored track.
Create new SDP manager, this object will manage the SDP O/A for you and produce a suitable trasnport.
sdpSemanticsString Type of sdp plan "unified-plan" or "plan-b"capabilitiesObject Capabilities objects
Returns SDPManager
Add event listener
Returns Endpoint
Add event listener once
Returns Endpoint
Remove event listener
Returns Endpoint
Stop the endpoint UDP server and terminate any associated transport
Endpoint stopped event
endpointEndpoint
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 singal 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.
Dump incoming and outgoint rtp and rtcp packets into a pcap file
filenameString Filename of the pcap fileoptionsObject Dump parameters (optional)options.incomingBoolean Dump incomoning RTP dataoptions.outgoingBoolean Dump outgoing RTP dataoptions.rtcpBoolean Dump rtcp RTP dataoptions.rtpHeadersOnlyBoolean Dump only rtp headers and first 16 bytes of payload for rtp packetsoptions.bweBoolean Dump bwe stats to a different file (.pcap->.csv)
Stop dumping transport rtp and rtcp packets
Get transport stats
-
senderSideEstimationBitrate : Sneder side estimation bitrate (if available)
-
ice : ICE related stats
-
requestsSent : Number of ice requests sent
-
requestsReceived : Number of ice requests received
-
responsesSent : Number of ice responses sent
-
responsesReceived : Number of ice responses received
Returns Object stats
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.
probeBoolen
Set the maximum bitrate to be used if probing is enabled.
bitrateNumber
Do not allow probing to increase sent bitrate above certain limit
bitrateNumber limit
Set local RTP properties
rtp(Object | SDPInfo) Object param containing media information for audio and videortp.audioMediaInfo Audio media infortp.videoMediaInfo Video media info
Set remote RTP properties
rtp(Object | SDPInfo) Object param containing media information for audio and videortp.audioMediaInfo Audio media infortp.videoMediaInfo Video media info
Add event listener
Returns Transport
Add event listener once
Returns IncomingStream
Remove event listener
Returns Transport
Get current dtls state for transport
Returns String DTLS connection state as per the w3c spec "new", "connecting", "connected", "closed", "failed"
Get transport local DTLS info
Returns DTLSInfo DTLS info object
Get transport local ICE info
Returns ICEInfo ICE info object
Get local ICE candidates for this transport
Returns Array.CandidateInfo
Get remote ICE candidates for this transport
Returns Array.CandidateInfo
Register a remote candidate info. Only needed for ice-lite to ice-lite endpoints
candidateCandidateInfo
Returns boolean Wheter the remote ice candidate was alrady presnet or not
Register an array remote candidate info. Only needed for ice-lite to ice-lite endpoints
candidatesArray.CandidateInfo
Create new outgoing stream in this transport
params(Object | StreamInfo | String) Params plain object, StreamInfo object or stream idparams.audio(Array<Object> | Object | boolean) Add audio track to the new streamparams.idObject? Stream id, an UUID will be generated if not providedparams.video(Array<Object> | Object | boolean) Add video track to the new stream
Returns OutgoingStream The new outgoing stream
Create new outgoing stream in this transport
Returns OutgoingStreamTrack The new outgoing stream track
Create an incoming stream object from the media stream info objet
info(StreamInfo | Object) Contains the ids and ssrcs of the stream to be created
Returns IncomingStream The newly created incoming stream object
Get all the incoming streams in the transport
Returns Array<IncomingStreams>
Get incoming stream
streamIdString the stream ID
Returns IncomingStream
Get all the outgoing streams in the transport
Returns Array<OutgoingStreams>
Get incoming stream
streamIdString the stream ID
Returns IncomingStream
Create new incoming stream in this transport. TODO: Simulcast is still not supported
Returns IncomingStreamTrack The new incoming stream track
Create new outgoing stream and attach to the incoming stream
incomingStreamIncomingStream the incoming stream to be published in this transport
Returns 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.
transportTransport
DTLS State change event
dtlsstateString DTLS connection state as per the w3c spec "new", "connecting", "connected", "closed", "failed"transportTransport
ICE remote candidate activation event. This event fires when ICE candidate has correctly being checked out and we start using it for sending.
candidateCandidateInfo The ip and port of the remote ICE candidate that is in use by the transporttransportTransport
Transport sender side estimation bitrate target udpate
bitrateIntegertransportTransport
New outgoing stream track added to transport
trackOutgoingStreamTrackstreamOutgoingStream?
New incoming stream track added to transport
trackIncomingStreamTrackstreamIncomingStream
Transport stopped event
transportTransport
Audio or Video track of a media stream sent to a remote peer
Get track id as signaled on the SDP
Get track media type
Returns String "audio"|"video"
Get track info object
Returns TrackInfo Track info
Get stats for all encodings
You will get stats for media, rtx and fec sources (if used):
- timestmap : timestamp on when this stats where created
- media : mediaStats,
- rtx : rtxStats,
- fec : fecStats
- remb : remote estimated bitate (if remb is in use)
- numPackets : number of rtp packets sent
- numPacketsDelta : number of rtp packets sent during last second
- bitrate : Bitrate for media stream only in bps
- total : Accumulated bitrate for rtx, media and fec streams in bps
The stats objects will privide the follwing info for each source
- numPackets : number of rtp packets sent
- numPacketsDelta : number of rtp packets sent during last second
- numRTCPPackets : number of rtcp packsets sent
- totalBytes : total rtp sent bytes
- totalRTCPBytes : total rtp sent bytes
- bitrate : average bitrate sent during last second in bps
- reportCount : number of RTCP receiver reports received
- reportCountDelta : number of RTCP receiver reports received during last second
- reportedLostCount : total packet loses reported
- reportedLostCountDelta : packet losses reported in last second
- reportedFractionLost : fraction loss media reported during last second
- reportedJitter : last reported jitter buffer value
Returns Map<String, Object> Map with stats by encodingId
Return ssrcs associated to this track
Returns Object
Check if the track is muted or not
Returns boolean muted
Check if this outgoing stream track is alredy attached to an incoming stream track.
Returns Boolean true if attached, false otherwise
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.
incomingStreamTrackIncomingStreamTrack The incoming stream to listen media for
Returns 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
Returns Transponder Attached transpoder or null if not attached
Add event listener
Returns IncomingStreamTrack
Add event listener once
Returns IncomingStream
Remove event listener
Returns IncomingStreamTrack
Removes the track from the outgoing stream and also detaches from any attached incoming track
OutgoingStreamTrack remb event
outgoingStreamTrackOutgoingStreamTrackbitrateNumber estimation
OutgoingStreamTrack stopped event
mutedboolean
OutgoingStreamTrack stopped event
outgoingStreamTrackOutgoingStreamTrack
Audio or Video track of a remote media stream
Get stats for all encodings
For each encoding you will get stats for media, rtx and fec sources (if used):
- media : Stats for the media stream
- rtx : Stats for the rtx retransmission stream
- fec : Stats for the fec stream
- rtt : Round Trip Time in ms
- waitTime : "min","max" and "avg" packet waiting times in rtp buffer before delivering them
- bitrate : Bitrate for media stream only in bps
- total : Accumulated bitrate for rtx, media and fec streams in bps
- remb : Estimated avialable bitrate for receving (only avaailable if not using tranport wide cc)
- timestamp: When this stats was generated, in order to save workload, stats are cached for 200ms
- simulcastIdx : Simulcast layer index based on bitrate received (-1 if it is inactive).
- lostPackets : Accumulated lost packets for rtx, media and fec strems
- numPackets : Accumulated packets for rtx, media and fec strems
- lostPacketsRatio : Lost packets ratio
The stats objects will provide the following info for each source
- lostPackets : total lost packkets
- lostPacketsDelta : total lost/out of order packets during last second
- lostPacketsMaxGap : max total consecutieve packets lossed during last second
- lostPacketsGapCount : number of packet looses bursts during last second
- dropPackets : droppted packets by media server
- numPackets : number of rtp packets received
- numPacketsDelta : number of rtp packets received during last seconds
- numRTCPPackets : number of rtcp packsets received
- totalBytes : total rtp received bytes
- totalRTCPBytes : total rtp received bytes
- totalPLIs : total PLIs sent
- totalNACKs : total NACk packets sent
- bitrate : average bitrate received during last second in bps
- skew : difference between NTP timestamp and RTP timestamps at sender (from RTCP SR)
- drift : ratio between RTP timestamps and the NTP timestamp and at sender (from RTCP SR)
- clockRate : RTP clockrate
- layers : Information about each spatial/temporal layer (if present)
- spatialLayerId : Spatial layer id
- temporalLayerId : Temporatl layer id
- totalBytes : total rtp received bytes for this layer
- numPackets : number of rtp packets received for this layer
- bitrate : average bitrate received during last second for this layer
Returns Map<String, Object> Map with stats by encodingId
Get active encodings and layers ordered by bitrate
Returns 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 info object
Returns TrackInfo Track info
Return ssrcs associated to this track
Returns Object
Get track media type
Returns String "audio"|"video"
Add event listener
Returns IncomingStreamTrack
Add event listener once
Returns IncomingStream
Remove event listener
Returns IncomingStreamTrack
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
Store out of band h264 properties for this track
spropString Base64 encoded parameters from SDP
Check if track has out of band h264 properties
Returns Boolean
Get out of band h264 parameters from this track
Returns Boolean
Removes the track from the incoming stream and also detaches any attached outgoing track or recorder
IncomingStreamTrack stopped event
incomingStreamTrackIncomingStreamTrack
IncomingStreamTrack stopped event
incomingStreamTrackIncomingStreamTrack
IncomingStreamTrack stopped event
incomingStreamTrackIncomingStreamTrack