upipe-modules/upipe_rtp_prepend.h header reference

Upipe rtp module to prepend rtp header to uref blocks More

Header inclusion  

Members  

Type  

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_SENTINEL0
UPIPE_RTP_PREPEND_SET_TYPE1set rtp type/clockrate (uint8_t, uint32_t)
UPIPE_RTP_PREPEND_GET_TYPE2set 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

Valid XHTML 1.0 StrictGenerated by cmassiot on Thu Nov 6 12:15:25 2014 using MkDoc