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

RTP session configuration context. More...

#include <zephyr/net/rtp.h>

Data Fields

struct net_ififace
 Network interface used by the session.
struct net_sockaddr_storage sock_addr
 Session address and port (multicast group address or unicast peer).
enum rtp_role role
 Role of the session: sink, source, or both.
uint8_t payload_type
 RTP payload type field value used when transmitting.
rtp_rx_cb_t callback
 Callback invoked upon packet reception; required when role is RTP_ROLE_SINK or RTP_ROLE_BOTH.
void * user_data
 Opaque user data forwarded to callback.

Detailed Description

RTP session configuration context.

Field Documentation

◆ callback

rtp_rx_cb_t rtp_session_context::callback

Callback invoked upon packet reception; required when role is RTP_ROLE_SINK or RTP_ROLE_BOTH.

◆ iface

struct net_if* rtp_session_context::iface

Network interface used by the session.

◆ payload_type

uint8_t rtp_session_context::payload_type

RTP payload type field value used when transmitting.

◆ role

enum rtp_role rtp_session_context::role

Role of the session: sink, source, or both.

◆ sock_addr

struct net_sockaddr_storage rtp_session_context::sock_addr

Session address and port (multicast group address or unicast peer).

◆ user_data

void* rtp_session_context::user_data

Opaque user data forwarded to callback.


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