Hi Everybody,
By observing the logcat, I figured out that my app was receiving a "NO
SETTINGS PERMISSION FOR" error/exception.
I wrote the manifest.webapp again from scratch and now everything is good!
Kumar,
The app must be packaged. The expected behavior (background audio) is
not allowed to host apps.
Regards,
-Eduardo
Em 25-03-2013 14:09, Kumar McMillan escreveu:
On Mar 23, 2013, at 9:49 PM, Edu Cremon <[email protected]> wrote:
Hi,
I'm trying to play streamed audio, but the audio goes muted as soon as the app
goes to background.
The webApp is packaged/certified (actually, it's a test_app)and the permission
"audio-channel-content" was set in manifest,
Follows the relevant part of the source-code:
stream.removeAttribute('src');
stream.load();
stream.mozAudioChannelType = 'content';
stream.src = liveStreamURL;
stream.load();
stream.play();
Am I doing something wrong?
Good question. I am seeing the same behavior. I checked b2g-ps in an adb shell
and my app is still running when the audio stops playing so it seems
deliberate. I don't know enough about audio to say why it's like that.
BTW, I was experimenting with a hosted app, no extra permissions. A live stream
worked just the same way.
Thanks in advance.
Regards,
-Eduardo
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps
_______________________________________________
dev-webapps mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-webapps