mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add H.263 video support
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -116,6 +116,10 @@ struct ast_channel {
|
||||
int streamid;
|
||||
/*! Stream itself. */
|
||||
struct ast_filestream *stream;
|
||||
/*! For streaming playback, the schedule ID */
|
||||
int vstreamid;
|
||||
/*! Stream itself. */
|
||||
struct ast_filestream *vstream;
|
||||
/*! Original writer format */
|
||||
int oldwriteformat;
|
||||
|
||||
|
@@ -171,7 +171,7 @@ int ast_writestream(struct ast_filestream *fs, struct ast_frame *f);
|
||||
*/
|
||||
int ast_closestream(struct ast_filestream *f);
|
||||
|
||||
//! Opens stream for use in seeking, playing, and writing
|
||||
//! Opens stream for use in seeking, playing
|
||||
/*!
|
||||
* \param chan channel to work with
|
||||
* \param filename to use
|
||||
@@ -180,6 +180,15 @@ int ast_closestream(struct ast_filestream *f);
|
||||
*/
|
||||
struct ast_filestream *ast_openstream(struct ast_channel *chan, char *filename, char *preflang);
|
||||
|
||||
//! Opens stream for use in seeking, playing
|
||||
/*!
|
||||
* \param chan channel to work with
|
||||
* \param filename to use
|
||||
* \param preflang prefered language to use
|
||||
* Returns a ast_filestream pointer if it opens the file, NULL on error
|
||||
*/
|
||||
struct ast_filestream *ast_openvstream(struct ast_channel *chan, char *filename, char *preflang);
|
||||
|
||||
//! Applys a open stream to a channel.
|
||||
/*!
|
||||
* \param chan channel to work
|
||||
|
Reference in New Issue
Block a user