Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nintha committed Jan 3, 2021
1 parent a13e7b9 commit d601845
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ ffplay -fflags nobuffer -analyzeduration 100000 rtmp://localhost:11935/channel/t
- [x] 支持不同分辨率的推流和拉流(之前默认1028x720)
- [x] 支持音频传输
- [x] 支持HTTP-FLV输出
- [x] 输出H264流,使用[Jmuxer](https://github.com/samirkumardas/jmuxer)在浏览器中播放
- [x] 输出H264流,使用[Jmuxer](https://github.com/samirkumardas/jmuxer)在浏览器中播放(视频+音频)

## TODO
- [ ] Web GUI 播放界面(Jmuxer)
- [ ] 推流端认证
- [ ] 处理websocket消息积压的问题

## FAQ

Expand Down
2 changes: 2 additions & 0 deletions src/ws_h264.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ async fn handle_connection(raw_stream: TcpStream, addr: SocketAddr) -> anyhow::R

let rx = rtmp_rx_into_mix_rx(rx, stream_name.to_string());
futures::pin_mut!(rx);

// TODO 消息挤压问题需要解决
while let Some(mix) = StreamExt::next(&mut rx).await {
outgoing.send(Message::binary(mix.to_bytes())).await?;
}
Expand Down

0 comments on commit d601845

Please sign in to comment.