feat: pion webrtc update to v4

This commit is contained in:
langhuihui
2025-01-02 19:57:16 +08:00
parent cbe9f2d645
commit 55d54734e7
15 changed files with 81 additions and 36 deletions
+3
View File
@@ -884,6 +884,9 @@ func (s *Server) AddPullProxy(ctx context.Context, req *pb.PullProxyInfo) (res *
return
}
s.DB.Create(device)
if req.StreamPath == "" {
device.StreamPath = device.GetStreamPath()
}
s.PullProxies.Add(device)
res = &pb.SuccessResponse{}
return