notch

Results 11 comments of notch

The RTSP must have video stream and only support H264 or H265 video stream. You can add some debug logs for better diagnostics

The RTSP must have video stream and only support H264 or H265 video stream. You can add some debug logs for better diagnostics

This should be unable to get the TOML module from the network

This should be unable to get the TOML module from the network

多级路由是指可以将多个ipchub服务器串联起来。本来面向的是摄像头,推流一般是测试用的。 至于意义,1. 浏览器可能无法访问多级服务器,需要通过中间的代理;2. 很多时候是安全或权限的原因。3. 在很多时候它可以节省带宽(跨级) 你可以把/hr/ 这种模式的源,假想为windows中的网络硬盘的映射,它可以映射远程的某个硬盘(ipchub服务器),也可以是某个目录(ipchub服务器中某组模式的源)。 如果我还没说清楚,可以看看代码

如果项目对您有用,那么开源就有价值。 1. 这个不好回答,可能是服务端口或没有配置视频源等原因。您可以单步调试一下找找具体原因 2. websocket-rtsp列为实验,是因为我本人对web端编程不会。只能做到这个程度,难有完善的能力;或学习js的动力不足。 3. websocket-rtsp 的js代码来自于 https://github.com/Streamedian/html5_rtsp_player ;我修改而来,这里忘了写来源了。本来就是实验一下服务端支持 websocket rtsp用的没有当做正式产品的一部分 4. 其实原本还直接支持 https://github.com/Streamedian/html5_rtsp_player 的代理协议,但感觉有点多余就删除了 也就是初衷就是实验服务端的websocket rtsp直连模式;同时它的js客户端比 flv.js 实现的要差不少。如果有 js 高手可以写一个flv.js的websocket-rtsp数据源 bind 到 MSE上。

和普通 rtsp 服务器一样,可以用 ffmpeg ``` shell ffmpeg -re -i test.mp4 -rtsp_transport tcp -c:v copy -c:a copy -f rtsp rtsp://localhost:1554/test/live ```

没有。项目起因还是连接摄像头。

专门的 rtsp 流媒体服务器:https://github.com/cnotch/ipchub。 支持 http-flv,websocket-flv,hls,flv还支持H265。可以尝试一下。

抱歉,很长时间没有关注这个项目了,我没有在32位系统测过。从显示的log看,是结构体对齐的问题。 可以将scheduler中的结构体中需要原子操作的count提到第一个,如下: type Scheduler struct { count int64 // 也就是这里 wg *sync.WaitGroup add chan *ManagedJob remove chan *ManagedJob snapshot chan chan []*ManagedJob panicHandler atomic.Value loc *time.Location ctx context.Context cancel context.CancelFunc...