How to handle Widevine provisioning request use the Drm API?

878 views
Skip to first unread message

wei nie

unread,
Jan 31, 2018, 10:35:35 PM1/31/18
to cobalt-dev
In starboard DRM API (src/starboard/drm.h), there seems no flow to handle Widevine device certificate request with provisioning server?

the  David Ghandehari Suggest as follows:"Ah, I see. You can do your own HTTP post, but it is preferred to report the provisioning request as the first licensing request, and the app will send the HTTP POST for you. You can then send the real license request as an unsolicited license request once the provisioning response has been received. – David Ghandehari Jul 20 '17 at 3:26"

But we still have a lot of questions in the details,

the Drm flow we process will be as follows , is that right? if not right,can give me the detail process ?


SbDrmCreateSystem -> 

SbDrmGenerateSessionUpdateRequest -> 

SbDrmSessionUpdateRequestFunc (with valid ticket and valid session_id to send provisioning request) -> 

SbDrmUpdateSession (update the provisioning response to CDM) -> 

SbDrmSessionUpdatedFunc (if this callback need?) -> 

SbDrmSessionUpdateRequestFunc (with invalid ticket and valid session_id (the same session with the provisioning request) to send real license request) -> 

SbDrmUpdateSession (update the license response to CDM) -> 

SbDrmSessionUpdatedFunc (notify the license is success)

wei nie

unread,
Jan 31, 2018, 10:38:41 PM1/31/18
to cobalt-dev
the question at stackoverflow is




在 2018年2月1日星期四 UTC+8上午11:35:35,wei nie写道:

Xiaoming Shi

unread,
Jan 31, 2018, 11:16:09 PM1/31/18
to wei nie, cobalt-dev
Replied on stackoverflow.

You received this message because you are subscribed to the Google Groups "cobalt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cobalt-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

wei nie

unread,
Feb 2, 2018, 3:07:17 AM2/2/18
to cobalt-dev
The page (qual EME test case ) don't  use the url  the cobalt post to it , it is fixed in the page.

detail to stackoverflow





在 2018年2月1日星期四 UTC+8下午12:16:09,Xiaoming Shi写道:
Reply all
Reply to author
Forward
0 new messages