RTCRtpReceiver

Overview

The RTCRtpReceiver interface of the WebRTC API manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection.

Location

 

getContributingSources

Returns an array of RTCRtpContributingSource instances for each unique CSRC (contributing source) identifier received by the current RTCRtpReceiver in the last ten seconds.

 

method getContributingSources: array of RTCRtpContributingSource

 

RTCRtpContributingSource[] getContributingSources()

 

func getContributingSources() -> RTCRtpContributingSource...

 

RTCRtpContributingSource[] getContributingSources()

 

Function getContributingSources() As RTCRtpContributingSource()

getParameters

Returns an RTCRtpParameters object which contains information about how the RTC data is to be decoded.

 

method getParameters: dynamic

 

dynamic getParameters()

 

func getParameters() -> dynamic

 

dynamic getParameters()

 

Function getParameters() As dynamic

getStats

Returns a Promise whose fulfillment handler receives a RTCStatsReport which contains statistics about the incoming streams and their dependencies.

 

method getStats: dynamic

 

dynamic getStats()

 

func getStats() -> dynamic

 

dynamic getStats()

 

Function getStats() As dynamic

getSynchronizationSources

Returns an array including one RTCRtpSynchronizationSource instance for each unique SSRC (synchronization source) identifier received by the current RTCRtpReceiver in the last ten seconds.

 

method getSynchronizationSources: dynamic

 

dynamic getSynchronizationSources()

 

func getSynchronizationSources() -> dynamic

 

dynamic getSynchronizationSources()

 

Function getSynchronizationSources() As dynamic

rtcpTransport

 

property rtcpTransport: dynamic read;

 

dynamic rtcpTransport { get; }

 

var rtcpTransport: dynamic { get{} }

 

dynamic rtcpTransport { __get; }

 

ReadOnly Property rtcpTransport() As dynamic

track

 

property track: MediaStreamTrack read;

 

MediaStreamTrack track { get; }

 

var track: MediaStreamTrack { get{} }

 

MediaStreamTrack track { __get; }

 

ReadOnly Property track() As MediaStreamTrack

transport

 

property transport: dynamic read;

 

dynamic transport { get; }

 

var transport: dynamic { get{} }

 

dynamic transport { __get; }

 

ReadOnly Property transport() As dynamic

 

rtcpTransport

 

property rtcpTransport: dynamic read;

 

dynamic rtcpTransport { get; }

 

var rtcpTransport: dynamic { get{} }

 

dynamic rtcpTransport { __get; }

 

ReadOnly Property rtcpTransport() As dynamic

track

 

property track: MediaStreamTrack read;

 

MediaStreamTrack track { get; }

 

var track: MediaStreamTrack { get{} }

 

MediaStreamTrack track { __get; }

 

ReadOnly Property track() As MediaStreamTrack

transport

 

property transport: dynamic read;

 

dynamic transport { get; }

 

var transport: dynamic { get{} }

 

dynamic transport { __get; }

 

ReadOnly Property transport() As dynamic

 

getContributingSources

Returns an array of RTCRtpContributingSource instances for each unique CSRC (contributing source) identifier received by the current RTCRtpReceiver in the last ten seconds.

 

method getContributingSources: array of RTCRtpContributingSource

 

RTCRtpContributingSource[] getContributingSources()

 

func getContributingSources() -> RTCRtpContributingSource...

 

RTCRtpContributingSource[] getContributingSources()

 

Function getContributingSources() As RTCRtpContributingSource()

getParameters

Returns an RTCRtpParameters object which contains information about how the RTC data is to be decoded.

 

method getParameters: dynamic

 

dynamic getParameters()

 

func getParameters() -> dynamic

 

dynamic getParameters()

 

Function getParameters() As dynamic

getStats

Returns a Promise whose fulfillment handler receives a RTCStatsReport which contains statistics about the incoming streams and their dependencies.

 

method getStats: dynamic

 

dynamic getStats()

 

func getStats() -> dynamic

 

dynamic getStats()

 

Function getStats() As dynamic

getSynchronizationSources

Returns an array including one RTCRtpSynchronizationSource instance for each unique SSRC (synchronization source) identifier received by the current RTCRtpReceiver in the last ten seconds.

 

method getSynchronizationSources: dynamic

 

dynamic getSynchronizationSources()

 

func getSynchronizationSources() -> dynamic

 

dynamic getSynchronizationSources()

 

Function getSynchronizationSources() As dynamic