tencent cloud

All product documents
StreamPackage
Source Location
Last updated: 2024-06-05 18:03:51
Source Location
Last updated: 2024-06-05 18:03:51
Source URLs can be stored in the Source Location for accessing the respective VOD / live streaming sources in subsequent steps.

Prerequisites

Please prepare the sources in advance and record the corresponding access URLs.

Notes

After maintaining the URLs in StreamPackage, for a VOD Source, StreamPackage will access your URL, pull content for processing and caching; for a Live Source, StreamPackage will only access the URL of the Live Source when it is used by a channel.

Source Location

Create Source Location

1. Log in to Tencent Cloud StreamPackage Console, choose Channel Assembly > Source Locations, and click Create.

image.png


2. Enter Name and Base URL.
3. If you wish to distribute a Source through your CDN acceleration domain name, please turn on the Use segment delivery servers toggle, and enter the corresponding URL.
4. By default, all resources under Source Location are distributed after being retrieved by StreamPackage. If you don't require resources under Source Location to be retrieved from StreamPackage, please turn off the Use StreamPackage to deliver content segments toggle.
5. Click Create to complete the creation of the Source Location.

View Source Location

1. Log in to Tencent Cloud StreamPackage Console, choose Channel Assembly> Source Locations, to view all existing Source Locations. And you can search for a specific Source Location by entering its name or ID in the top right corner of the page.



2. Click on a Source Location to view its basic information, as well as the VOD Sources and Live Sources created under this Source Location.



VOD Source:



Live Source:




Delete Source Location

Delete a single source location
In the list, select a source location and click Delete to delete the selected Source Location.



Batch delete source locations
Select the source locations you wish to delete and click Delete to batch delete multiple source locations.



Note:
A Source Location can only be deleted if there are no sources under it.

Source

A Source can be a VOD (Video On Demand) or live streaming source, composed of multiple different package configurations, with a single source supporting up to 4 package configurations. Currently, StreamPackage Channel Assembly only supports multi-bitrate HLS, not single-bitrate HLS. And other packaging formats like DASH will gradually be supported in the future.

Create a Source

1. Log in to Tencent Cloud StreamPackage Console, choose Channel Assembly > Source Locations, and select a created source location.
2. Depending on your needs, select the Vod Sources tab and click Add VOD Source; or select the Live Sources tab and click Add Live Source.
3. Enter the Source name.
4. In Package configurations, enter the Source group name, select the Type, and enter the Relative path accessed by the Source (relative to the URL of the Source Location).
5. If you need more Package configurations, click Add Configuration to add and enter the relevant information.
6. Click Confirm to complete the creation.

image.png


Note:
Different source groups are mainly used to group different packaging of the same source. For example, different packaging formats (HLS/DASH) or different codec (AVC/HEVC) or different resolutions (4k/8k) of the same source. If the groups are not distinct bitrates or formats of the same video file, undefined behavior errors may occur.
Note:
After creation, for a VOD Source, StreamPackage will access your URL, pull content for processing and cache it. If there are any errors during the VOD Source processing, you can view the specific error messages on the Alert page.

image.png


For a Live Source, StreamPackage will only access the URL of the Live Source when it is used by a channel. Adding a Live Source will not generate any alert; Alerts are only generated when this Live Source is used by a Channel and errors occur.

View Source

1. Log in to Tencent Cloud StreamPackage Console, choose Channel Assembly> Source Locations, and click on an created Source Location.
2. Select the Vod Sources tab to view all Vod Sources



3. Select the Live Sources tab to view all Live Sources



4. Click on the Source to view its details.
image.png



Delete Source

1. Delete a single source
In the list, select a source and click Delete to delete a single source.



2. Batch delete sources
Select the sources you wish to delete and click Delete to batch delete multiple sources.



Note:
A source cannot be deleted if it is being used by a Channel.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support