|
| int | rtp_init_header_extension (struct rtp_header_extension *hdr_x, uint16_t definition, uint8_t *data, size_t len) |
| | Initialize an RTP header extension.
|
| int | rtp_session_init (struct rtp_session *session, struct net_if *iface, struct net_sockaddr *sock_addr, enum rtp_role role, uint8_t payload_type, rtp_rx_cb_t callback, void *user_data, enum rtp_transport_type transport_type) |
| | Initialize an RTP session.
|
| static int | rtp_session_init_rx (struct rtp_session *session, struct net_if *iface, struct net_sockaddr *sock_addr, rtp_rx_cb_t callback, void *user_data, enum rtp_transport_type transport_type) |
| | Initialize a receive-only RTP session.
|
| static int | rtp_session_init_tx (struct rtp_session *session, struct net_if *iface, struct net_sockaddr *sock_addr, uint8_t payload_type, enum rtp_transport_type transport_type) |
| | Initialize a transmit-only RTP session.
|
| int | rtp_session_start (struct rtp_session *session) |
| | Start an RTP session.
|
| int | rtp_session_stop (struct rtp_session *session) |
| | Stop an RTP session.
|
| int | rtp_session_add_csrc (struct rtp_session *session, uint32_t csrc) |
| | Add a contributing source (CSRC) to the session.
|
| int | rtp_session_remove_csrc (struct rtp_session *session, uint32_t csrc) |
| | Remove a contributing source (CSRC) from the session.
|
| int | rtp_session_send (struct rtp_session *session, void *data, size_t len, uint32_t delta_ts, uint8_t padding, uint8_t marker, struct rtp_header_extension *hdr_x, uint32_t *timestamp) |
| | Send an RTP packet with an optional header extension and optional padding.
|
| static int | rtp_session_send_simple (struct rtp_session *session, void *data, size_t len, uint32_t delta_ts) |
| | Send an RTP packet without a header extension, padding or marker.
|
| static uint8_t | rtp_header_get_v (const struct rtp_header *h) |
| | Get the RTP version (V) field.
|
| static uint8_t | rtp_header_get_p (const struct rtp_header *h) |
| | Get the padding (P) flag.
|
| static uint8_t | rtp_header_get_x (const struct rtp_header *h) |
| | Get the extension (X) flag.
|
| static uint8_t | rtp_header_get_cc (const struct rtp_header *h) |
| | Get the CSRC count (CC) field.
|
| static uint8_t | rtp_header_get_m (const struct rtp_header *h) |
| | Get the marker (M) bit.
|
| static uint8_t | rtp_header_get_pt (const struct rtp_header *h) |
| | Get the payload type (PT) field.
|
| static void | rtp_header_set_v (struct rtp_header *h, uint8_t value) |
| | Set the RTP version (V) field.
|
| static void | rtp_header_set_p (struct rtp_header *h, uint8_t value) |
| | Set the padding (P) flag.
|
| static void | rtp_header_set_x (struct rtp_header *h, uint8_t value) |
| | Set the extension (X) flag.
|
| static void | rtp_header_set_cc (struct rtp_header *h, uint8_t value) |
| | Set the CSRC count (CC) field.
|
| static void | rtp_header_set_m (struct rtp_header *h, uint8_t value) |
| | Set the marker (M) bit.
|
| static void | rtp_header_set_pt (struct rtp_header *h, uint8_t value) |
| | Set the payload type (PT) field.
|
RTP (Real-time Transport Protocol) API.