1 Reply Latest reply: Apr 12, 2010 7:21 AM by 843851 RSS

    MHP play sound, background sound problem

    843851
      Hi all,

      In my mhp app, I need to preview a ringtone, so I use

      player = javax.media.Manager.createPlayer(loc);

      player.start();

      sound played successfully, however, after finish, the background TV sound also gone.. I call player.stop(),also does not work.... any one knows why?

      thanks
      Aimar

      Edited by: AimarAimar on Sep 10, 2009 4:41 AM
        • 1. Re: MHP play sound, background sound problem
          843851
          Hi,

          It seems like the software platform you are using does not manage the presentation resources, in particular between JMF-created audio player and ServiceMediaHandler instance.

          Try to stop and start the ServiceMediaHandler (it is also an Player), returned from ServiceContext (ServiceContentHandler[] ServiceContext.getServiceContentHandlers()))

          Cheers.
          J.W.