That should work. Though keep in mind that mozAudioChannelType is
currently only implemented on B2G.

/ Jonas

On Sat, Mar 23, 2013 at 7: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?
>
> 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