Closed Bug 956238 Opened 12 years ago Closed 8 years ago

Protected DRM AAC audio file in MP4 or M4A Container doesn't play

Categories

(Core :: Audio/Video: Playback, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: martin_8014, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release) Build ID: 20130803215302 Steps to reproduce: I have a m4a audio file with following specs (avconv): Metadata: major_brand : mp42 minor_version : 0 compatible_brands: mp42isom3gp63g2a3gp4 Duration: 00:04:16.76, start: 0.000000, bitrate: 48 kb/s Stream #0.0(und): Audio: aac, 44100 Hz, stereo, s16, 48 kb/s Metadata: I send the file with following headers: response.setHeader("Content-Disposition","inline; filename=\"audio.m4a\""); response.setContentType("application/vnd.oma.drm.message;boundary=boundary-1"); response.setHeader("Content-Length", String.valueOf(buf_size)); out.write(("--boundary-1\r\n").getBytes()); out.write(("Content-Type: audio/m4a\r\n").getBytes()); out.write(("Content-Transfer-Encoding: binary\r\n\r\n").getBytes()); out.write(IOUtils.toByteArray(data.getInputStream())); out.write(("\r\n").getBytes()); out.write(("--boundary-1--").getBytes()); The file is protected with DRM (forward lock) Firefox downloads the file correctly but the file cannot be played. I don't observe that the file turns into an fl or dcf file like in Chrome. I have tried to use other Content Types like audio/mp4a-latm or audio/aac or audio/mp4 but neither of them work. With Xuggle: http://www.xuggle.com/ I have transcoded the file to mp3 and all works fine. I have also transcoded the file to aac and all works fine. In both cases the file is playable but the DRM isn't applied (the file doesn't get converted into an fl or dcf file). Actual results: The mp4 or m4a file cannot be played in a standard Android player. The DRM protection isn't applied. Expected results: The aac audio in an mp4 or m4a container should be played correctly. Thank you.
Component: General → Video/Audio
Product: Firefox for Android → Core
Version: Firefox 26 → unspecified
Forward lock is implemented in the Gaia side as far as I'm aware. Perhaps it doesn't support MP4.
Component: Video/Audio → Gaia::Music
Product: Core → Firefox OS
This was filed against Firefox for Android.
Component: Gaia::Music → Video/Audio
Product: Firefox OS → Core
Component: Audio/Video → Audio/Video: Playback
Why are you not doing more of that? When you support it?
Flags: needinfo?(kbrosnan)
We're not doing forward-lock. We support Widevine EME in Firefox on Desktop and Android if you want DRM.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Flags: needinfo?(kbrosnan)
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.