Managing Distribution Channels in Media Streams
Learn how to manage distribution channels in Media Streams.
Distribution Channels are the starting point for delivering videos to your users. When you create a distribution channel, a unique DNS name is created which is used as the endpoint for obtaining streaming session tokens and viewing videos. A packaging configuration and a CDN configuration govern the behavior of a distribution channel. The packaging configuration determines how your video is packaged (video segment size, encryption options, and so on). The CDN configuration determines whether OCI acts as the streaming endpoint (EDGE mode), or it is fronted by a different CDN. When you ingest a video into media streams, you associate it with a distribution channel to allow the channel users to play the video. You can ingest the same video into multiple distribution channels without re-transcoding.
A distribution channel is configured with a single CDN. However, you can create multiple packaging configurations within a distribution channel.
The validity of a session token ranges from 10 mins to 24 hours.
The available Media Streams resources are:
- media-stream-distribution-channel
- media-stream-packaging-config
- media-stream-cdn-config
Prerequisites
Before you begin, ensure that the following prerequisites are met:
- You have created a compartment.
- You grant the proper principal or user group permissions for access to this compartment for your user and the media service.
- You have used the policies for streaming (
media-family
andmedia-stream-distribution-channel
).
Required IAM Policies
To use Oracle Cloud Infrastructure, you must be granted security access in a policy by an administrator. This access is required whether you're using the Console or the REST API with an SDK, CLI, or another tool. While performing an action if you get any issues related to permission or authorization, then contact your administrator to check the type of access.
For detailed policy information and examples, see Media Streams IAM Policies.
If you're new to policies, see Getting Started with Policies and Common Policies.