upipe-modules/upipe_rtp_prepend.h header reference

Upipe rtp module to prepend rtp header to uref blocks More

Header inclusion  

Members  

Types  

Functions  

Description  

Upipe rtp module to prepend rtp header to uref blocks

Members detail  

#define UPIPE_RTP_PREPEND_SIGNATURE  

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

#define _UPIPE_MODULES_UPIPE_RTP_PREPEND_H_  

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

enum upipe_rtp_prepend_command  

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_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_RTP_PREPEND_SET_TYPEunknownset rtp type/clockrate (uint8_t)
UPIPE_RTP_PREPEND_GET_TYPEunknownset rtp type/clockrate (uint8_t*)
UPIPE_RTP_PREPEND_SET_CLOCKRATEunknownoverwrite rtp clock rate (uint32_t)
UPIPE_RTP_PREPEND_GET_CLOCKRATEunknownget current rtp clock rate value (uint32_t*)
UPIPE_RTP_PREPEND_SET_TS_SYNCunknownoverwrite rtp timestamp sync (enum upipe_rtp_prepend_ts_sync)
UPIPE_RTP_PREPEND_GET_TS_SYNCunknownget rtp timestamp sync (enum upipe_rtp_prepend_ts_sync *)

int upipe_rtp_prepend_get_clockrate(struct upipe *upipe, uint32_t *clockrate_p)  

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)  

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)  

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 )  

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)  

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)  

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)  

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  

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 Fri Feb 2 23:57:18 2018 using MkDoc