Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
stasis_app_playback Struct Reference

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

struct stasis_app_control* control

Control object for the channel we're playing back to

Definition at line 82 of file res_stasis_playback.c.

unsigned int controllable

Set when the playback can be controlled

Definition at line 92 of file res_stasis_playback.c.

const ast_string_field id

Playback unique id

Definition at line 74 of file res_stasis_playback.c.

Referenced by stasis_app_playback_get_id(), and stasis_app_playback_to_json().

const ast_string_field language

Preferred language

Definition at line 74 of file res_stasis_playback.c.

Referenced by stasis_app_playback_to_json().

const ast_string_field media

The current media playing

Definition at line 74 of file res_stasis_playback.c.

Referenced by stasis_app_playback_to_json().

size_t media_index

The current index in medias we're playing

Definition at line 79 of file res_stasis_playback.c.

Referenced by stasis_app_playback_to_json().

struct { ... } medias

The list of medias to play back

Referenced by stasis_app_control_play_uri(), and stasis_app_playback_to_json().

long offsetms

Number of milliseconds to skip before playing

Definition at line 84 of file res_stasis_playback.c.

Referenced by stasis_app_control_play_uri().

long playedms

Number of milliseconds of media that has been played

Definition at line 88 of file res_stasis_playback.c.

int skipms

Number of milliseconds to skip for forward/reverse operations

Definition at line 86 of file res_stasis_playback.c.

Referenced by stasis_app_control_play_uri().

const ast_string_field target

Playback device uri

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: