RtspSourceDetails¶
-
class
oci.ai_vision.models.
RtspSourceDetails
(**kwargs)¶ Bases:
oci.ai_vision.models.stream_source_details.StreamSourceDetails
Details of RtspDevice
Attributes
SOURCE_TYPE_RTSP
str(object=’’) -> str camera_url
[Required] Gets the camera_url of this RtspSourceDetails. secret_id
Gets the secret_id of this RtspSourceDetails. 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 RtspSourceDetails 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'¶
-
__init__
(**kwargs)¶ Initializes a new RtspSourceDetails object with values from keyword arguments. The default value of the
source_type
attribute of this class isRTSP
and it should not be changed. 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 RtspSourceDetails.
- source_type (str) – The value to assign to the source_type property of this RtspSourceDetails. Allowed values for this property are: “RTSP”
- secret_id (str) – The value to assign to the secret_id property of this RtspSourceDetails.
- camera_url (str) – The value to assign to the camera_url property of this RtspSourceDetails.
-
camera_url
¶ [Required] Gets the camera_url of this RtspSourceDetails. url of camera
Returns: The camera_url of this RtspSourceDetails. Return type: 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.
-
secret_id
¶ Gets the secret_id of this RtspSourceDetails. OCID of secret where credentials are stored in username:password format.
Returns: The secret_id of this RtspSourceDetails. Return type: str
-
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
-
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
-