Skip to content

@seydx/rtsp / BackchannelAdvertise

Interface: BackchannelAdvertise

Defined in: sinks/rtsp-server/rtsp-server-sink.ts:102

Talkback codec descriptor advertised to viewers in the DESCRIBE SDP.

Describes the RTP payload format of the backchannel media so a viewer can SETUP a matching sendonly stream and push audio toward the camera.

Properties

channels

channels: number

Defined in: sinks/rtsp-server/rtsp-server-sink.ts:123

Number of audio channels; values greater than one append a /N suffix to the rtpmap encoding.


clockRate

clockRate: number

Defined in: sinks/rtsp-server/rtsp-server-sink.ts:117

RTP clock rate in Hz announced in the rtpmap line (e.g. 8000 for G.711).


codec

codec: string

Defined in: sinks/rtsp-server/rtsp-server-sink.ts:107

Lower-case FFmpeg codec name used to derive the SDP rtpmap encoding (e.g. pcm_mulaw, pcm_alaw, opus, aac).


payloadType

payloadType: number

Defined in: sinks/rtsp-server/rtsp-server-sink.ts:112

RTP payload type number announced for the talkback media in the SDP.