# Tạo kênh Restream đồng thời lên nhiều nền tảng (RTMP)

Để tạo kênh Restream đồng thời trên nhiều nền tảng, 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 **Media Live.** Tiếp tục bạn chọn tab **Channel -> Transcode channels**

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

**Bước 3:** Chọn nút **Add** ở góc phải. Màn hình **Create Transcode Channel** hiển thị, trong tab Config, bạn cần nhập các thông tin cơ bản cho kênh bao gồn **Name** và **Name Modifier**

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

**Bước 4:** Tiếp tục thực hiện configure đầu vào ở tab **Input**

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

**Bước 5:** Tại màn hình **Create Input Transcode**, bạn chọn kiểu đầu vào **RTMP** như sau:

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

**Bước 6:** Sau khi đóng màn hình **Create** bên trên, hệ thống sẽ hiển thị **danh sách** các đầu vào của kênh. Tại đây, bạn cần **chọn** các đầu vào tương ứng:

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

**Bước 7:** Tại tab **profile**, bạn nhập các profile của đầu vào bằng cách chọn **Add profile** nếu đã có sẵn hoặc chọn **New profile** để tạo profile mới

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

**Bước 8:** Trong ví dụ này, chúng tôi sẽ thêm một profile **video** định dạng 1080p và một **audio** 44\_1khz

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

**Bước 9:** Tiếp theo, bạn cấu hình các luồng nhận stream mà bạn mong muốn stream tới

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

**Bước 10:** Nhập thông tin **RTMP** sau đó nhấn **Submit**

<figure><img src="/files/22MoCzRFHAYX1K1U235i" alt=""><figcaption></figcaption></figure>

**Tương tự như trên, quý khách có thể stream đồng thời tới nhiều RTMP khác bằng cách thêm cấu hình tại mục Target.**

**Sau khi thực hiện các bước bên trên, tại mục Input sẽ hiển thị thông tin RTMP nhận luồng stream. Quý khách thực hiện stream thông qua đường dẫn tại mục này.**


---

# 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/tao-kenh-restream-dong-thoi-len-nhieu-nen-tang-rtmp.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.
