# Live Transcode kết hợp record để phát VOD về sau.

Để tạo kênh Live Transcode kết hợp record để phát VOD về sau, hãy làm theo hướng dẫn sau:

## Cài đặt Sigma Media Server

Đầu tiên, bạn cần cài đặt Sigma Media Server theo các bước tại [đây](/vng-cloud-document/vn/vcdn/loai-hinh-dich-vu/transcoding/cai-dat-sigma-media-server.md).

## Khởi tạo và cấu hình dịch vụ Media Service để livestream.

**Bước 1:** Sau khi đã cài đặt **Sigma Media Server** thành công, bạn hãy truy cập vào <https://portal.sigma.video/apps> với email mà bạn đã đăng ký sử dụng dịch vụ trước đó.

<figure><img src="/files/5RwBXxhhEDhpB1QPABjg" alt=""><figcaption></figcaption></figure>

**Bước 2:** Bạn chọn xổ menu **Product** xuống và chọn mục **Livestream**

<figure><img src="/files/9J4FHqOKkgf2DmQAmSPK" alt=""><figcaption></figcaption></figure>

**Bước 3:** Tiếp tục bạn chọn tab **Channel**

<figure><img src="/files/q6MP6htLb4h1ySTPMS7o" alt=""><figcaption></figcaption></figure>

**Bước 4:** Chọn nút **Add channel** ở góc phải

<figure><img src="/files/6hMrQaKao6Vy6nY8KQ7u" alt=""><figcaption></figcaption></figure>

**Bước 5:** Màn hình **Create Channel** hiển thị, bạn configure các tham số của kênh, chọn server xử lý trong mục **Advance configuration**.

**Chú ý: để record Livestream thành VOD phát về sau, bạn cần bật phương án Catchup như hình bên dưới và nhập thông tin nơi lưu trữ VOD.**

<figure><img src="/files/u9IDuLndhvVoc72o0Xef" alt=""><figcaption></figcaption></figure>

**Bước 6:** Quay trở lại màn hình list **Channel** chúng ta sẽ thấy kênh vừa được tạo nằm trong danh sách. Click vào tên kênh để vào màn hình detail của kênh.

<figure><img src="/files/qNqobgjfcduzHzl0z0Bt" alt=""><figcaption></figcaption></figure>

**Bước 7:** Trong màn hình detail của kênh ta sẽ thấy thông tin RTMP Stream URL, Quý khách thay thế **Stream URL** trên màn hình bằng *<mark style="color:blue;">**rtmp\://\<server\_public\_ip>:1935/livestream**</mark>* để stream.

<figure><img src="/files/nmTr31Kuv5SLlRyFJ8T8" alt=""><figcaption></figcaption></figure>

## Khởi tạo và cấu hình dịch vụ vCDN.

**Bước 1:** Bạn thực hiện truy cập [GreenNode – ](https://vcdn.vngcloud.vn/)[vCDN](https://vcdn.vngcloud.vn/)[ Portal](https://vcdn.vngcloud.vn/)

**Bước 2:** Khởi tạo một domain CDN dành cho **Live Streaming** theo hướng dẫn tại [đây](/vng-cloud-document/vn/vcdn/loai-hinh-dich-vu/live-streaming.md).

**Bước 3**: Thực hiện trỏ **Origin** của CDN về **server Sigma** đang xử lý livestream


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vn/vcdn/loai-hinh-dich-vu/transcoding/cac-truong-hop-su-dung/live-transcode-ket-hop-record-de-phat-vod-ve-sau..md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
