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
Namespace
Google \ Cloud \ Video \ LiveStream \ V1 \ EncryptionMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ widevine |
Widevine
Widevine configuration. |
↳ fairplay |
Fairplay
Fairplay configuration. |
↳ playready |
Playready
Playready configuration. |
↳ clearkey |
Clearkey
Clearkey configuration. |
getWidevine
Widevine configuration.
Returns | |
---|---|
Type | Description |
Widevine|null |
hasWidevine
clearWidevine
setWidevine
Widevine configuration.
Parameter | |
---|---|
Name | Description |
var |
Widevine
|
Returns | |
---|---|
Type | Description |
$this |
getFairplay
Fairplay configuration.
Returns | |
---|---|
Type | Description |
Fairplay|null |
hasFairplay
clearFairplay
setFairplay
Fairplay configuration.
Parameter | |
---|---|
Name | Description |
var |
Fairplay
|
Returns | |
---|---|
Type | Description |
$this |
getPlayready
Playready configuration.
Returns | |
---|---|
Type | Description |
Playready|null |
hasPlayready
clearPlayready
setPlayready
Playready configuration.
Parameter | |
---|---|
Name | Description |
var |
Playready
|
Returns | |
---|---|
Type | Description |
$this |
getClearkey
Clearkey configuration.
Returns | |
---|---|
Type | Description |
Clearkey|null |
hasClearkey
clearClearkey
setClearkey
Clearkey configuration.
Parameter | |
---|---|
Name | Description |
var |
Clearkey
|
Returns | |
---|---|
Type | Description |
$this |