Closed immnas closed 8 months ago
You can refer to this blog.
https://blog.csdn.net/vanjoge/article/details/108319078
Simply put:
Open the RTVS/test/tstrtvs.html or http://lib.cvtsp.com/video/CVNetVideoJs/test/tstrtvs.html , Change the server address(服务器) to AWS IP, port(端口) 17000, SIM(SIM卡号), and click on 实时视频(0x9101) to view the video.
The port description can be found here: https://github.com/vanjoge/RTVS/blob/master/script/README.md
Thanks for response. Sorry not to mentioned earlier. I have try that but i am always getting "connection failure" when i click on 0x9101. i am running it from India.
You need to open ports 17000, 6001-6030 .
When in the default FMP4 mode, the browser will request ports 17000 and 6009, which you can view in F12.
that i h
Yes i have opened all the port but still i am not able to access it. See the attached different Option i can open in brower but not able to see any live stream.
9081 is the UI of GB28181, and JT1078 does not provide UI.
I guess you didn't fill in the server information correctly.
For example, if you deploy a server IP of 111.11.111.111, you need to enter 111.11.111.111 into the server, as shown in the following figure:
i always getting "connection failure" . is it protocol correct?
use cdn: No.
You only need to change the server, port, and SIM, and keep other information as default
still not working. Do i need to add country code with SIM number?
No need. If it is a SIM error, it should not indicate a connection failure.
You may have used an https URL, which requires certificate support to be added to RTVS. I don't think you did, so you need to change the HTTP URL first.
ok still nothing is playing but when i press the 0x9101 i get following logs
2023-11-24 17:30:38,820 [74] DEBUG SQ [(null)] - VideoControl接口收到数据 Content=91010016915754217412001C0E31332E3233342E3231322E32313217800000010001 2023-11-24 17:30:41,004 [74] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 00 02 00 00 05 50 00 07 85 19 0E 13 D1 7E 2023-11-24 17:30:41,005 [74] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 03 C9 0E 13 00 02 00 9F 7E
its working fine now. its not the SIM number but the device number i added its now working. Sorry one last question: How this i can stream same live video in my application (angular or react based application)?
One more thing: following command are failing "sudo -E ./run_attachment.sh" 当前执行文件......./run_attachment.sh x86_64 依赖文件检查.... 拷贝文件: ./AppConfig.json /etc/service/attachment-1/AppConfig.json 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:ListenPort,新值:6030 sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:LocWebFileUrl,新值:http://:9082/alarmfiles sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:KafkaServer,新值: sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:KafkaTopic,新值:media-complete sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:AliOssEndpoint,新值: sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:AliOssAccessKeyId,新值: sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:AliOssAccessKeySecret,新值: sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:AliOssBucketName,新值: sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:AliOssCallbackUrl,新值: sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:FileServerUrl,新值: sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:UserToken,新值: sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:ConnectionString,新值: sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 正在修改Json文件:/etc/service/attachment-1/AppConfig.json,节点:RedisConnectionString,新值: sed: couldn't edit /etc/service/attachment-1/AppConfig.json: not a regular file 1.3.9: Pulling from vanjoge/attachment Digest: sha256:b95d339a54f45d59c310109b4a8272817b764ef2cd0cb695f75757907e5763bc Status: Image is up to date for vanjoge/attachment:1.3.9 docker.io/vanjoge/attachment:1.3.9 563cc5a8c30f5a571eff0c0a2e0946ffb2216ad8ba7b8630f7e95f90d909015f
JS API: https://github.com/vanjoge/RTVS/blob/master/JsAccess.md
Additionally, your error is likely due to script or permission issues. It is recommended to execute run_all.sh
Hi, I am able to solve "attachment" error. its the line number 16 at /script/attachment/AppConfig.json file when i remove the comment "//需返回JSON" . its working fine now. Thanks for your support.
if i have to send 0x8300 command to device, what i need to do?
Hi, I have deployed this SW in the AWS ubuntu based linux server. I have configured the JT1078 based video device on the 9300 port. when i run the "docker ps" I see following
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES a79595dff9d0 vanjoge/rtvs:1.3.10 "dotnet RTVSWeb.dll" 20 hours ago Up 3 hours 0.0.0.0:6002->6002/tcp, :::6002->6002/tcp, 0.0.0.0:6010-6029->6010-6029/udp, :::6010-6029->6010-6029/udp, 0.0.0.0:6006-6029->6006-6029/tcp, :::6006-6029->6006-6029/tcp, 0.0.0.0:14100-14200->14100-14200/udp, :::14100-14200->14100-14200/udp, 0.0.0.0:6001->80/tcp, :::6001->80/tcp rtvsweb-publish-1 9ba74c02fc3e vanjoge/nginx-rtmp:flvlive "/bin/sh -c /run.sh" 20 hours ago Up 3 hours 1935/tcp, 8080/tcp, 0.0.0.0:6003-6005->6003-6005/tcp, :::6003-6005->6003-6005/tcp nginx-rtmp-1 92abc6980419 vanjoge/mediasoup-demo:v3 "docker-entrypoint.s…" 20 hours ago Up 3 hours 0.0.0.0:14001-14002->14001-14002/tcp, :::14001-14002->14001-14002/tcp, 0.0.0.0:14003-14005->14003-14005/udp, :::14003-14005->14003-14005/udp sfu-mediasoup cb57a1824f6e influxdb:1.7 "/entrypoint.sh infl…" 20 hours ago Up 3 hours 8086/tcp influxdb 76836c317ab8 mysql:5.7 "docker-entrypoint.s…" 20 hours ago Up 3 hours 3306/tcp, 33060/tcp mysql5.7 c3826efd77be vanjoge/attachment:1.3.9 "dotnet Cv.Gateways.…" 20 hours ago Restarting (0) 41 seconds ago attachment-1 6b7406fa9261 vanjoge/gw808 "dotnet 808GW.dll" 20 hours ago Up 3 hours 443/tcp, 0.0.0.0:9300->9300/tcp, :::9300->9300/tcp, 0.0.0.0:9080->80/tcp, :::9080->80/tcp tstgw808-1 5ccd3177aa8e vanjoge/gbsip:latest "dotnet GBWeb.dll" 20 hours ago Up 3 hours 443/tcp, 0.0.0.0:5060->5060/tcp, 0.0.0.0:5060->5060/udp, :::5060->5060/tcp, :::5060->5060/udp, 0.0.0.0:9081->80/tcp, :::9081->80/tcp gbsip-1 8db5a7b6a596 vanjoge/cvcluster:1.3.9 "dotnet CVCluster.dll" 20 hours ago Up 3 hours 0.0.0.0:17000->17000/tcp, :::17000->17000/tcp, 0.0.0.0:30888->80/tcp, :::30888->80/tcp, 0.0.0.0:30443->443/tcp, :::30443->443/tcp cvcluster-1 c085dda62a61 redis:4.0.10-alpine "docker-entrypoint.s…" 24 hours ago Up 3 hours 6379/tcp tstgw_redis
and when i run "docker logs -f tstgw808-1"
2023-11-24 14:12:37,170 [40] DEBUG SQ [(null)] - [R 106.209.198.214:12268] 7E 02 00 00 88 01 57 60 00 59 03 01 CA 00 00 00 00 00 00 00 02 01 B3 44 0D 04 9B 20 4B 00 DB 00 00 00 00 23 11 24 06 12 36 01 04 00 00 00 00 14 04 00 00 00 04 15 04 00 00 00 00 17 02 00 01 30 01 1F 31 01 0D EB 3F 00 0C 00 B2 89 91 10 23 05 82 89 28 06 1F 00 06 00 89 FF FF FF FF 00 06 00 C5 FF FF FF EF 00 04 00 2D 5A 52 00 11 00 D5 38 36 34 35 37 33 30 36 38 36 36 39 35 30 37 00 06 00 F8 80 00 00 00 EF 0D 00 00 00 00 00 00 00 00 00 11 12 00 00 AE 7E 2023-11-24 14:12:37,170 [40] DEBUG SQ [(null)] - [S 106.209.198.214:12268] 7E 80 01 00 05 01 57 60 00 59 03 00 06 01 CA 02 00 00 27 7E 2023-11-24 14:12:39,195 [40] DEBUG SQ [(null)] - [R 106.209.198.214:12268] 7E 02 00 00 88 01 57 60 00 59 03 01 CB 00 00 00 00 00 00 00 02 01 B3 44 0D 04 9B 20 4B 00 DB 00 00 00 00 23 11 24 06 12 36 01 04 00 00 00 00 14 04 00 00 00 04 15 04 00 00 00 00 17 02 00 01 30 01 1F 31 01 0D EB 3F 00 0C 00 B2 89 91 10 23 05 82 89 28 06 1F 00 06 00 89 FF FF FF FF 00 06 00 C5 FF FF FF EF 00 04 00 2D 5A 52 00 11 00 D5 38 36 34 35 37 33 30 36 38 36 36 39 35 30 37 00 06 00 F8 80 00 00 00 EF 0D 00 00 00 00 00 00 00 00 00 11 12 00 00 AF 7E 2023-11-24 14:12:39,195 [40] DEBUG SQ [(null)] - [S 106.209.198.214:12268] 7E 80 01 00 05 01 57 60 00 59 03 00 07 01 CB 02 00 00 27 7E 2023-11-24 14:12:39,246 [40] DEBUG SQ [(null)] - [R 106.209.198.214:12268] 7E 10 03 00 0A 01 57 60 00 59 03 01 CC 06 01 00 01 01 40 00 63 01 01 9C 7E 2023-11-24 14:12:40,754 [40] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 00 02 00 00 05 50 00 07 85 19 09 D1 14 7E 2023-11-24 14:12:40,754 [40] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 02 0B 09 D1 00 02 00 99 7E 2023-11-24 14:13:10,777 [40] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 00 02 00 00 05 50 00 07 85 19 09 D3 16 7E 2023-11-24 14:13:10,777 [40] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 02 0C 09 D3 00 02 00 9C 7E 2023-11-24 14:13:31,591 [40] DEBUG SQ [(null)] - [R 106.209.198.214:12268] 7E 02 00 00 EE 01 57 60 00 59 03 01 CD 00 00 00 00 00 00 00 02 01 B3 44 0D 04 9B 20 4B 00 DB 00 00 00 00 23 11 24 06 13 31 01 04 00 00 00 00 14 04 00 00 00 04 15 04 00 00 00 00 17 02 00 01 30 01 1F 31 01 0D A1 64 00 00 00 00 00 04 01 B3 44 0D 04 9B 20 4B 23 11 24 06 13 30 30 30 30 30 30 30 30 23 11 24 06 13 30 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EB 3F 00 0C 00 B2 89 91 10 23 05 82 89 28 06 1F 00 06 00 89 FF FF FF FF 00 06 00 C5 FF FF FF EF 00 04 00 2D 5B 44 00 11 00 D5 38 36 34 35 37 33 30 36 38 36 36 39 35 30 37 00 06 00 F8 80 00 00 00 EF 0D 00 00 00 00 00 00 00 00 00 11 12 00 00 20 7E 2023-11-24 14:13:31,592 [40] DEBUG SQ [(null)] - [S 106.209.198.214:12268] 7E 80 01 00 05 01 57 60 00 59 03 00 08 01 CD 02 00 00 2E 7E 2023-11-24 14:13:40,813 [40] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 00 02 00 00 05 50 00 07 85 19 09 D5 10 7E 2023-11-24 14:13:40,814 [40] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 02 0D 09 D5 00 02 00 9B 7E 2023-11-24 14:14:07,721 [40] DEBUG SQ [(null)] - [R 106.209.198.214:12268] 7E 02 00 00 EE 01 57 60 00 59 03 01 CE 00 00 00 00 00 00 00 02 01 B3 44 0D 04 9B 20 4B 00 DB 00 00 00 00 23 11 24 06 14 07 01 04 00 00 00 00 14 04 00 00 00 04 15 04 00 00 00 00 17 02 00 01 30 01 1F 31 01 0D A1 64 00 00 00 01 00 04 01 B3 44 0D 04 9B 20 4B 23 11 24 06 14 06 30 30 30 30 30 30 30 23 11 24 06 14 06 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EB 3F 00 0C 00 B2 89 91 10 23 05 82 89 28 06 1F 00 06 00 89 FF FF FF FF 00 06 00 C5 FF FF FF EF 00 04 00 2D 5A EC 00 11 00 D5 38 36 34 35 37 33 30 36 38 36 36 39 35 30 37 00 06 00 F8 80 00 00 00 EF 0D 00 00 00 00 00 00 00 00 00 11 12 00 00 BA 7E 2023-11-24 14:14:07,721 [40] DEBUG SQ [(null)] - [S 106.209.198.214:12268] 7E 80 01 00 05 01 57 60 00 59 03 00 09 01 CE 02 00 00 2C 7E 2023-11-24 14:14:10,829 [40] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 00 02 00 00 05 50 00 07 85 19 09 D7 12 7E 2023-11-24 14:14:10,830 [40] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 02 0E 09 D7 00 02 00 9A 7E 2023-11-24 14:14:10,895 [40] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 02 00 00 48 05 50 00 07 85 19 09 D9 00 00 00 00 00 0C 00 00 01 5F 25 33 06 D0 B3 1D 00 00 00 00 00 00 23 11 24 14 14 10 01 04 00 00 00 00 03 02 00 00 14 04 00 00 00 00 15 04 00 00 00 00 16 04 00 00 00 00 17 02 00 00 25 04 00 00 00 00 30 01 1F 31 01 00 53 7E 2023-11-24 14:14:10,895 [40] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 02 0F 09 D9 02 00 00 95 7E 2023-11-24 14:14:41,011 [40] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 00 02 00 00 05 50 00 07 85 19 09 DD 18 7E 2023-11-24 14:14:41,011 [40] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 02 10 09 DD 00 02 00 8E 7E 2023-11-24 14:15:11,026 [40] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 00 02 00 00 05 50 00 07 85 19 09 DF 1A 7E 2023-11-24 14:15:11,027 [40] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 02 11 09 DF 00 02 00 8D 7E 2023-11-24 14:15:18,113 [40] DEBUG SQ [(null)] - [R 106.209.198.214:12268] 7E 02 00 00 EE 01 57 60 00 59 03 01 CF 00 00 00 00 00 00 00 02 01 B3 44 0D 04 9B 20 4B 00 DB 00 00 00 00 23 11 24 06 15 17 01 04 00 00 00 00 14 04 00 00 00 04 15 04 00 00 00 00 17 02 00 01 30 01 1F 31 01 0D A1 64 00 00 00 02 00 04 01 B3 44 0D 04 9B 20 4B 23 11 24 06 15 15 30 30 30 30 30 30 30 23 11 24 06 15 15 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EB 3F 00 0C 00 B2 89 91 10 23 05 82 89 28 06 1F 00 06 00 89 FF FF FF FF 00 06 00 C5 FF FF FF EF 00 04 00 2D 5A EC 00 11 00 D5 38 36 34 35 37 33 30 36 38 36 36 39 35 30 37 00 06 00 F8 80 00 00 00 EF 0D 00 00 00 00 00 00 00 00 00 11 12 00 00 A9 7E 2023-11-24 14:15:18,114 [40] DEBUG SQ [(null)] - [S 106.209.198.214:12268] 7E 80 01 00 05 01 57 60 00 59 03 00 0A 01 CF 02 00 00 2E 7E 2023-11-24 14:15:41,054 [40] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 00 02 00 00 05 50 00 07 85 19 09 E1 24 7E 2023-11-24 14:15:41,054 [40] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 02 12 09 E1 00 02 00 B0 7E 2023-11-24 14:16:10,733 [35] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 02 00 00 48 05 50 00 07 85 19 09 E3 00 00 00 00 00 0C 00 00 01 5F 25 33 06 D0 B3 1D 00 00 00 00 00 00 23 11 24 14 16 10 01 04 00 00 00 00 03 02 00 00 14 04 00 00 00 00 15 04 00 00 00 00 16 04 00 00 00 00 17 02 00 00 25 04 00 00 00 00 30 01 1F 31 01 00 6B 7E 2023-11-24 14:16:10,734 [35] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 02 13 09 E3 02 00 00 B3 7E 2023-11-24 14:16:36,453 [35] DEBUG SQ [(null)] - [R 106.209.198.214:12268] 7E 02 00 00 EE 01 57 60 00 59 03 01 D0 00 00 00 00 00 00 00 02 01 B3 44 0D 04 9B 20 4B 00 DB 00 00 00 00 23 11 24 06 16 35 01 04 00 00 00 00 14 04 00 00 00 04 15 04 00 00 00 00 17 02 00 01 30 01 1F 31 01 0D A1 64 00 00 00 03 00 04 01 B3 44 0D 04 9B 20 4B 23 11 24 06 16 35 30 30 30 30 30 30 30 23 11 24 06 16 35 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 EB 3F 00 0C 00 B2 89 91 10 23 05 82 89 28 06 1F 00 06 00 89 FF FF FF FF 00 06 00 C5 FF FF FF EF 00 04 00 2D 5A EC 00 11 00 D5 38 36 34 35 37 33 30 36 38 36 36 39 35 30 37 00 06 00 F8 80 00 00 00 EF 0D 00 00 00 00 00 00 00 00 00 11 12 00 00 96 7E 2023-11-24 14:16:36,454 [35] DEBUG SQ [(null)] - [S 106.209.198.214:12268] 7E 80 01 00 05 01 57 60 00 59 03 00 0B 01 D0 02 00 00 30 7E 2023-11-24 14:16:40,757 [35] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 00 02 00 00 05 50 00 07 85 19 09 E7 22 7E 2023-11-24 14:16:40,758 [35] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 02 14 09 E7 00 02 00 B0 7E 2023-11-24 14:17:10,780 [34] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 00 02 00 00 05 50 00 07 85 19 09 E9 2C 7E 2023-11-24 14:17:10,781 [34] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 02 15 09 E9 00 02 00 BF 7E 2023-11-24 14:17:32,960 [34] DEBUG SQ [(null)] - [R 106.209.198.214:12268] 7E 00 02 00 00 01 57 60 00 59 03 01 D1 BE 7E 2023-11-24 14:17:32,961 [34] DEBUG SQ [(null)] - [S 106.209.198.214:12268] 7E 80 01 00 05 01 57 60 00 59 03 00 0C 01 D1 00 02 00 36 7E 2023-11-24 14:17:40,990 [34] DEBUG SQ [(null)] - [R 106.209.215.27:60116] 7E 00 02 00 00 05 50 00 07 85 19 09 EB 2E 7E 2023-11-24 14:17:40,991 [34] DEBUG SQ [(null)] - [S 106.209.215.27:60116] 7E 80 01 00 05 05 50 00 07 85 19 02 16 09 EB 00 02 00 BE 7E
How I can the live streaming of my video in browser or with API? This linux server only support command line. so I can only access it externally let me know which port i need to open. I have updated my server IP at one run_all.sh.