# Sử dụng ứng dụng OBS Studio để push luồng Live Stream

Bên dưới là hướng dẫn sử dụng ứng dụng OBS Studio để push luồng Live Stream.

**Bước 1**: Đầu tiên, bạn cần thực hiện khởi tạo một **Live Entrypoint** và một **Live Stream** trên hệ thống vCDN theo hướng dẫn tại [đây](/vng-cloud-document/vn/vcdn/loai-hinh-dich-vu/live-streaming.md). Bạn có thể bỏ qua bước này nếu bạn đã có sẵn một **Live Entrypoint** và một **Live Stream.**

{% hint style="info" %}
**Lưu ý:**

* Khi khởi tạo Live Entrypoint, tại mục Publish IPs, bạn cần bỏ địa chỉ IP 0.0.0.0 và nhập User Name, Password mong muốn sử dụng.
  {% endhint %}

**Bước 2**: Mở ứng dụng OBS trên thiết bị của bạn và chọn **Settings**

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

**Bước 3:** Tại trang Settings, bạn tiếp tục chọn **Stream** ở Tab bên trái. Trong đó:

* **Service**: Custom...
* **Server**: `rtmp://vnpt.entrypoint.vcdn.live/xxxxxxxxxxxxxxxx/` (Live EP domain được cung cấp khi bạn tạo và LiveApp của các bạn có thể tìm thấy tại mục cấu hình Live Entrypoint)
* **Stream Key**: `demo1?u=xxxxxx&p=xxxxxxx` (Channel (demo1) bạn có thể nhập tùy ý| Username và password bạn nhập lúc khởi tạo Live Entrypoint)

<figure><img src="/files/2KbMTH8FCVpmDcm0kR0M" alt=""><figcaption></figcaption></figure>

**Bước 4:** Sau khi tạo 1 domain Live CDN được mapping với Live App đã push stream thì link view được tạo ra sẽ có dạng `https://domaincdn.vcdn.cloud/demo1/index.m3u8.`


---

# 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/su-dung-ung-dung-obs-studio-de-push-luong-live-stream.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.
