onEof problem with AudioMediaPlayer with 2.2.1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I subclassed AudioMediaPlayer and added my own onEof() callback and while
the callback does get called, I found that returning false has no effect as
the callback gets called continuously afterwards. For what it's worth I am
setting PJMEDIA_FILE_NO_LOOP in the player options.

Besides that, wouldn't it make sense to ignore the return value from
onEof() and always have it stop calling the onEof() callback internally if
PJMEDIA_FILE_NO_LOOP is set in the options for the player?


- Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140314/e4f4019f/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux