Displaying 1 result from an estimated 1 matches for "oreadformat".
Did you mean:
readformat
2005 Aug 26
0
Broken pipe of stdinpcm on asterisk-ices.xml
...tart
"asterisk-ices.xml".
The part of "app_ices.c" is as follows:
---------------------------------------------------------
static int ices_exec(struct ast_channel *chan, void *data)
{
int res=0;
struct localuser *u;
int fds[2];
int ms = -1;
int pid = -1;
int flags;
int oreadformat;
struct timeval last;
struct ast_frame *f;
char filename[256]="";
char *c;
last.tv_usec = 0;
last.tv_sec = 0;
...(snip).....
res = icesencode(filename, fds[0]);
close(fds[0]);
if (res >= 0) {
pid = res;
for (;;) {
/* Wait for audio, and stream */
ms = ast_waitfor(cha...