UniMRCP  1.7.0
Functions
mpf_rtp_stream.h File Reference

MPF RTP Stream. More...

#include "mpf_stream.h"
#include "mpf_rtp_descriptor.h"
Include dependency graph for mpf_rtp_stream.h:

Go to the source code of this file.

Functions

APT_BEGIN_EXTERN_C mpf_audio_stream_tmpf_rtp_stream_create (mpf_termination_t *termination, mpf_rtp_config_t *config, mpf_rtp_settings_t *settings, apr_pool_t *pool)
 
apt_bool_t mpf_rtp_stream_add (mpf_audio_stream_t *stream)
 
apt_bool_t mpf_rtp_stream_remove (mpf_audio_stream_t *stream)
 
apt_bool_t mpf_rtp_stream_modify (mpf_audio_stream_t *stream, mpf_rtp_stream_descriptor_t *descriptor)
 

Detailed Description

MPF RTP Stream.

Function Documentation

◆ mpf_rtp_stream_add()

apt_bool_t mpf_rtp_stream_add ( mpf_audio_stream_t stream)

Add/enable RTP stream.

Parameters
streamRTP stream to add

◆ mpf_rtp_stream_create()

APT_BEGIN_EXTERN_C mpf_audio_stream_t* mpf_rtp_stream_create ( mpf_termination_t termination,
mpf_rtp_config_t config,
mpf_rtp_settings_t settings,
apr_pool_t *  pool 
)

Create RTP stream.

Parameters
terminationthe back pointer to hold
configthe configuration of RTP factory
settingsthe settings to use
poolthe pool to allocate memory from

◆ mpf_rtp_stream_modify()

apt_bool_t mpf_rtp_stream_modify ( mpf_audio_stream_t stream,
mpf_rtp_stream_descriptor_t descriptor 
)

Modify RTP stream.

Parameters
streamRTP stream to modify
descriptorthe descriptor to modify stream according

◆ mpf_rtp_stream_remove()

apt_bool_t mpf_rtp_stream_remove ( mpf_audio_stream_t stream)

Subtract/disable RTP stream.

Parameters
streamRTP stream to subtract