Google Cloud Video Live Stream V1 Client - Class DrmSystems (0.3.2)

Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class DrmSystems.

Defines configuration for DRM systems in use. If a field is omitted, that DRM system will be considered to be disabled.

Generated from protobuf message google.cloud.video.livestream.v1.Encryption.DrmSystems

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ widevine Google\Cloud\Video\LiveStream\V1\Encryption\Widevine

Widevine configuration.

↳ fairplay Google\Cloud\Video\LiveStream\V1\Encryption\Fairplay

Fairplay configuration.

↳ playready Google\Cloud\Video\LiveStream\V1\Encryption\Playready

Playready configuration.

↳ clearkey Google\Cloud\Video\LiveStream\V1\Encryption\Clearkey

Clearkey configuration.

getWidevine

Widevine configuration.

Returns
TypeDescription
Google\Cloud\Video\LiveStream\V1\Encryption\Widevine|null

hasWidevine

clearWidevine

setWidevine

Widevine configuration.

Parameter
NameDescription
var Google\Cloud\Video\LiveStream\V1\Encryption\Widevine
Returns
TypeDescription
$this

getFairplay

Fairplay configuration.

Returns
TypeDescription
Google\Cloud\Video\LiveStream\V1\Encryption\Fairplay|null

hasFairplay

clearFairplay

setFairplay

Fairplay configuration.

Parameter
NameDescription
var Google\Cloud\Video\LiveStream\V1\Encryption\Fairplay
Returns
TypeDescription
$this

getPlayready

Playready configuration.

Returns
TypeDescription
Google\Cloud\Video\LiveStream\V1\Encryption\Playready|null

hasPlayready

clearPlayready

setPlayready

Playready configuration.

Parameter
NameDescription
var Google\Cloud\Video\LiveStream\V1\Encryption\Playready
Returns
TypeDescription
$this

getClearkey

Clearkey configuration.

Returns
TypeDescription
Google\Cloud\Video\LiveStream\V1\Encryption\Clearkey|null

hasClearkey

clearClearkey

setClearkey

Clearkey configuration.

Parameter
NameDescription
var Google\Cloud\Video\LiveStream\V1\Encryption\Clearkey
Returns
TypeDescription
$this