Reingesting an Asset
If you have modified a source asset, such as adding new captions or bitrate, then you can re-ingest the asset in Media Streams.
Asset Publishers (or roles which ingest assets into a distribution channel) must have rights to:
- Read the primary playlist (m3u8) from the Object Storage location in the region.
- Read the bucket, playlist, and any rendered files in the channel.
To re-ingest an asset, follow these steps: Asset reingestion using the CLI is similar to asset ingestion. See Asset ingestion using the CLI for details.
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
To ingest an asset, use the
IngestStreamDistributionChannel
operation.After the asset is successfully ingested, you can manually create a Preview URL by using the following:https://<DC_DOMAIN>/20211101/actions/generatePlaylist?mediaAssetId=<ASSET_ID >&streamPackagingConfigId=<PKG_ID>&token=<TOKEN_DATA>
Here,- <DC_DOMAIN> is the domain from the GetStreamDistributionChannel operation.
- <PKG_ID> is the OCID of the packaging configuration used for streaming.
- <ASSET_ID> is the OCID of the asset to be streamed.
- <TOKEN_DATA> is the token that the GenerateSessionToken operation returns.