HlsStreamPackagingConfig

class oci.media_services.models.HlsStreamPackagingConfig(**kwargs)

Bases: oci.media_services.models.stream_packaging_config.StreamPackagingConfig

Configuration fields for a HLS Packaging Configuration.

Attributes

LIFECYCLE_STATE_ACTIVE str(object=’’) -> str
LIFECYCLE_STATE_DELETED str(object=’’) -> str
LIFECYCLE_STATE_NEEDS_ATTENTION str(object=’’) -> str
STREAM_PACKAGING_FORMAT_DASH str(object=’’) -> str
STREAM_PACKAGING_FORMAT_HLS str(object=’’) -> str
compartment_id [Required] Gets the compartment_id of this StreamPackagingConfig.
defined_tags Gets the defined_tags of this StreamPackagingConfig.
display_name [Required] Gets the display_name of this StreamPackagingConfig.
distribution_channel_id [Required] Gets the distribution_channel_id of this StreamPackagingConfig.
encryption Gets the encryption of this StreamPackagingConfig.
freeform_tags Gets the freeform_tags of this StreamPackagingConfig.
id [Required] Gets the id of this StreamPackagingConfig.
lifecycle_state Gets the lifecycle_state of this StreamPackagingConfig.
locks Gets the locks of this StreamPackagingConfig.
segment_time_in_seconds [Required] Gets the segment_time_in_seconds of this StreamPackagingConfig.
stream_packaging_format [Required] Gets the stream_packaging_format of this StreamPackagingConfig.
system_tags Gets the system_tags of this StreamPackagingConfig.
time_created Gets the time_created of this StreamPackagingConfig.
time_updated Gets the time_updated of this StreamPackagingConfig.

Methods

__init__(**kwargs) Initializes a new HlsStreamPackagingConfig object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'
LIFECYCLE_STATE_DELETED = 'DELETED'
LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'
STREAM_PACKAGING_FORMAT_DASH = 'DASH'
STREAM_PACKAGING_FORMAT_HLS = 'HLS'
__init__(**kwargs)

Initializes a new HlsStreamPackagingConfig object with values from keyword arguments. The default value of the stream_packaging_format attribute of this class is HLS and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this HlsStreamPackagingConfig.
  • compartment_id (str) – The value to assign to the compartment_id property of this HlsStreamPackagingConfig.
  • distribution_channel_id (str) – The value to assign to the distribution_channel_id property of this HlsStreamPackagingConfig.
  • display_name (str) – The value to assign to the display_name property of this HlsStreamPackagingConfig.
  • stream_packaging_format (str) – The value to assign to the stream_packaging_format property of this HlsStreamPackagingConfig. Allowed values for this property are: “HLS”, “DASH”
  • segment_time_in_seconds (int) – The value to assign to the segment_time_in_seconds property of this HlsStreamPackagingConfig.
  • encryption (oci.media_services.models.StreamPackagingConfigEncryption) – The value to assign to the encryption property of this HlsStreamPackagingConfig.
  • time_created (datetime) – The value to assign to the time_created property of this HlsStreamPackagingConfig.
  • time_updated (datetime) – The value to assign to the time_updated property of this HlsStreamPackagingConfig.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this HlsStreamPackagingConfig. Allowed values for this property are: “ACTIVE”, “NEEDS_ATTENTION”, “DELETED”
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this HlsStreamPackagingConfig.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this HlsStreamPackagingConfig.
  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this HlsStreamPackagingConfig.
  • locks (list[oci.media_services.models.ResourceLock]) – The value to assign to the locks property of this HlsStreamPackagingConfig.
compartment_id

[Required] Gets the compartment_id of this StreamPackagingConfig. Compartment Identifier

Returns:The compartment_id of this StreamPackagingConfig.
Return type:str
defined_tags

Gets the defined_tags of this StreamPackagingConfig. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this StreamPackagingConfig.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this StreamPackagingConfig. The name of the stream packaging configuration. Avoid entering confidential information.

Returns:The display_name of this StreamPackagingConfig.
Return type:str
distribution_channel_id

[Required] Gets the distribution_channel_id of this StreamPackagingConfig. Unique identifier of the Distribution Channel that this stream packaging configuration belongs to.

Returns:The distribution_channel_id of this StreamPackagingConfig.
Return type:str
encryption

Gets the encryption of this StreamPackagingConfig.

Returns:The encryption of this StreamPackagingConfig.
Return type:oci.media_services.models.StreamPackagingConfigEncryption
freeform_tags

Gets the freeform_tags of this StreamPackagingConfig. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this StreamPackagingConfig.
Return type:dict(str, str)
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

id

[Required] Gets the id of this StreamPackagingConfig. Unique identifier that is immutable on creation.

Returns:The id of this StreamPackagingConfig.
Return type:str
lifecycle_state

Gets the lifecycle_state of this StreamPackagingConfig. The current state of the Packaging Configuration.

Allowed values for this property are: “ACTIVE”, “NEEDS_ATTENTION”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this StreamPackagingConfig.
Return type:str
locks

Gets the locks of this StreamPackagingConfig. Locks associated with this resource.

Returns:The locks of this StreamPackagingConfig.
Return type:list[oci.media_services.models.ResourceLock]
segment_time_in_seconds

[Required] Gets the segment_time_in_seconds of this StreamPackagingConfig. The duration in seconds for each fragment.

Returns:The segment_time_in_seconds of this StreamPackagingConfig.
Return type:int
stream_packaging_format

[Required] Gets the stream_packaging_format of this StreamPackagingConfig. The output format for the package.

Allowed values for this property are: “HLS”, “DASH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The stream_packaging_format of this StreamPackagingConfig.
Return type:str
system_tags

Gets the system_tags of this StreamPackagingConfig. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns:The system_tags of this StreamPackagingConfig.
Return type:dict(str, dict(str, object))
time_created

Gets the time_created of this StreamPackagingConfig. The time when the Packaging Configuration was created. An RFC3339 formatted datetime string.

Returns:The time_created of this StreamPackagingConfig.
Return type:datetime
time_updated

Gets the time_updated of this StreamPackagingConfig. The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string.

Returns:The time_updated of this StreamPackagingConfig.
Return type:datetime