Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

推流无法播放 #3517

Closed
sling2007 opened this issue May 7, 2024 · 1 comment
Closed

推流无法播放 #3517

sling2007 opened this issue May 7, 2024 · 1 comment

Comments

@sling2007
Copy link

sling2007 commented May 7, 2024

咨询的功能模块

  • 作为rtsp服务器,被推送来了视频流,播放不出来。

咨询的具体内容和问题

  • 此处展开您咨询内容的描述

拉流的视频正常播放。
但推流的播放不了,操作如下:

用ffmpeg -re -stream_loop -1 -i .\model.mp4 -vcodec h264 -an -f rtsp -rtsp_transport tcp rtsp://10.101.59.236/pppush/abc 推流后,能看到视频列表
image

在VLC可以播放这个推来的视频地址。rtsp://10.101.59.236:554/pppush/abc
image

但在zlm的播放页,提示播放成功,但播放一直转圈等待。https://10.101.59.236/index/api/webrtc?app=pppush&stream=abc&type=play
image

所以,我是哪里用错了吗?

注意事项

  • 技术咨询前请先认真阅读readme, wiki,如有必要,您也可以同时搜索已经答复的issue,如果没找到答案才在此提issue

  • 技术咨询不属于bug缺陷,要求用户先star(收藏)本项目,否则会直接关闭issue

@xiongguangjie
Copy link
Member

看wiki的webrtc 的说明,你这个是directProxy 没有设置为0

@xia-chu xia-chu closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants