Skip to content

Commit

Permalink
Merge branch 'master' of github.com:q191201771/lalmax
Browse files Browse the repository at this point in the history
  • Loading branch information
ZSC714725 committed May 9, 2024
2 parents 25feba1 + fdb061b commit 62a5578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gb28181/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (s *GB28181Server) OnStartMediaServer(netWork string, singlePort bool, devi
nazalog.Error("gb28181 media server udp acquire failed:%s", err.Error())
return nil
}
mediaKey = fmt.Sprintf("%s%d", "tcp", port)
mediaKey = fmt.Sprintf("%s%d", "udp", port)
}
mediasvr = mediaserver.NewGB28181MediaServer(int(port), mediaKey, s, s.lalServer)
s.MediaServerMap.Store(fmt.Sprintf("%s%s", deviceId, channelId), mediasvr)
Expand Down

0 comments on commit 62a5578

Please sign in to comment.