will1971 / google-cast-sdk

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

Black screen is shown after trying to play live DRM content #740

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Play DRM live smooth (.ism) content (AKA stream 1)
2.Play different DRM live smooth (.ism) content (AKA stream 2)
3.Play the first DRM live smooth (.ism) content (AKA stream 1)

What is the expected output? What do you see instead?
The expected output is playing the first then the second and then the first 
again, instead, i see the first live stream the second live stream and then i 
see black screen.

BTW: if we will do the same steps with Clear stream we will not get any black 
screen and even if we will switch between clear and DRM it will also not work ( 
no black screen ) 

What version of the product are you using? On what operating system?
ChromeCast Firmware: 1.17.46278. 

Please provide any additional information below.

Original issue reported on code.google.com by imbere...@gmail.com on 21 Jan 2016 at 2:39

Attachments:

GoogleCodeExporter commented 8 years ago
Hey, i am having the same problem as well ... when i am trying to play DRM 
content, the first time is ok .. even if i am changing to different DRM is also 
working fine .. BUT , when i am trying to play again the first DRM  that i 
started with .. i cant play .. CC has some cache mechanism maybe ?  

Original comment by Magenya...@gmail.com on 24 Jan 2016 at 11:07

GoogleCodeExporter commented 8 years ago
Can you provide test streams and test receiver for us to reproduce the error? 

Original comment by varun...@google.com on 25 Jan 2016 at 10:58

GoogleCodeExporter commented 8 years ago
Hey Varun, Thanks for your respond ... 

this is the streams i am using .. i added the chromecast receiver as well .. 
the receiver is working with our systems, i am not sure you can use it :) but 
maybe you will :) 

first url:
 url ="http://95.91.188.37:5555/shss/LIVE%24702/4.ism/Manifest?start=LIVE&end=END&device=HSS_I_STB_ENC_LIVE_HD";

cd ="1Thk44lIYMEnOsqMfoPOlw==|222|400374";
serverUrl = "https://vfgtv-pp.vodafone.com/drm/rightsmanager.asmx";

Sec:
 url ="http://95.91.188.37:5555/shss/LIVE$700/4.ism/Manifest?start=LIVE&end=END&device=HSS_I_STB_ENC_LIVE_HD";

cd ="1Thk44lIYMEnOsqMfoPOlw==|222|400972";
serverUrl = "https://vfgtv-pp.vodafone.com/drm/rightsmanager.asmx";

Original comment by imbere...@gmail.com on 25 Jan 2016 at 12:04

Attachments:

GoogleCodeExporter commented 8 years ago
Can you please also provide logs of the error. I will try and reproduce on our 
end and let you know if I have any further questions. 

Original comment by varun...@google.com on 26 Jan 2016 at 2:19

GoogleCodeExporter commented 8 years ago
you can see in first comment in "mediaLog.rtf "
log not have error it show only "seeking due to stall" all time

Original comment by imbere...@gmail.com on 26 Jan 2016 at 2:22

GoogleCodeExporter commented 8 years ago
sorry, I missed that. Ok, this could an issue with your player. It seems that 
it's failing to get the next segment. 

I'm trying to play those test streams using our reference player but you need 
to implement CORS headers on your media servers for me to able to do that. 
See https://developers.google.com/cast/docs/player for more info. 

Original comment by varun...@google.com on 27 Jan 2016 at 8:09

GoogleCodeExporter commented 8 years ago
Hey Varun, 

It's seams like the  CORS is enabled there: 
http://95.91.188.37:5555/shss/LIVE%24702/4.ism/Manifest?start=LIVE&end=END&devic
e=HSS_I_STB_ENC_LIVE_HD

Attached print screen .. 

Original comment by kaltura....@gmail.com on 28 Jan 2016 at 10:19

Attachments:

GoogleCodeExporter commented 8 years ago
Access-Control-Allow-Origin → * 
CORS = Enabled 

Original comment by kaltura....@gmail.com on 28 Jan 2016 at 10:20

GoogleCodeExporter commented 8 years ago
CORS needs to be implemented on your DRM server also. See error log below 
specifically:

player.html:1 XMLHttpRequest cannot load 
https://drm-live.iptv.kabel-deutschland.de/rightsmanager.asmx. Response to 
preflight request doesn't pass access control check: No 
'Access-Control-Allow-Origin' header is present on the requested resource. 
Origin 'https://d5f1c09f26c2de17331f6b3730007c56171db5bf.googledrive.com' is 
therefore not allowed access.

Mixed Content: The page at 
'https://d5f1c09f26c2de17331f6b3730007c56171db5bf.googledrive.com/host/0B60Bjx60
PKEWQk9peHhLWFNlNG8/player.html' was loaded over HTTPS, but requested an 
insecure XMLHttpRequest endpoint 
'http://95.91.188.37:5555/shss/LIVE%24702/4.ism/S$d2EVSFNTX0lfU1RCX0VOQ19MSV…g
RU.v...wGf/QualityLevels(96000)/Fragments(audio_484_ita=14543457990416625)'. 
This content should also be served over HTTPS.
media_player.js:21  [188.488s] [cast.player.core.SourceBufferManager] 1: 
0.020701 - 8.04203
media_player.js:21  [188.491s] [cast.player.core.SourceBufferManager] 1: 
updateend
media_player.js:21  [188.578s] [goog.net.XhrIo] Request complete [GET 
http://95.91.188.37:5555/shss/LIVE%24702/4.ism/S$d2EVSFNTX0lfU1RCX0VOQ19MSVZFX0h
EEgRU.v...wGf/QualityLevels(1300234)/Fragments(video=14543457949996310) 200]
media_player.js:21  [188.582s] [cast.player.core.QualityManager] 0: 
current=4200641.35, average=3967548.11
media_player.js:21  [188.585s] [cast.player.core.SegmentManager] 0: process 
segment
media_player.js:21  [188.600s] [cast.player.core.SegmentManager] 0: segment 
processed
media_player.js:21  [188.606s] [cast.player.core.SourceBufferManager] 
adjustTime: 4 : 4
media_player.js:21  [188.610s] [cast.player.core.SourceBufferManager] 0: append
media_player.js:21  [188.616s] [cast.player.core.QualityManager] 0: from 
1300234 to 2202009
media_player.js:21  [188.620s] [cast.player.core.SegmentManager] 0: process 
segment
media_player.js:21  [188.624s] [cast.player.core.SegmentManager] 0: segment 
processed
media_player.js:21  [188.627s] [cast.player.core.SourceBufferManager] 0: queue 
append
player.html:1 XMLHttpRequest cannot load 
https://drm-live.iptv.kabel-deutschland.de/rightsmanager.asmx. Response to 
preflight request doesn't pass access control check: No 
'Access-Control-Allow-Origin' header is present on the requested resource. 
Origin 'https://d5f1c09f26c2de17331f6b3730007c56171db5bf.googledrive.com' is 
therefore not allowed access.
media_player.js:21  [188.643s] [goog.net.XhrIo] Request complete [POST 
https://drm-live.iptv.kabel-deutschland.de/rightsmanager.asmx 0]
media_player.js:21  [188.648s] [cast.player.core.MediaKeySession] xhr error
media_player.js:21  [188.655s] [cast.player.api.Host] error: 
cast.player.api.ErrorCode.MEDIAKEYS/201Eb @ media_player.js:21Cb.gi @ 
media_player.js:21gb.log @ media_player.js:18Ib @ media_player.js:22L @ 
media_player.js:84Bh.yc @ media_player.js:204mc @ 
media_player.js:33lc.dispatchEvent @ media_player.js:32Dc @ 
media_player.js:38Fc @ media_player.js:41D.Wi @ media_player.js:39D.Ch @ 
media_player.js:39
media_player.js:21  [188.662s] [cast.player.api.Player] unload

Original comment by varun...@google.com on 1 Feb 2016 at 5:02

GoogleCodeExporter commented 8 years ago
Please use the license acquisition URL provided at the top of the ticket. 
Namely -  https://vfgtv-pp.vodafone.com/drm/rightsmanager.asmx , instead from 
the one in the manifest

Original comment by eladbenf on 2 Feb 2016 at 6:38

GoogleCodeExporter commented 8 years ago
Hey Varun, 

We want to make sure that the problem is not in our receiver , so we did the 
following:

1. we use this CC receiver: https://github.com/googlecast/CastReferencePlayer
2. we send to that receiver the same streams that we used in our receiver 
3. we tried to reproduce the black screen
4. black screen reproduce with CastReferencePlayer receiver and our streams!

Original comment by kaltura....@gmail.com on 2 Feb 2016 at 1:43

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hey , we have some more details that maybe can help, we tried to reproduce the 
problems with few CC devices .. we found, two CC devices that can't reproduce 
the problem with them ( meaning we don't get the Black screen NEVER,  using the 
same receiver! ) . the common for those 2 is that:

1.  Both CC 1
2. Both Firmware: 1.17.46278 
3. Both have the same Specifications on the back on the device: 
Model: H2G2-42
FCC ID: A4RH2G2-42
IC: 10395A-H2G242
CAN ICES: 003 Class B
Assumably in China

BUT, in the other hand we have CC 1 that reproduce the Black Screen issue EVERY 
time, this is his details:
1.  CC 1
2. Firmware: 1.17.46278 
3. Specifications on the back on the device: 
Model: H2G2-42
FCC ID: A4RH2G2-2A
1600 Amphitheatre Parkway, Mountain View, California 94043 and assembled in 
China. 

All the other devices that we check was CC 2 , All of them reproduce the 
problem! 

So we think that maybe the problem is not reproduce on CC 1, that have this 
Specifications:
1.  CC 1
2. Firmware: 1.17.46278 
3. Specifications on the back on the device: 
Model: H2G2-42
FCC ID: A4RH2G2-42
IC: 10395A-H2G242
CAN ICES: 003 Class B
Assumably in China

Original comment by kaltura....@gmail.com on 10 Feb 2016 at 1:57

GoogleCodeExporter commented 8 years ago
One more found: when we "Disable Cache" in Chrome debugger we can't reproduce 
the problem at all! 

Original comment by kaltura....@gmail.com on 11 Feb 2016 at 8:25

Attachments: