| 236 |
* Record media from an established call using the mm device. |
* Record media from an established call using the mm device. |
| 237 |
* \param audio_uri - audio file. |
* \param audio_uri - audio file. |
| 238 |
* \param video_uri - video file. |
* \param video_uri - video file. |
| 239 |
|
* \param overlay - overlay content. |
| 240 |
* \param stop_digits - termination digits. |
* \param stop_digits - termination digits. |
| 241 |
* \param lang - language |
* \param lang - language |
| 242 |
* \param beep - if true, play a tone when recording starts. |
* \param beep - if true, play a tone when recording starts. |
| 243 |
*/ |
*/ |
| 244 |
virtual bool record( const std::string& audio_uri, |
virtual bool record( const std::string& audio_uri, |
| 245 |
const std::string& video_uri, |
const std::string& video_uri, |
| 246 |
|
const std::string& overlay, |
| 247 |
const std::string& stop_digits, |
const std::string& stop_digits, |
| 248 |
const std::string& lang, |
const std::string& lang, |
| 249 |
bool beep ); |
bool beep ); |
| 254 |
virtual bool stop(); |
virtual bool stop(); |
| 255 |
|
|
| 256 |
/*! |
/*! |
| 257 |
|
* Generate a video overlay. |
| 258 |
|
* \param overlay - overlay content. |
| 259 |
|
*/ |
| 260 |
|
bool requestOverlay( const std::string& overlay ); |
| 261 |
|
|
| 262 |
|
/*! |
| 263 |
* Create a half-duplex media bridge from the external device of this channel |
* Create a half-duplex media bridge from the external device of this channel |
| 264 |
* to the external device of another channel. |
* to the external device of another channel. |
| 265 |
* \param other_channel - channel to bridge to. |
* \param other_channel - channel to bridge to. |
| 493 |
void onDisconnectCompleted( ConfPartyDevice* device ); |
void onDisconnectCompleted( ConfPartyDevice* device ); |
| 494 |
|
|
| 495 |
/*! |
/*! |
| 496 |
|
* Handle a gateway media connect completion event from the statemachine. |
| 497 |
|
*/ |
| 498 |
|
void onGatewayConnected(); |
| 499 |
|
|
| 500 |
|
/*! |
| 501 |
|
* Handle a conference media connect completion event from the statemachine. |
| 502 |
|
*/ |
| 503 |
|
void onConfConnected(); |
| 504 |
|
|
| 505 |
|
/*! |
| 506 |
* Handle a play completion event from an mm device. |
* Handle a play completion event from an mm device. |
| 507 |
* \param mm - source of the event. |
* \param mm - source of the event. |
| 508 |
* \param reason - why the play stopped. |
* \param reason - why the play stopped. |
| 553 |
M3gDevice* m3gDevice_; /* FUTURE */ |
M3gDevice* m3gDevice_; /* FUTURE */ |
| 554 |
|
|
| 555 |
Protocol protocol_; |
Protocol protocol_; |
| 556 |
|
Direction direction_; /* inbound | outbound */ |
| 557 |
|
std::string conn_type_; /* CPA result (outbound) */ |
| 558 |
|
|
| 559 |
std::string stop_digits_; /* play/record remination digits */ |
std::string stop_digits_; /* play/record remination digits */ |
| 560 |
std::string collected_digits_; /* digits received during a play */ |
std::string collected_digits_; /* digits received during a play */ |