Skip to content

Commit bc85b5c

Browse files
authored
Update README.md
1 parent 7747c42 commit bc85b5c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Web-Rtmp
22
在网页上播放RTMP视频流,通过Websocket。
33

4+
# WARNING ============
5+
这个项目很大程度上只能算可行性验证,不适合作为 library 使用。试验结论是:用 js 解码视频效率已经够低了,rtmp 协议增加了许多额外开销,如果单纯为了播放视频,并不明智。不如用纯粹的 ws 传送 h264 流。
6+
47
## 基本原理
58
- 服务端
69
- 使用 [websockify](https://github.com/kanaka/websockify) wrap 一个 rtmp 服务器地址。 ([yingDev的fork](https://github.com/yingDev/websockify) 去掉了base64子协议检查)

0 commit comments

Comments
 (0)