RTCRtpReceiver
This WebRTC API interface manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection.
interface RTCRtpReceiver {
readonly track: MediaStreamTrack;
readonly transport: RTCDtlsTransport | null;
getContributingSources(): RTCRtpContributingSource[];
getParameters(): RTCRtpReceiveParameters;
getStats(): Promise<RTCStatsReport>;
getSynchronizationSources(): RTCRtpSynchronizationSource[];
}var RTCRtpReceiver: {
prototype: RTCRtpReceiver;
new (): RTCRtpReceiver;
getCapabilities(kind: string): RTCRtpCapabilities | null;
};§Methods
§
getContributingSources(): RTCRtpContributingSource[]
[src]§
getParameters(): RTCRtpReceiveParameters
[src]§
getStats(): Promise<RTCStatsReport>
[src]§
getSynchronizationSources(): RTCRtpSynchronizationSource[]
[src]