[Asterisk-video] Unable to detect hangup during mp4play

Low Yu Siang yusiang at yahoo.com
Fri Feb 22 00:26:34 CST 2008


Hi!

It seems that during mp4play, it doesn't return
hangup/error code(-1) if the caller hangs up.
Therefore we can't detect whether the video has been
finished playing or it is stopped by hangup. Is there
any solution/workaround for this? 

It doesn't work when I tried to modify app_mp4.c as
below:-

/* if we have been hang up */
if (ms < 0) 
     res = -1;   // added this line
     /* exit */
     goto end;

Regards,
Steve


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Inbox. http://uk.docs.yahoo.com/nowyoucan.html



More information about the asterisk-video mailing list