Giter Club home page Giter Club logo

gb28181.solution's Introduction

sample-video-files

车辆识别效果的视频

gb28181.solution's People

Contributors

crazybber avatar dependabot[bot] avatar hexray-newbee avatar linyihong-git avatar pest1999 avatar super-large avatar urmyfaith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gb28181.solution's Issues

Cannot run in docker

step:

  • build GB28181.Service(develop) on Windows
  • copy pro to ubuntu
  • docker build
  • docker run

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

(0xc0000005) 'Access violation'

WinTool 闪退,单独启动GB28181.Server 也会闪退,报错如下:
程序“[161960] iisexpress.exe”已退出,返回值为 -1073741819 (0xc0000005) 'Access violation'。

target server does not expose service "DeviceCatalog"

grpcurl --proto GB28181.Server\Protos\DeviceCatalog.proto localhost:8080 DeviceCatalog/DeviceCatalogQuery
Error invoking method "DeviceCatalog/DeviceCatalogQuery": target server does not expose service "DeviceCatalog"

问题咨询

你好,我有个问题想要咨询您:
我在您编写的程序上添加了部分功能:将获取到的相机视频流数据通过TCP协议传输到一个新项目用于显示视频,播放控件同样使用您编写的PlayerControl控件,程序运行在win7X64系统、x64平台上,但,在程序运行到调用PlayerControl控件播放视频时,执行ffimp_init()操作出现了调用NewCJJ.dll错误:试图加载格式不正确的程序。我用depends工具查看发现是DLL版本与我的程序不符的问题(我已尝试将程序运行在X86,无法启动程序),请问,您能否提供给我一份NewCJJ.dll的x64版本?非常感谢!

WinTool 点击"启动"引发 System.Net.Sockets.SocketException

跟踪代码,发现 btnStart_Click() 调用 Initialize() 时,
var sipChannels = SIPTransportConfig.ParseSIPChannelsNode(account);
与 _messageCore.Start() 中
var sipChannels = SIPTransportConfig.ParseSIPChannelsNode(_LocalSipAccount);
这两个参数 account, _LocalSipAccount 是一样的,
导致 _messageCore.Start() 重复绑定了 UDP 5061

G729编码在VOIP语音通话中不可用。

经测试,客户端使用MicroSIP软电话,G729编码出现声音异常,无法正常通话,主叫方(MicroSIP)听不清楚声音,声音为混乱的气泡音。

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.

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

GB28181.SIPRequest中存在两个Header, 其中一个为空,造成SIPTransaction类构造时报错异常

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文档这些基本的说明应该有吧!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.