This topic walks you through the basic steps to get started with MediaWeaver channel assembly.
Procedure
To use channel assembly, perform the following steps:
Activate Intelligent Media Services (IMS).
Prepare live or video-on-demand (VOD) sources.
Create a source location and add sources to it.
Configure source groups based on the package configurations to categorize your media sources.
Create a channel.
Schedule programs in the channel.
Programs associate media sources with channels. A channel can contain multiple sources, and a source can be added to multiple channels.
Start the channel.
Test the channel.
Preparations
Activate IMS. For more information, see Activate IMS.
Prepare live or VOD sources.
You must provide the path to the M3U8 master playlist for each source. All M3U8 master playlists in a channel must have the same number of media playlists and identical bitrate variants. To learn more about master and media playlists, see Supported protocol.
Configure a channel
Step 1: Add media sources
Perform the following steps to add the media sources that you want to play in a channel:
Log on to the IMS console and select a region in the upper-left corner based on your business requirements.
In the left-side navigation pane, select . Create a source location, which represents the origin server where the master playlist is stored.

Example:
Source Location Name: AliChannelAssemblySourceLocations
Base URL: The URL of the origin server. For example, if the path of the master playlist is http://myresource.aliyundoc.com/video1.m3u8, enter http://myresource.aliyundoc.com.
Click the source location name (AliChannelAssemblySourceLocations) to access the source location details page.
To add VOD sources to the source location, click the VOD Source tab and then click Add VOD Source.

Configure the parameters in the following image based on your business requirements.

Example:
Name: FirstSource
Source Group Name: PlayerSource
Make a note of this name. You will reference it when you create your channel's output.
Relative Path: The relative path from the base URL of the source location to the master playlist. For example, if the path of the master playlist is http://myresource.aliyundoc.com/video1.m3u8, enter /video1.m3u8.
Click OK to add the VOD source.
If you want to add more VOD sources, repeat steps 4 to 6 in the procedure.
Step 2: Create a channel
In the left-side navigation pane, choose .
Click Create Channel.

Configure the parameters in the following image based on your business requirements.

Example:
Name: AliChannelAssemblyChannels
Tier: Basic
Playback Mode: Loop
Access Control: Disabled
Add Output:
Manifest Name: index
Source Group Name: PlayerSource
The value must be the same as the source group name specified for the package configuration of the source.
Manifest settings: This example uses the default settings.
Step 3: Configure channel programs
After adding media sources and creating a channel, add programs to the channel. Each program contains a VOD source or a live source from your source locations.
Click the channel name (AliChannelAssemblyChannels) to access the channel details page.
On the Program & Schedule tab, click Add Program.

Configure the parameters in the following image based on your business requirements.

Example:
Name: FirstProgram
Source Location: AliChannelAssemblySourceLocations
VOD Source: FirstSource
Schedule Configuration: This example uses the default settings.
Ad Breaks: In this example, no ad breaks are inserted. You can add one later.
Click OK to add the program.
If you want to add more programs in the channel, repeat steps 2 to 4 in the procedure.
Programs added are displayed on the Program & Schedule tab.

Test a channel
Step 1: Start a channel
Before you can access the channel's stream, you must start your channel.
To do so, click the channel name to access its details page, then click Start.

When the channel state turns to Running, the channel is started.

Step 2: Play the channel
Click the channel name to access its details page, then click the Output tab.
Use the Playback URL provided in the console to play the channel's stream. A player that supports the HTTP Live Streaming (HLS) protocol is required.

FAQs
Why isn't the channel's stream playing properly?
You must provide the path to the M3U8 master playlists for the media assets. All M3U8 master playlists in a channel must contain the same number of media playlists and the same bitrate variants. To learn more about master and media playlists, see Supported protocol.
Before you can access the channel's stream, you must start your channel. Check if the channel has been started.
Why is the video playback stuttering?
Check your network environment. To reduce latency and enhance the viewer experience, we recommend using a content delivery network (CDN).
Other playback issues
To troubleshoot playback issues, go to the channel details page and click the Alert tab to view the running records. Alerts and error messages are provided.
References
This topic introduces the basic steps for using channel assembly. To learn details about source, channel, and program configurations, see Feature configurations.
You are charged fees for channel assembly. For more information, see Billing of channel assembly.