struct video_frame * frame
This file contains definition of some common audio types.
enum tx_media_type media_type
struct openssl_encrypt * encryption
Struct video_frame represents a video frame and contains video description.
void format_video_header(struct video_frame *frame, int tile_idx, int buffer_idx, uint32_t *hdr)
struct tx * tx_init(struct module *parent, unsigned mtu, enum tx_media_type media_type, const char *fec, const char *encryption, long long bitrate)
void audio_tx_send(struct tx *tx_session, struct rtp *rtp_session, const audio_frame2 *buffer)
void tx_send_h264(struct tx *tx_session, struct video_frame *frame, struct rtp *rtp_session)
void tx_send_jpeg(struct tx *tx_session, struct video_frame *frame, struct rtp *rtp_session)
void tx_send(struct tx *tx_session, struct video_frame *frame, struct rtp *rtp_session)
int tx_get_buffer_id(struct tx *tx_session)
void audio_tx_send_standard(struct tx *tx, struct rtp *rtp_session, const audio_frame2 *buffer)
void format_audio_header(const class audio_frame2 *frame, int channel, int buffer_idx, uint32_t *audio_hdr)
This file contains some common data types.