gfuentesdev / google-cast-sdk

Automatically exported from code.google.com/p/google-cast-sdk
0 stars 0 forks source link

Chromecast media source extensions don't fire a NeedKey event for encrypted streams without a PSSH box #231

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use a receiver that can play a DASH stream
2. Play a DASH URL where the DASH init segments signal an encrypted stream, but 
do not contain a PSSH box
3.

What is the expected output? What do you see instead?
The media parser should parse the MP4 init segment, from which it can tell that 
the media is encrypted (the Sample Description entries will have type 'encv' 
and/or 'enca'). When encountering encrypted samples, the media parser should 
fire a NeedKey event (as specified in the W3C Encrypted Media Extensions).
Instead, the Chromecast media parser only fires a NeedKey event when it finds a 
PSSH box in the init segment, even though that box is entirely optional.

What version of the product are you using? On what operating system?
Chromecast Firmware Version: 16041

Please provide any additional information below.

An example of an encrypted stream with no PSSH box:
http://www.bok.net/dash/bunny2/encrypted_16/stream.mpd

DASH Content Protection using Microsoft PlayReady document: 
http://download.microsoft.com/download/4/8/3/483BE343-B8AF-4569-B7FF-5DCD14354CC
5/MPEG%20DASH%20Content%20Protection%20using%20PlayReady%201.1%20-%202013-02-18.
docx

Original issue reported on code.google.com by b...@bok.net on 9 Apr 2014 at 10:02

GoogleCodeExporter commented 8 years ago
This will be looked at in future releases.

Original comment by anad...@google.com on 9 Sep 2014 at 9:57