@seydx/rtsp / BackchannelInput
Interface: BackchannelInput
Defined in: sinks/rtsp-server/backchannel-transcoder.ts:15
Inbound talkback RTP format produced by connected viewers.
Describes the codec and RTP parameters that the RTSP server advertises to talkback-capable clients and therefore expects to receive on the way back in. These values seed the synthetic input SDP that drives the decode side of the transcoder pipeline.
Properties
channels
channels:
number
Defined in: sinks/rtsp-server/backchannel-transcoder.ts:43
Number of audio channels in the inbound stream (1 for mono, 2 for stereo).
clockRate
clockRate:
number
Defined in: sinks/rtsp-server/backchannel-transcoder.ts:38
RTP clock rate (timestamp ticks per second) of the inbound audio.
Typically 8000 for narrowband G.711 or 48000 for Opus. Used to interpret RTP timestamps on the received packets.
codec
codec:
string
Defined in: sinks/rtsp-server/backchannel-transcoder.ts:22
Lower-case decoder codec name as understood by FFmpeg.
Examples include opus, pcm_mulaw, or pcm_alaw. The name is resolved to a concrete decoder when the transcoder starts; an unknown name aborts startup.
fmtp?
optionalfmtp?:string
Defined in: sinks/rtsp-server/backchannel-transcoder.ts:51
Optional SDP fmtp line for the inbound codec.
Carries codec-specific format parameters (for example Opus or AAC config) and is appended verbatim to the generated input SDP when present.
payloadType
payloadType:
number
Defined in: sinks/rtsp-server/backchannel-transcoder.ts:30
RTP payload type number advertised for the inbound stream.
Must match the payload type the viewer uses when sending talkback packets so the demuxer can associate them with the configured decoder.