upipe-modules/upipe_rtp_prepend.h header reference
Upipe rtp module to prepend rtp header to uref blocks More
Header inclusion
Members
Types
Functions
- int upipe_rtp_prepend_get_clockrate(struct upipe *upipe, uint32_t *clockrate_p)
 - int upipe_rtp_prepend_get_ts_sync(struct upipe *upipe, enum upipe_rtp_prepend_ts_sync *sync_p)
 - int upipe_rtp_prepend_get_type(struct upipe *upipe, uint8_t *type_p)
 - struct upipe_mgr * upipe_rtp_prepend_mgr_alloc(void )
 - int upipe_rtp_prepend_set_clockrate(struct upipe *upipe, uint32_t clockrate)
 - int upipe_rtp_prepend_set_ts_sync(struct upipe *upipe, enum upipe_rtp_prepend_ts_sync sync)
 - int upipe_rtp_prepend_set_type(struct upipe *upipe, uint8_t type)
 
Description
Upipe rtp module to prepend rtp header to uref blocks
Members detail
This macro is declared in upipe-modules/upipe_rtp_prepend.h source file, line 40.
This macro is declared in upipe-modules/upipe_rtp_prepend.h source file, line 31.
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.
| Identifier | Value | Description | 
|---|---|---|
| UPIPE_RTP_PREPEND_SENTINEL | UPIPE_CONTROL_LOCAL | |
| UPIPE_RTP_PREPEND_SET_TYPE | unknown | set rtp type/clockrate (uint8_t) | 
| UPIPE_RTP_PREPEND_GET_TYPE | unknown | set rtp type/clockrate (uint8_t*) | 
| UPIPE_RTP_PREPEND_SET_CLOCKRATE | unknown | overwrite rtp clock rate (uint32_t) | 
| UPIPE_RTP_PREPEND_GET_CLOCKRATE | unknown | get current rtp clock rate value (uint32_t*) | 
| UPIPE_RTP_PREPEND_SET_TS_SYNC | unknown | overwrite rtp timestamp sync (enum upipe_rtp_prepend_ts_sync) | 
| UPIPE_RTP_PREPEND_GET_TS_SYNC | unknown | get rtp timestamp sync (enum upipe_rtp_prepend_ts_sync *) | 
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
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
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
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
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
This enum is declared in upipe-modules/upipe_rtp_prepend.h source file, line 115.
This enum timestamps sync clock values.
| Identifier | Value | Description | 
|---|---|---|
| UPIPE_RTP_PREPEND_TS_SYNC_CR | 0 | timestamps sync on cr clock | 
| UPIPE_RTP_PREPEND_TS_SYNC_PTS | 1 | timestamps sync on pts clock |