StreamSourceDetails

class oci.ai_vision.models.StreamSourceDetails(**kwargs)

Bases: object

Details about a stream source

Attributes:

SOURCE_TYPE_RTSP

A constant which can be used with the source_type property of a StreamSourceDetails.

source_type

[Required] Gets the source_type of this StreamSourceDetails.

stream_network_access_details

[Required] Gets the stream_network_access_details of this StreamSourceDetails.

Methods:

__init__(**kwargs)

Initializes a new StreamSourceDetails 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.

SOURCE_TYPE_RTSP = 'RTSP'

A constant which can be used with the source_type property of a StreamSourceDetails. This constant has a value of “RTSP”

__init__(**kwargs)

Initializes a new StreamSourceDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • stream_network_access_details (oci.ai_vision.models.StreamNetworkAccessDetails) – The value to assign to the stream_network_access_details property of this StreamSourceDetails.

  • source_type (str) – The value to assign to the source_type property of this StreamSourceDetails. Allowed values for this property are: “RTSP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

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.

property source_type

[Required] Gets the source_type of this StreamSourceDetails. Type of source Allowed values are: - RTSP

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

Returns

The source_type of this StreamSourceDetails.

Return type

str

property stream_network_access_details

[Required] Gets the stream_network_access_details of this StreamSourceDetails.

Returns

The stream_network_access_details of this StreamSourceDetails.

Return type

oci.ai_vision.models.StreamNetworkAccessDetails