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 |
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 | |
---|---|
Type | Description |
Google\Cloud\Video\LiveStream\V1\Encryption\Widevine|null |
hasWidevine
clearWidevine
setWidevine
Widevine configuration.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Video\LiveStream\V1\Encryption\Widevine
|
Returns | |
---|---|
Type | Description |
$this |
getFairplay
Fairplay configuration.
Returns | |
---|---|
Type | Description |
Google\Cloud\Video\LiveStream\V1\Encryption\Fairplay|null |
hasFairplay
clearFairplay
setFairplay
Fairplay configuration.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Video\LiveStream\V1\Encryption\Fairplay
|
Returns | |
---|---|
Type | Description |
$this |
getPlayready
Playready configuration.
Returns | |
---|---|
Type | Description |
Google\Cloud\Video\LiveStream\V1\Encryption\Playready|null |
hasPlayready
clearPlayready
setPlayready
Playready configuration.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Video\LiveStream\V1\Encryption\Playready
|
Returns | |
---|---|
Type | Description |
$this |
getClearkey
Clearkey configuration.
Returns | |
---|---|
Type | Description |
Google\Cloud\Video\LiveStream\V1\Encryption\Clearkey|null |
hasClearkey
clearClearkey
setClearkey
Clearkey configuration.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Video\LiveStream\V1\Encryption\Clearkey
|
Returns | |
---|---|
Type | Description |
$this |