import { Direction } from "./rtpTransceiver"; export interface RTCRtpParameters { codecs: RTCRtpCodecParameters[]; headerExtensions: RTCRtpHeaderExtensionParameters[]; muxId?: string; rtpStreamId?: string; repairedRtpStreamId?: string; rtcp?: RTCRtcpParameters; } export type RTCPFB = { type: string; parameter?: string; }; export declare class RTCRtpCodecParameters { /** * When specifying a codec with a fixed payloadType such as PCMU, * it is necessary to set the correct PayloadType in RTCRtpCodecParameters in advance. */ payloadType: number; mimeType: string; clockRate: number; channels?: number; rtcpFeedback: RTCPFB[]; parameters?: string; direction: Direction | "all"; constructor(props: Pick & Partial); get name(): string; get contentType(): string; get str(): string; } export declare class RTCRtpHeaderExtensionParameters { id: number; uri: string; constructor(props: Partial & Pick); } export declare class RTCRtcpParameters { cname?: string; mux: boolean; ssrc?: number; constructor(props?: Partial); } export declare class RTCRtcpFeedback { type: string; parameter?: string; constructor(props?: Partial); } export declare class RTCRtpRtxParameters { ssrc: number; constructor(props?: Partial); } export declare class RTCRtpCodingParameters { ssrc: number; payloadType: number; rtx?: RTCRtpRtxParameters; constructor(props: Partial & Pick); } export interface RTCRtpReceiveParameters extends RTCRtpParameters { encodings: RTCRtpCodingParameters[]; } export interface RTCRtpSendParameters extends RTCRtpParameters { } export declare class RTCRtpSimulcastParameters { rid: string; direction: "send" | "recv"; constructor(props: RTCRtpSimulcastParameters); }