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

Reply via email to