Manage delivery

Delivery là cấu hình lựa chọn và thứ tự các profile xuất hiện trong playlist HLS của namespace. master điều khiển HLS chính (hls), còn mobile điều khiển HLS mobile (mhls). Profile mô tả chất lượng/codec; delivery quyết định playlist dùng những profile nào.

Mặc định delivery dùng standard profile. Tạo custom profile hoặc transcode MP4 không tự thêm profile đó vào HLS. Muốn dùng custom profile, thêm ID của nó vào delivery và chuẩn bị rendition lưu sẵn. HLS on-the-fly chỉ chọn standard H.264; thêm custom vào delivery không làm nó chạy on-the-fly.

Quan hệ profile và delivery

API dùng https://mps.mediacdn.vn/v1/namespaces/<namespace>/video_deliveries. Xem Authentication để có Namespace secret key và whitelist backend; API cũng hỗ trợ RBAC và Application Credential.

Đọc cấu hình HLS hiện tại.
Thêm custom profile vào HLS hoặc thay đổi danh sách profile.