Media Services Media Stream Functions
Package: DBMS_CLOUD_OCI_MDS_MEDIA_STREAM
GENERATE_PLAYLIST Function
Gets the playlist content for the specified Packaging Configuration and Media Asset combination.
Syntax
FUNCTION generate_playlist (
stream_packaging_config_id varchar2,
media_asset_id varchar2,
opc_request_id varchar2 DEFAULT NULL,
token varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_mds_media_stream_generate_playlist_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Unique Stream Packaging Configuration identifier. |
|
(required) Unique MediaAsset identifier. |
|
(optional) The client request ID for tracing. |
|
(optional) Streaming session authentication token. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://mediaservices.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |
GENERATE_SESSION_TOKEN Function
Generate a new streaming session token.
Syntax
FUNCTION generate_session_token (
generate_session_token_details dbms_cloud_oci_media_services_generate_session_token_details_t,
opc_request_id varchar2 DEFAULT NULL,
region varchar2 DEFAULT NULL,
endpoint varchar2 DEFAULT NULL,
credential_name varchar2 DEFAULT NULL
) RETURN dbms_cloud_oci_mds_media_stream_generate_session_token_response_t;
Parameters
Parameter | Description |
---|---|
|
(required) Details to generate a new stream session token. |
|
(optional) The client request ID for tracing. |
|
(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix). |
|
(optional) The endpoint of the service to call using this function. e.g https://mediaservices.{region}.oci.{secondLevelDomain}.If both endpoint and region are given, then endpoint takes precedence. |
|
(optional) The name of the credential for authenticating with the corresponding cloud native API. |