minshikshin / google-cast-sdk

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

Expose keymessage, keySystem, initData, sessionId to cast.player.api.Host.prepareLicenseRequest() #584

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
For now this function does not receives any arguments. It will be nice if this 
can be a part of SDK.

    <    this.c.prepareLicenseRequest && !this.c.prepareLicenseRequest() || this.gb()
    ---
    >    this.c.prepareLicenseRequest && !this.c.prepareLicenseRequest(this.ef, Df[this.vc], this.qb, this.hf) || this.gb()

Please verify the variable names cause they can be different (they can be found 
in ```webkitAddKey()``` call later in the media_player.js code).

Original issue reported on code.google.com by trnl...@gmail.com on 27 May 2015 at 4:34

GoogleCodeExporter commented 8 years ago
I'm assuming this enhancement comes from this Stack Overflow question: 
http://stackoverflow.com/questions/23188003/chromecast-sender-as-a-playready-lic
ense-provider
in which case, you can resolve it using existing MPL functionality to override 
the URL:
https://developers.google.com/cast/docs/reference/player/cast.player.api.Host#up
dateLicenseRequestInfo

Original comment by jonathan...@google.com on 27 May 2015 at 11:17