upipe-modules/upipe_rtp_prepend.h header reference

Upipe rtp module to prepend rtp header to uref blocks More

Header inclusion [link] 

Members [link] 

Types [link] 

Functions [link] 

Description [link] 

Upipe rtp module to prepend rtp header to uref blocks

Members detail [link] 

#define UPIPE_RTP_PREPEND_SIGNATURE [link] 

This macro is declared in upipe-modules/upipe_rtp_prepend.h source file, line 40.

#define _UPIPE_MODULES_UPIPE_RTP_PREPEND_H_ [link] 

This macro is declared in upipe-modules/upipe_rtp_prepend.h source file, line 31.

enum upipe_rtp_prepend_command [link] 

This enum is declared in upipe-modules/upipe_rtp_prepend.h source file, line 44.

This enum extends upipe_command with specific commands for rtp_prepend pipes.

IdentifierValueDescription
UPIPE_RTP_PREPEND_SENTINEL0x8000
UPIPE_RTP_PREPEND_SET_TYPE1set rtp type/clockrate (uint8_t)
UPIPE_RTP_PREPEND_GET_TYPE2set rtp type/clockrate (uint8_t*)
UPIPE_RTP_PREPEND_SET_CLOCKRATE3overwrite rtp clock rate (uint32_t)
UPIPE_RTP_PREPEND_GET_CLOCKRATE4get current rtp clock rate value (uint32_t*)
UPIPE_RTP_PREPEND_SET_TS_SYNC5overwrite rtp timestamp sync (enum upipe_rtp_prepend_ts_sync)
UPIPE_RTP_PREPEND_GET_TS_SYNC6get rtp timestamp sync (enum upipe_rtp_prepend_ts_sync *)

int upipe_rtp_prepend_get_clockrate(struct upipe *upipe, uint32_t *clockrate_p) [link] 

This function is declared in upipe-modules/upipe_rtp_prepend.h source file, line 109.

This function get the current RTP clock rate value.

Parameter list:

  • upipe: description structure of the pipe
  • clockrate_p: rtp clock rate value

The return value is an error code

int upipe_rtp_prepend_get_ts_sync(struct upipe *upipe, enum upipe_rtp_prepend_ts_sync *sync_p) [link] 

This function is declared in upipe-modules/upipe_rtp_prepend.h source file, line 145.

This function get the current timestamps sync clock.

Parameter list:

  • upipe: description structure of the pipe
  • sync_p: current timestamps sync clock

The return value is an error code

int upipe_rtp_prepend_get_type(struct upipe *upipe, uint8_t *type_p) [link] 

This function is declared in upipe-modules/upipe_rtp_prepend.h source file, line 69.

This function returns the configured RTP type.

Parameter list:

  • upipe: description structure of the pipe
  • type_p: rtp type

The return value is an error code

struct upipe_mgr * upipe_rtp_prepend_mgr_alloc(void ) [link] 

This function is declared in upipe-modules/upipe_rtp_prepend.h source file, line 154.

This function returns the management structure for rtp_prepend pipes.

The return value is pointer to manager

int upipe_rtp_prepend_set_clockrate(struct upipe *upipe, uint32_t clockrate) [link] 

This function is declared in upipe-modules/upipe_rtp_prepend.h source file, line 96.

This function overwrite the RTP clock rate value.

Parameter list:

  • upipe: description structure of the pipe
  • clockrate: rtp timestamp and clock rate (optional, set according to rfc 3551 if null)

The return value is an error code

int upipe_rtp_prepend_set_ts_sync(struct upipe *upipe, enum upipe_rtp_prepend_ts_sync sync) [link] 

This function is declared in upipe-modules/upipe_rtp_prepend.h source file, line 131.

This function overwrite the timestamps sync clock.

Parameter list:

  • upipe: description structure of the pipe
  • sync: timestamp sync clock

The return value is an error code

int upipe_rtp_prepend_set_type(struct upipe *upipe, uint8_t type) [link] 

This function is declared in upipe-modules/upipe_rtp_prepend.h source file, line 82.

This function sets the RTP type.

Parameter list:

  • upipe: description structure of the pipe
  • type: rtp payload type

The return value is an error code

enum upipe_rtp_prepend_ts_sync [link] 

This enum is declared in upipe-modules/upipe_rtp_prepend.h source file, line 115.

This enum timestamps sync clock values.

IdentifierValueDescription
UPIPE_RTP_PREPEND_TS_SYNC_CR0timestamps sync on cr clock
UPIPE_RTP_PREPEND_TS_SYNC_PTS1timestamps sync on pts clock
Valid XHTML 1.0 StrictGenerated by cmassiot on Sun Dec 14 18:31:17 2025 using MkDoc