You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
2.8 KiB

  1. {
  2. "FMSGatewayCore": {
  3. "ip-comment": "指定对外提供服务的 ip 地址,获取实时视频和历史视频播放地址用到,为空则使用本机地址",
  4. "ip": "192.168.191.18",
  5. "http_hls_port": 9556,
  6. "rtsp_port": 7554,
  7. "rtmp_port": 1935,
  8. "ssl_port": 9558,
  9. "rtp_port-comment": 0,
  10. "rtp_port": 15080,
  11. "shell_port-comment": 0,
  12. "save_dir_path": "/home/yunentech/work/images/"
  13. },
  14. "VideoUrlRule": {
  15. "hls": "http://%1:9556/yunen/%2/hls.m3u8",
  16. "rtmp": "rtmp://%1:1935/yunen/%2",
  17. "rtsp": "rtsp://%1:7554/yunen/%2",
  18. "https-flv": "https://%1:9558/yunen/%2.live.flv",
  19. "https-flv-sub": "https://%1:9558/yunen/%2-02.live.flv",
  20. "http-flv": "http://%1:9556/yunen/%2.live.flv",
  21. "http-flv-sub": "http://%1:9556/yunen/%2-02.live.flv"
  22. },
  23. "VideoUrlRuleRtp": {
  24. "hls": "http://%1:9556/rtp/%2/hls.m3u8",
  25. "rtmp": "rtmp://%1:1935/rtp/%2",
  26. "rtsp": "rtsp://%1:7554/rtp/%2",
  27. "https-flv": "https://%1:9558/rtp/%2.live.flv",
  28. "http-flv": "http://%1:9556/rtp/%2.live.flv"
  29. },
  30. "ItemList": [
  31. {
  32. "enable-comment": "是否启用定制配置",
  33. "enable": false,
  34. "session": "391",
  35. "stay_play": true,
  36. "enable_hls-comment": "比 HLSCameraList 优先级高",
  37. "enable_hls": true,
  38. "enable_mp4-comment": "比 Mp4CameraList 优先级高",
  39. "enable_mp4": false,
  40. "RecordInfo": {
  41. "begin_move-comment": "录像文件开始时间向后推移,单位秒,负值为向前推移",
  42. "begin_move": 10,
  43. "end_move-comment": "录像文件开始时间向后推移,单位秒,负值为向前推移",
  44. "end_move": 45
  45. },
  46. "GB28181-comment": "配置相机国标id",
  47. "GB28181": {
  48. "id": "34020000001320000006"
  49. }
  50. },
  51. {
  52. "session": "93d2195b7e9a4c37b63581c182ae9112",
  53. "enable-comment": "是否启用定制配置",
  54. "enable": false,
  55. "stay_play": true,
  56. "enable_hls-comment": "比 HLSCameraList 优先级高",
  57. "enable_hls": true,
  58. "enable_mp4-comment": "比 Mp4CameraList 优先级高",
  59. "enable_mp4": false,
  60. "RecordInfo": {
  61. "begin_move-comment": "录像文件开始时间向后推移,单位秒,负值为向前推移",
  62. "begin_move": 10,
  63. "end_move-comment": "录像文件开始时间向后推移,单位秒,负值为向前推移",
  64. "end_move": 45
  65. },
  66. "GB28181-": {
  67. "id": "34020000001320000007"
  68. }
  69. }
  70. ]
  71. }