Skip to content

node-av / webrtc / WebRTCCodecInfo

Interface: WebRTCCodecInfo

Defined in: src/api/webrtc-stream.ts:26

Codec information for WebRTC streaming.

Contains RTP codec parameters and FFmpeg codec IDs for video and audio streams. Used for codec negotiation in WebRTC peer connections.

Properties

audio?

optional audio?: Partial<RTCRtpCodecParameters> & object

Defined in: src/api/webrtc-stream.ts:39

Optional audio codec configuration. Combines RTP parameters (mimeType, clockRate, channels) with FFmpeg codec ID.

Type Declaration

codecId

codecId: AVCodecID


video?

optional video?: Partial<RTCRtpCodecParameters> & object

Defined in: src/api/webrtc-stream.ts:31

Video codec configuration. Combines RTP parameters (mimeType, clockRate, etc.) with FFmpeg codec ID.

Type Declaration

codecId

codecId: AVCodecID