Interface RTCRtpReceiver
interface RTCRtpReceiver {
jitterBufferTarget: number;
track: MediaStreamTrack;
transform: RTCRtpScriptTransform;
transport: RTCDtlsTransport;
getContributingSources(): RTCRtpContributingSource[];
getParameters(): RTCRtpReceiveParameters;
getStats(): Promise<RTCStatsReport>;
getSynchronizationSources(): RTCRtpSynchronizationSource[];
}
jitterBufferTarget: number;
track: MediaStreamTrack;
transform: RTCRtpScriptTransform;
transport: RTCDtlsTransport;
getContributingSources(): RTCRtpContributingSource[];
getParameters(): RTCRtpReceiveParameters;
getStats(): Promise<RTCStatsReport>;
getSynchronizationSources(): RTCRtpSynchronizationSource[];
}
Index
Methods
getContributingSources
- get
Contributing (): RTCRtpContributingSource[]Sources Returns RTCRtpContributingSource[]
getParameters
- get
Parameters (): RTCRtpReceiveParameters Returns RTCRtpReceiveParameters
getStats
- get
Stats (): Promise<RTCStatsReport> Returns Promise<RTCStatsReport>
getSynchronizationSources
- get
Synchronization (): RTCRtpSynchronizationSource[]Sources Returns RTCRtpSynchronizationSource[]
This WebRTC API interface manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection.
MDN Reference