plugin-rtsp
plugin-rtsp copied to clipboard
rtsp协议实现,接受RTSP推流以及提供拉流转发功能
`vt.WriteSlice(common.NALUSlice{t.SPS}) vt.WriteSlice(common.NALUSlice{t.PPS}) ` publisher.go 66,67行,报错:无法将 't.SPS' (类型 func() []byte) 用作类型 []byte。 需修改为 `vt.WriteSlice(common.NALUSlice{t.SPS()}) vt.WriteSlice(common.NALUSlice{t.PPS()}) `
RSTP拉流报错
2022/04/23 09:59:55 track 0 is H264 2022/04/23 09:59:55 track 1 is PCMA 2022/04/23 09:59:55 RTSP/1.0 200 OK CSeq: 3 Server: Dahua Rtsp Server/2.0 Session: 866319148580;timeout=60 Transport: RTP/AVP/TCP;unicast;interleaved=0-1;ssrc=0006DBFD X-Dynamic-Rate: 1 2022/04/23...
当请求rtsp/api/pull时,如果传入save参数为true,程序报错:
1、请求rtsp/api/pull,拉取远端流到引擎 2、请求api/closestream关闭流 3、再次请求1中添加的流。 程序崩溃:
服务信息如下: 2022/04/09 16:05:58 install plugin GateWay v3.0.13 2022/04/09 16:05:58 install plugin GB28181 v3.0.7 2022/04/09 16:05:58 install plugin HDL v3.0.7 2022/04/09 16:05:58 install plugin TS v3.0.1 2022/04/09 16:05:58 install plugin HLS...
 刚开始运行只占用1.7G左右,运行三四天之后就占用5G了
场景:直接启动monica项目 问题:直接在RTSP中添加拉流转发的摄像机RTSP地址,随后接收了一段时间立马就被删除了,服务端提示timeout超时。如果我添加第二个RTSP地址,第一个立马就停掉了,依此类推。哪怕只添加一个一段时间也超时了。 这个是什么原因导致的呢。
调用/rtsp/api/pull接口,save=2时 无法更新拉流地址
rtsp/test"."url": "rtsp://admin:lzjld#987531230192.168.0.248/Streaming/channels/101?transportmode=unicast&profile=Profile_1}17:02:09rtsp/test","url":"rtsp://admin:lzjld#987531230192.168.0.248/streaming/channels1101?transportmode=unicast&profile=Profile 1","error": "parse "rtsp://admin:lzjld\":invalid port":lzjld\" after host"} ERROR RTSP {"流":pull connect 17:02:09INFOWebTransport 初始化 {"版本"