Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

RTP session state. More...

#include <zephyr/net/rtp.h>

Data Fields

struct rtp_transport transport
 Transport info.
struct rtp_session_context rtp_context
 Session configuration context.
struct k_mutex lock
 Mutex protecting concurrent access to session state.
uint32_t ssrc
 Synchronization source (SSRC) identifier for this session.
uint32_t timestamp
 Current RTP timestamp, advanced with each transmitted packet.
uint16_t sequence_number
 Sequence number of the next packet to be transmitted.
uint16_t local_port
 Local UDP port used when transmitting; 0 to auto-select (see CONFIG_RTP_LOCAL_PORT_BASE).
uint32_t csrc [CONFIG_RTP_MAX_CSRC_COUNT]
 Contributing source (CSRC) identifier list.
size_t csrc_len
 Number of active entries in csrc.
const char * name
 Human-readable session name used in debug log messages.

Detailed Description

RTP session state.

Declare with RTP_SESSION_DEFINE and configure with rtp_session_init before use.

Field Documentation

◆ csrc

uint32_t rtp_session::csrc[CONFIG_RTP_MAX_CSRC_COUNT]

Contributing source (CSRC) identifier list.

◆ csrc_len

size_t rtp_session::csrc_len

Number of active entries in csrc.

◆ local_port

uint16_t rtp_session::local_port

Local UDP port used when transmitting; 0 to auto-select (see CONFIG_RTP_LOCAL_PORT_BASE).

◆ lock

struct k_mutex rtp_session::lock

Mutex protecting concurrent access to session state.

◆ name

const char* rtp_session::name

Human-readable session name used in debug log messages.

◆ rtp_context

struct rtp_session_context rtp_session::rtp_context

Session configuration context.

◆ sequence_number

uint16_t rtp_session::sequence_number

Sequence number of the next packet to be transmitted.

◆ ssrc

uint32_t rtp_session::ssrc

Synchronization source (SSRC) identifier for this session.

◆ timestamp

uint32_t rtp_session::timestamp

Current RTP timestamp, advanced with each transmitted packet.

◆ transport

struct rtp_transport rtp_session::transport

Transport info.


The documentation for this struct was generated from the following file: