修改readme

This commit is contained in:
haotian 2025-09-16 16:20:52 +08:00
parent b151a98f78
commit a74c37f504

View File

@ -1,15 +1,15 @@
# 如何使用
## 1.启动一个流媒体服务器
'''
```shell
docker run -d -p 1935:1935 -p 8080:8080 tiangolo/nginx-rtmp
'''
```
## 2.启动主服务
'''
```python
python rtsp_processor.py
'''
```
## 3.观看视频
'''
```python
# 端口号要和服务端口号一致
rtmp://ip:1935/live/processed
http://ip:8080/live/processed.m3u8
'''
```