Posted: Fri Feb 22, 2008 6:36 am Post subject: [Asterisk-video] Unable to detect hangup during mp4play
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;
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum