upipe-modules/upipe_rtp_prepend.h header reference
Upipe rtp module to prepend rtp header to uref blocks More
Header inclusion
Members
Type
Functions
- int upipe_rtp_prepend_get_type(struct upipe *upipe, uint8_t *type_p, uint32_t *clockrate_p)
- struct upipe_mgr * upipe_rtp_prepend_mgr_alloc(void )
- int upipe_rtp_prepend_set_type(struct upipe *upipe, uint8_t type, uint32_t clockrate)
Description
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 | 0 | |
UPIPE_RTP_PREPEND_SET_TYPE | 1 | set rtp type/clockrate (uint8_t, uint32_t) |
UPIPE_RTP_PREPEND_GET_TYPE | 2 | set rtp type/clockrate (uint8_t*, uint32_t*) |
int upipe_rtp_prepend_get_type(struct upipe *upipe, uint8_t *type_p, uint32_t *clockrate_p)
This function is declared in upipe-modules/upipe_rtp_prepend.h source file, line 63.
This function returns the configured RTP type.
Parameters list:
- upipe: description structure of the pipe
- type_p: rtp type
- clockrate_p: rtp timestamp clock rate
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 88.
This function returns the management structure for rtp_prepend pipes.
The return value is pointer to manager
int upipe_rtp_prepend_set_type(struct upipe *upipe, uint8_t type, uint32_t clockrate)
This function is declared in upipe-modules/upipe_rtp_prepend.h source file, line 79.
This function sets the RTP type.
Parameters list:
- upipe: description structure of the pipe
- type: rtp payload type
- clockrate: rtp timestamp and clock rate (optional, set according to rfc 3551 if null)
The return value is an error code