List Info

Thread: Unable to detect hangup during mp4play




Unable to detect hangup during mp4play
country flaguser name
Malaysia
2008-02-22 00:26:34
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.doc
s.yahoo.com/nowyoucan.html

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.c
om--

asterisk-video mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-video

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )