Widevine license acquisition is failed with "persistentState:required" under Desktop Chrome.

1,692 views
Skip to first unread message

Alex Karlovich

unread,
Nov 8, 2016, 11:49:12 AM11/8/16
to Shaka Player Users
Hello,



We are using shaka player v.2.0.0 for dash streaming with the following configuration for the Widevine DRM:
'com.widevine.alpha': {
persistentStateRequired: true
}

This config is required to identify each unique device on license server side.

But the following error is appeared:

1. First request to the license server is ok, challenge body is full (Content-Length: 1767 Bytes) and license server returns correct license, playback successfully starts.

2. When user just reloads the page, the next license request contains practically empty challenge (Content-Length: 2 Bytes) and license acquisition flow is failed.


Does anybody have the such experience with "persistentState:required" & device identification? What could be wrong in our case?




Best regards,

Alex.

Alex Lee

unread,
Nov 8, 2016, 12:02:06 PM11/8/16
to shaka-pla...@googlegroups.com
The 2-byte license challenge is a Widevine certificate request, which enables persistentState.  Please make sure your license proxy send this small request (unsigned, unmodified) to the Widevine License Service for fulfillment.  The response metadata will indicate this is a certificate request type.

thanks,
Alex


--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-player-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shaka-player-users/f7108489-8eab-4960-8b20-cf4cc56ab31d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Karlovich

unread,
Nov 8, 2016, 12:21:12 PM11/8/16
to Shaka Player Users
Hi Alex,


Thanks a lot for the quick response,
I will provide this info to our BO engineers,


Best regards,

Sasha.


The 2-byte license challenge is a Widevine certificate request, which enables persistentState.  Please make sure your license proxy send this small request (unsigned, unmodified) to the Widevine License Service for fulfillment.  The response metadata will indicate this is a certificate request type.

thanks,
Alex
On Tue, Nov 8, 2016 at 8:49 AM, Alex Karlovich <alexka...@gmail.com> wrote:
Hello,



We are using shaka player v.2.0.0 for dash streaming with the following configuration for the Widevine DRM:
'com.widevine.alpha': {
persistentStateRequired: true
}

This config is required to identify each unique device on license server side.

But the following error is appeared:

1. First request to the license server is ok, challenge body is full (Content-Length: 1767 Bytes) and license server returns correct license, playback successfully starts.

2. When user just reloads the page, the next license request contains practically empty challenge (Content-Length: 2 Bytes) and license acquisition flow is failed.


Does anybody have the such experience with "persistentState:required" & device identification? What could be wrong in our case?




Best regards,

Alex.

--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-pla...@googlegroups.com.

Oleg T

unread,
Dec 14, 2016, 11:02:52 AM12/14/16
to Shaka Player Users
Hi Alex,


The 2-byte license challenge is a Widevine certificate request, which enables persistentState.  Please make sure your license proxy send this small request (unsigned, unmodified) to the Widevine License Service for fulfillment.  The response metadata will indicate this is a certificate request type.


Is this '2-byte' criteria is 100% reliable? We are going to implement the proxy exception for Widevine certificate request, as you proposed. But we need to make sure that we are using some criteria that proxy can safely rely on.

Alex Lee

unread,
Dec 14, 2016, 12:13:27 PM12/14/16
to shaka-pla...@googlegroups.com
Yes, something like under 10 bytes and if license response indicates a certificate type.

--
You received this message because you are subscribed to the Google Groups "Shaka Player Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shaka-player-users+unsub...@googlegroups.com.
To post to this group, send email to shaka-player-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages