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
- getContributingSources(): RTCRtpContributingSource[]
Returns RTCRtpContributingSource[]
getParameters
- getParameters(): RTCRtpReceiveParameters
Returns RTCRtpReceiveParameters
getStats
- getStats(): Promise<RTCStatsReport>
Returns Promise<RTCStatsReport>
getSynchronizationSources
- getSynchronizationSources(): RTCRtpSynchronizationSource[]
Returns RTCRtpSynchronizationSource[]
This WebRTC API interface manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection.
MDN Reference