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:
Mark Spencer
2003-06-29 03:24:39 +00:00
parent 3b78918878
commit 9c9ee7c952
7 changed files with 438 additions and 17 deletions

View File

@@ -183,6 +183,14 @@ static int record_exec(struct ast_channel *chan, void *data)
}
}
}
if (f->frametype == AST_FRAME_VIDEO) {
res = ast_writestream(s, f);
if (res) {
ast_log(LOG_WARNING, "Problem writing frame\n");
break;
}
}
if ((f->frametype == AST_FRAME_DTMF) &&
(f->subclass == '#')) {
ast_frfree(f);