Asterisk - The Open Source Telephony Project GIT-master-d856a3e
Data Fields
stasis_app_playback Struct Reference
Collaboration diagram for stasis_app_playback:
Collaboration graph
[legend]

Data Fields

struct ast_string_field_mgr __field_mgr
 
struct ast_string_field_pool__field_mgr_pool
 
struct stasis_app_controlcontrol
 
unsigned int controllable:1
 
const ast_string_field id
 
const ast_string_field language
 
const ast_string_field media
 
size_t media_index
 
struct {
   size_t   current
 
   char **   elems
 
   size_t   max
 
medias
 
long offsetms
 
long playedms
 
int skipms
 
enum stasis_app_playback_state state
 
const ast_string_field target
 

Detailed Description

Playback control object for res_stasis

Definition at line 68 of file res_stasis_playback.c.

Field Documentation

◆ __field_mgr

struct ast_string_field_mgr __field_mgr

Definition at line 74 of file res_stasis_playback.c.

◆ __field_mgr_pool

struct ast_string_field_pool* __field_mgr_pool

< Playback unique id

< The current media playing

< Preferred language

< Playback device uri

Definition at line 74 of file res_stasis_playback.c.

◆ control

struct stasis_app_control* control

◆ controllable

unsigned int controllable

Set when the playback can be controlled

Definition at line 92 of file res_stasis_playback.c.

Referenced by play_on_channel(), playback_forward(), playback_pause(), playback_restart(), playback_reverse(), playback_stop(), and playback_unpause().

◆ current

size_t current

Definition at line 76 of file res_stasis_playback.c.

◆ elems

char* * elems

Definition at line 76 of file res_stasis_playback.c.

◆ id

const ast_string_field id

◆ language

const ast_string_field language

Definition at line 74 of file res_stasis_playback.c.

Referenced by play_on_channel(), and stasis_app_playback_to_json().

◆ max

size_t max

Definition at line 76 of file res_stasis_playback.c.

◆ media

const ast_string_field media

◆ media_index

size_t media_index

The current index in medias we're playing

Definition at line 79 of file res_stasis_playback.c.

Referenced by play_on_channel(), playback_final_update(), and stasis_app_playback_to_json().

◆ 

struct { ... } medias

◆ offsetms

long offsetms

Number of milliseconds to skip before playing

Definition at line 84 of file res_stasis_playback.c.

Referenced by play_on_channel(), and stasis_app_control_play_uri().

◆ playedms

long playedms

Number of milliseconds of media that has been played

Definition at line 88 of file res_stasis_playback.c.

Referenced by playback_final_update().

◆ skipms

int skipms

Number of milliseconds to skip for forward/reverse operations

Definition at line 86 of file res_stasis_playback.c.

Referenced by play_on_channel(), and stasis_app_control_play_uri().

◆ state

◆ target

const ast_string_field target

Definition at line 74 of file res_stasis_playback.c.

Referenced by stasis_app_playback_to_json().


The documentation for this struct was generated from the following file: