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

stream_packaging_config_id

(required) Unique Stream Packaging Configuration identifier.

media_asset_id

(required) Unique MediaAsset identifier.

opc_request_id

(optional) The client request ID for tracing.

token

(optional) Streaming session authentication token.

region

(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix).

endpoint

(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.

credential_name

(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

generate_session_token_details

(required) Details to generate a new stream session token.

opc_request_id

(optional) The client request ID for tracing.

region

(optional) OCI region id. e.g us-phoenix-1 for US West (Phoenix).

endpoint

(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.

credential_name

(optional) The name of the credential for authenticating with the corresponding cloud native API.