From b1d903036a622407988d5ef3a571507fad99a462 Mon Sep 17 00:00:00 2001 From: deepch Date: Thu, 10 Feb 2022 23:52:28 +0300 Subject: [PATCH] fix camera https://github.com/deepch/RTSPtoWeb/issues/83 --- go.mod | 2 +- go.sum | 2 ++ streamCore.go | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index ac28c6f..7db299c 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/deepch/RTSPtoWeb go 1.16 require ( - github.com/deepch/vdk v0.0.0-20220208123008-6ba34dc2bf0c + github.com/deepch/vdk v0.0.0-20220210205025-4054700600bf github.com/gin-gonic/autotls v0.0.3 github.com/gin-gonic/gin v1.7.7 github.com/go-playground/validator/v10 v10.10.0 // indirect diff --git a/go.sum b/go.sum index a4dcc7d..0e2882e 100644 --- a/go.sum +++ b/go.sum @@ -7,6 +7,8 @@ github.com/deepch/vdk v0.0.0-20220208043843-5dcd145cf875 h1:eVakNNV3dVow9FFv/M63 github.com/deepch/vdk v0.0.0-20220208043843-5dcd145cf875/go.mod h1:bZpGRyu6rdPHp17ck2/34Ae0LTBzyDQl9bkxtIK3qII= github.com/deepch/vdk v0.0.0-20220208123008-6ba34dc2bf0c h1:ZToA0Fq+3Tv5r30Cc/qc/gO2hwUGWlUouBHg9RN4/ZA= github.com/deepch/vdk v0.0.0-20220208123008-6ba34dc2bf0c/go.mod h1:bZpGRyu6rdPHp17ck2/34Ae0LTBzyDQl9bkxtIK3qII= +github.com/deepch/vdk v0.0.0-20220210205025-4054700600bf h1:w0GXbCCdxwXeeBXTXUJ34Bjt2O8JCcqwrGyqQmZhirM= +github.com/deepch/vdk v0.0.0-20220210205025-4054700600bf/go.mod h1:bZpGRyu6rdPHp17ck2/34Ae0LTBzyDQl9bkxtIK3qII= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE= diff --git a/streamCore.go b/streamCore.go index d22803e..1880fa9 100644 --- a/streamCore.go +++ b/streamCore.go @@ -131,7 +131,6 @@ func StreamServerRunStream(streamID string, channelID string, opt *ChannelST) (i case packetRTP := <-RTSPClient.OutgoingProxyQueue: Storage.StreamChannelCastProxy(streamID, channelID, packetRTP) case packetAV := <-RTSPClient.OutgoingPacketQueue: - if WaitCodec { continue }