车辆识别效果的视频
gb28181 / gb28181.solution Goto Github PK
View Code? Open in Web Editor NEWLinux/Win/Docker/kubernetes/Chart/Kustomize/GB28181/SIP/RTP/SDP/WebRTC/作为上下级域/平台级联互联
License: Other
Linux/Win/Docker/kubernetes/Chart/Kustomize/GB28181/SIP/RTP/SDP/WebRTC/作为上下级域/平台级联互联
License: Other
step:
meet error:
Error: An assembly specified in the application dependencies manifest (GB28181.Service.deps.json) was not found: package: 'Google.Protobuf', version: '3.6.0' path: 'lib/netstandard1.0/Google.Protobuf.dll'
The docker file:
FROM microsoft/dotnet:2.1-runtime
WORKDIR /opt/bin
COPY Build/netcoreapp2.1 /opt/bin
EXPOSE 5061
EXPOSE 50051
ENTRYPOINT ["dotnet", "GB28181.Service.dll"]
Files in Build/netcoreapp2.1
➜ GB28181.Platform2016 ls Build/netcoreapp2.1 -l
total 2672
-rw-rw-r-- 1 cxl cxl 195 5月 5 19:11 App.config
drwxrwxr-x 2 cxl cxl 4096 8月 16 17:03 Config
-rw-rw-r-- 1 cxl cxl 157184 5月 5 19:11 Consul.dll
-rw-rw-r-- 1 cxl cxl 170 5月 5 19:11 Dockerfile
-rw-rw-r-- 1 cxl cxl 73452 8月 16 17:03 GB28181.Service.deps.json
-rw-rw-r-- 1 cxl cxl 32256 8月 16 17:03 GB28181.Service.dll
-rw-rw-r-- 1 cxl cxl 195 5月 5 19:11 GB28181.Service.dll.config
-rw-rw-r-- 1 cxl cxl 7868 8月 16 17:03 GB28181.Service.pdb
-rw-rw-r-- 1 cxl cxl 236 8月 16 17:03 GB28181.Service.runtimeconfig.dev.json
-rw-rw-r-- 1 cxl cxl 154 8月 16 17:03 GB28181.Service.runtimeconfig.json
-rw-rw-r-- 1 cxl cxl 24064 8月 16 17:03 GrpcAgent.dll
-rw-rw-r-- 1 cxl cxl 6444 8月 16 17:03 GrpcAgent.pdb
-rw-rw-r-- 1 cxl cxl 407552 8月 16 17:03 GrpcProtocol.dll
-rw-rw-r-- 1 cxl cxl 205788 8月 16 17:03 GrpcProtocol.pdb
-rw-rw-r-- 1 cxl cxl 13312 8月 16 17:03 Logger4Net.dll
-rw-rw-r-- 1 cxl cxl 4452 8月 16 17:03 Logger4Net.pdb
-rw-rw-r-- 1 cxl cxl 93696 8月 16 17:03 NATS.Client.dll
-rw-rw-r-- 1 cxl cxl 41880 8月 16 17:03 NATS.Client.pdb
-rw-rw-r-- 1 cxl cxl 185603 8月 16 17:03 NATS.Client.xml
-rw-rw-r-- 1 cxl cxl 1008640 8月 16 17:03 SIPSorcery.28181.dll
-rw-rw-r-- 1 cxl cxl 420848 8月 16 17:03 SIPSorcery.28181.pdb
代码里面貌似没有看到相关的项
服务端会生成一个随机的 udp 端口报告给客户端,这个随机端口如何从 k8s 集群里暴露出来啊?
WinTool 闪退,单独启动GB28181.Server 也会闪退,报错如下:
程序“[161960] iisexpress.exe”已退出,返回值为 -1073741819 (0xc0000005) 'Access violation'。
grpcurl --proto GB28181.Server\Protos\DeviceCatalog.proto localhost:8080 DeviceCatalog/DeviceCatalogQuery
Error invoking method "DeviceCatalog/DeviceCatalogQuery": target server does not expose service "DeviceCatalog"
有联系方式吗有偿求教
目前看到服务器知道2016,是否向下兼容2011和2015
你好,我有个问题想要咨询您:
我在您编写的程序上添加了部分功能:将获取到的相机视频流数据通过TCP协议传输到一个新项目用于显示视频,播放控件同样使用您编写的PlayerControl控件,程序运行在win7X64系统、x64平台上,但,在程序运行到调用PlayerControl控件播放视频时,执行ffimp_init()操作出现了调用NewCJJ.dll错误:试图加载格式不正确的程序。我用depends工具查看发现是DLL版本与我的程序不符的问题(我已尝试将程序运行在X86,无法启动程序),请问,您能否提供给我一份NewCJJ.dll的x64版本?非常感谢!
之前看文档可以关闭内置sip,尝试修改enabled为off,启动提示错误,说gb需要sip?
1:单元测试存在大量编译错误,排除后系统可以运行
2:服务启动后,摄像头配置好推送地址,点击保存,服务就会直接退出,控制台打印一行 Stack overflow.其他什么都没有
3: 不管在哪里加try catch,记录日志,都不会捕获
4:传不了图,很奇怪,挂到了图床上,尴尬...
https://riyugo.com/i/2021/04/19/oztqfk.jpg
https://riyugo.com/i/2021/04/19/ozabde.png
这个文件第80行会引起递归调用的堆栈溢出,
Hello, I have some questions. Do you have contact information?My email address is [email protected]
跟踪代码,发现 btnStart_Click() 调用 Initialize() 时,
var sipChannels = SIPTransportConfig.ParseSIPChannelsNode(account);
与 _messageCore.Start() 中
var sipChannels = SIPTransportConfig.ParseSIPChannelsNode(_LocalSipAccount);
这两个参数 account, _LocalSipAccount 是一样的,
导致 _messageCore.Start() 重复绑定了 UDP 5061
经测试,客户端使用MicroSIP软电话,G729编码出现声音异常,无法正常通话,主叫方(MicroSIP)听不清楚声音,声音为混乱的气泡音。
docker build -t gbs .
docker run gbs
2020-06-01 05:06:31.115 [Debug]: Target framework: .Net Core 3.1
2020-06-01 05:06:31.137 [Debug]: EnvironmentVariables.MICRO_REGISTRY_ADDRESS:
2020-06-01 05:06:31.137 [Debug]: EnvironmentVariables.GB_NATS_CHANNEL_ADDRESS:
2020-06-01 05:06:31.137 [Debug]: EnvironmentVariables.DEVICE_MANAGEMENT_SERVICE_ADDRESS:
2020-06-01 05:06:31.138 [Debug]: EnvironmentVariables.SYSTEM_CONFIGURATION_SERVICE_ADDRESS:
2020-06-01 05:06:31.138 [Debug]: EnvironmentVariables.GB_SERVICE_LOCAL_IP:
2020-06-01 05:06:31.138 [Debug]: EnvironmentVariables.GB_SERVICE_LOCAL_ID:
2020-06-01 05:06:31.138 [Debug]: EnvironmentVariables.GBServerGrpcPort: 50051
2020-06-01 05:06:31.138 [Debug]: Notes: if EnvironmentVariables have no value, it gets from xml config.
2020-06-01 05:06:31.323 [Debug]: Load assets from xml with local ip&port is 192.168.197.33:5061
2020-06-01 05:06:31.326 [Debug]: 1 GB28181.App.SIPAccount assets loaded from XML record set.
2020-06-01 05:06:31.326 [Debug]: Starting file watch on /app/Config\gb28181.xml.
info: GB28181.Service.GBService[0]
GB28181 Main Service is Running
info: GB28181.Service.GBService[0]
GB28181 MainProc Worker running at: 06/01/2020 05:06:31 +00:00
2020-06-01 05:06:31.358 [Debug]: SIPMessageCore is runing at udp:192.168.197.33:5061
2020-06-01 05:06:31.367 [Debug]: SIPRegistrarCore is running at Udp:192.168.197.33:5061
2020-06-01 05:06:31.373 [Debug]: SIPUDPChannel socket on 0.0.0.0:5061 listening started.
crit: Microsoft.AspNetCore.Server.Kestrel[0]
Unable to start Kestrel.
System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
at Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseHttps(ListenOptions listenOptions, Action`1 configureOptions)
at Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseHttps(ListenOptions listenOptions)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.AddressesStrategy.BindAsync(AddressBindContext context)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(IServerAddressesFeature addresses, KestrelServerOptions serverOptions, ILogger logger, Func`2 createBinding)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
Unhandled exception. System.InvalidOperationException: Unable to configure HTTPS endpoint. No server certificate was specified, and the default developer certificate could not be found or is out of date.
To generate a developer certificate run 'dotnet dev-certs https'. To trust the certificate (Windows and macOS only) run 'dotnet dev-certs https --trust'.
For more information on configuring HTTPS see https://go.microsoft.com/fwlink/?linkid=848054.
at GB28181.Service.Program.CurrentDomain_UnhandledException(Object sender, UnhandledExceptionEventArgs e) in /src/GB28181.Server/Program.cs:line 48
protected SIPTransaction(
SIPTransport sipTransport,
SIPRequest transactionRequest,
SIPEndPoint outboundProxy)
{
try
{
if (sipTransport == null)
{
throw new ArgumentNullException("A SIPTransport object is required when creating a SIPTransaction.");
}
else if (transactionRequest == null)
{
throw new ArgumentNullException("A SIPRequest object must be supplied when creating a SIPTransaction.");
}
else if (transactionRequest.Header.Vias.TopViaHeader == null)
{
throw new ArgumentNullException("The SIP request must have a Via header when creating a SIPTransaction.");
}
如何编译安装,如何修改配置文件,API文档这些基本的说明应该有吧!
Please reply me ,if you see my question.Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.