Compy 0.2.0
A lightweight RTSP 1.0 server library for embedded systems
Loading...
Searching...
No Matches
backchannel.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <compy/droppable.h>
14#include <compy/receiver.h>
15
16#include <stdint.h>
17
18#include <compy/priv/compiler_attrs.h>
19
23typedef struct {
24 uint8_t payload_type;
25 uint32_t clock_rate;
27
32Compy_BackchannelConfig_default(void) COMPY_PRIV_MUST_USE;
33
35
46 Compy_AudioReceiver audio_receiver) COMPY_PRIV_MUST_USE;
47
57Compy_Backchannel_get_receiver(Compy_Backchannel *self) COMPY_PRIV_MUST_USE;
58
65Compy_Backchannel_get_config(const Compy_Backchannel *self) COMPY_PRIV_MUST_USE;
66
67declImplExtern99(Compy_Droppable, Compy_Backchannel);
Compy_Backchannel * Compy_Backchannel_new(Compy_BackchannelConfig config, Compy_AudioReceiver audio_receiver) COMPY_PRIV_MUST_USE
Creates a new backchannel session.
Definition backchannel.c:18
Compy_RtpReceiver * Compy_Backchannel_get_receiver(Compy_Backchannel *self) COMPY_PRIV_MUST_USE
Returns the underlying receiver for feeding incoming data.
Definition backchannel.c:41
Compy_BackchannelConfig Compy_BackchannelConfig_default(void) COMPY_PRIV_MUST_USE
Returns the default backchannel configuration (PCMU, 8000 Hz).
Definition backchannel.c:11
Compy_BackchannelConfig Compy_Backchannel_get_config(const Compy_Backchannel *self) COMPY_PRIV_MUST_USE
Returns the backchannel configuration (for SDP generation).
Definition backchannel.c:47
Droppable types support.
Unified receive path for RTCP and backchannel RTP data.
Backchannel audio configuration.
Definition backchannel.h:23
Definition backchannel.c:6
Definition receiver.c:8