diff --git a/rootfs/link/bin/Encoder b/rootfs/link/bin/Encoder index 0f0fe97..a13cf0a 100644 Binary files a/rootfs/link/bin/Encoder and b/rootfs/link/bin/Encoder differ diff --git a/rootfs/link/config/config.json b/rootfs/link/config/config.json index c84331a..66badc3 100644 --- a/rootfs/link/config/config.json +++ b/rootfs/link/config/config.json @@ -19,7 +19,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -35,7 +37,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 0, @@ -76,7 +80,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main0" + "path": "rtmp://127.0.0.1/live/test_main0", + "flvflags": "" }, "suffix": "stream0" }, @@ -111,7 +116,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub0" + "path": "rtmp://127.0.0.1/live/test_sub0", + "flvflags": "" }, "suffix": "sub0" }, @@ -167,7 +173,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -183,7 +191,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 1, @@ -224,7 +234,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main1" + "path": "rtmp://127.0.0.1/live/test_main1", + "flvflags": "" }, "suffix": "stream1" }, @@ -259,7 +270,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub1" + "path": "rtmp://127.0.0.1/live/test_sub1", + "flvflags": "" }, "suffix": "sub1" }, @@ -306,7 +318,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -322,7 +336,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 2, @@ -363,7 +379,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main2" + "path": "rtmp://127.0.0.1/live/test_main2", + "flvflags": "" }, "suffix": "stream2" }, @@ -398,7 +415,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub2" + "path": "rtmp://127.0.0.1/live/test_sub2", + "flvflags": "" }, "suffix": "sub2" }, @@ -451,7 +469,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -467,7 +487,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 3, @@ -508,7 +530,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main3" + "path": "rtmp://127.0.0.1/live/test_main3", + "flvflags": "" }, "suffix": "stream3" }, @@ -543,7 +566,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub3" + "path": "rtmp://127.0.0.1/live/test_sub3", + "flvflags": "" }, "suffix": "sub3" }, @@ -613,7 +637,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main4" + "path": "rtmp://127.0.0.1/live/test_main4", + "flvflags": "" }, "suffix": "stream4" }, @@ -648,7 +673,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub4" + "path": "rtmp://127.0.0.1/live/test_sub4", + "flvflags": "" }, "suffix": "sub4" }, @@ -695,7 +721,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -711,7 +739,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 5, @@ -752,7 +782,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main5" + "path": "rtmp://127.0.0.1/live/test_main5", + "flvflags": "" }, "suffix": "stream5" }, @@ -787,7 +818,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub5" + "path": "rtmp://127.0.0.1/live/test_sub5", + "flvflags": "" }, "suffix": "sub5" }, @@ -834,7 +866,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -850,7 +884,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 6, @@ -891,7 +927,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main6" + "path": "rtmp://127.0.0.1/live/test_main6", + "flvflags": "" }, "suffix": "stream6" }, @@ -926,7 +963,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub6" + "path": "rtmp://127.0.0.1/live/test_sub6", + "flvflags": "" }, "suffix": "sub6" }, @@ -998,7 +1036,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -1014,7 +1054,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 7, @@ -1055,7 +1097,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main7" + "path": "rtmp://127.0.0.1/live/test_main7", + "flvflags": "" }, "suffix": "stream7" }, @@ -1090,7 +1133,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub7" + "path": "rtmp://127.0.0.1/live/test_sub7", + "flvflags": "" }, "suffix": "sub7" }, diff --git a/rootfs/link/config/default/config.json b/rootfs/link/config/default/config.json index c84331a..66badc3 100644 --- a/rootfs/link/config/default/config.json +++ b/rootfs/link/config/default/config.json @@ -19,7 +19,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -35,7 +37,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 0, @@ -76,7 +80,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main0" + "path": "rtmp://127.0.0.1/live/test_main0", + "flvflags": "" }, "suffix": "stream0" }, @@ -111,7 +116,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub0" + "path": "rtmp://127.0.0.1/live/test_sub0", + "flvflags": "" }, "suffix": "sub0" }, @@ -167,7 +173,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -183,7 +191,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 1, @@ -224,7 +234,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main1" + "path": "rtmp://127.0.0.1/live/test_main1", + "flvflags": "" }, "suffix": "stream1" }, @@ -259,7 +270,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub1" + "path": "rtmp://127.0.0.1/live/test_sub1", + "flvflags": "" }, "suffix": "sub1" }, @@ -306,7 +318,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -322,7 +336,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 2, @@ -363,7 +379,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main2" + "path": "rtmp://127.0.0.1/live/test_main2", + "flvflags": "" }, "suffix": "stream2" }, @@ -398,7 +415,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub2" + "path": "rtmp://127.0.0.1/live/test_sub2", + "flvflags": "" }, "suffix": "sub2" }, @@ -451,7 +469,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -467,7 +487,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 3, @@ -508,7 +530,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main3" + "path": "rtmp://127.0.0.1/live/test_main3", + "flvflags": "" }, "suffix": "stream3" }, @@ -543,7 +566,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub3" + "path": "rtmp://127.0.0.1/live/test_sub3", + "flvflags": "" }, "suffix": "sub3" }, @@ -613,7 +637,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main4" + "path": "rtmp://127.0.0.1/live/test_main4", + "flvflags": "" }, "suffix": "stream4" }, @@ -648,7 +673,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub4" + "path": "rtmp://127.0.0.1/live/test_sub4", + "flvflags": "" }, "suffix": "sub4" }, @@ -695,7 +721,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -711,7 +739,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 5, @@ -752,7 +782,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main5" + "path": "rtmp://127.0.0.1/live/test_main5", + "flvflags": "" }, "suffix": "stream5" }, @@ -787,7 +818,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub5" + "path": "rtmp://127.0.0.1/live/test_sub5", + "flvflags": "" }, "suffix": "sub5" }, @@ -834,7 +866,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -850,7 +884,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 6, @@ -891,7 +927,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main6" + "path": "rtmp://127.0.0.1/live/test_main6", + "flvflags": "" }, "suffix": "stream6" }, @@ -926,7 +963,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub6" + "path": "rtmp://127.0.0.1/live/test_sub6", + "flvflags": "" }, "suffix": "sub6" }, @@ -998,7 +1036,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -1014,7 +1054,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 7, @@ -1055,7 +1097,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main7" + "path": "rtmp://127.0.0.1/live/test_main7", + "flvflags": "" }, "suffix": "stream7" }, @@ -1090,7 +1133,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub7" + "path": "rtmp://127.0.0.1/live/test_sub7", + "flvflags": "" }, "suffix": "sub7" }, diff --git a/rootfs/link/config/push.json b/rootfs/link/config/push.json index 9df61d5..ca98ec8 100644 --- a/rootfs/link/config/push.json +++ b/rootfs/link/config/push.json @@ -7,22 +7,26 @@ { "des": "platform 1", "enable": true, - "path": "rtmp://127.0.0.1/live/push1" + "path": "rtmp://127.0.0.1/live/push1", + "flvflags": "" }, { "des": "platform 2", "enable": false, - "path": "rtmp://127.0.0.1/live/push2" + "path": "rtmp://127.0.0.1/live/push2", + "flvflags": "" }, { "des": "platform 3", "enable": false, - "path": "rtmp://127.0.0.1/live/push3" + "path": "rtmp://127.0.0.1/live/push3", + "flvflags": "" }, { "des": "platform 4", "enable": false, - "path": "rtmp://127.0.0.1/live/push4" + "path": "rtmp://127.0.0.1/live/push4", + "flvflags": "" } ] } diff --git a/rootfs/link/config/verLogs.json b/rootfs/link/config/verLogs.json index a7fb07c..8f9a901 100644 --- a/rootfs/link/config/verLogs.json +++ b/rootfs/link/config/verLogs.json @@ -1,4 +1,14 @@ [ + { + "version": "2.7.0 build 20231031", + "logs": [ + "编码设置页面新增帧同步设置", + "多平台直播页面,新增推流兼容性设置,兼容向youtube推流", + "优化NTP同步功能", + "优化纯音频网络流编码逻辑", + "系统底层优化" + ] + }, { "version": "2.6.0 build 20230928", "logs": [ @@ -10,7 +20,7 @@ ] }, { - "version": "2.5.0 build 20230927", + "version": "2.5.0 build 20230831", "logs": [ "修正http接口获取/设置水印异常问题", "修正srt输出,latency参数值不能大于1000的问题", diff --git a/rootfs/link/config/version.json b/rootfs/link/config/version.json index e869b23..f29c72d 100644 --- a/rootfs/link/config/version.json +++ b/rootfs/link/config/version.json @@ -1,5 +1,5 @@ { "app": "2.0.0 build 20220512_869", "sdk": "2.0.0 build 20220518_20716", - "sys": "2.6.0 build 20230928" + "sys": "2.7.0 build 20231031" } diff --git a/rootfs/link/fac/EX2/config/config.json b/rootfs/link/fac/EX2/config/config.json index c84331a..66badc3 100644 --- a/rootfs/link/fac/EX2/config/config.json +++ b/rootfs/link/fac/EX2/config/config.json @@ -19,7 +19,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -35,7 +37,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 0, @@ -76,7 +80,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main0" + "path": "rtmp://127.0.0.1/live/test_main0", + "flvflags": "" }, "suffix": "stream0" }, @@ -111,7 +116,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub0" + "path": "rtmp://127.0.0.1/live/test_sub0", + "flvflags": "" }, "suffix": "sub0" }, @@ -167,7 +173,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -183,7 +191,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 1, @@ -224,7 +234,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main1" + "path": "rtmp://127.0.0.1/live/test_main1", + "flvflags": "" }, "suffix": "stream1" }, @@ -259,7 +270,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub1" + "path": "rtmp://127.0.0.1/live/test_sub1", + "flvflags": "" }, "suffix": "sub1" }, @@ -306,7 +318,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -322,7 +336,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 2, @@ -363,7 +379,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main2" + "path": "rtmp://127.0.0.1/live/test_main2", + "flvflags": "" }, "suffix": "stream2" }, @@ -398,7 +415,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub2" + "path": "rtmp://127.0.0.1/live/test_sub2", + "flvflags": "" }, "suffix": "sub2" }, @@ -451,7 +469,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -467,7 +487,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 3, @@ -508,7 +530,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main3" + "path": "rtmp://127.0.0.1/live/test_main3", + "flvflags": "" }, "suffix": "stream3" }, @@ -543,7 +566,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub3" + "path": "rtmp://127.0.0.1/live/test_sub3", + "flvflags": "" }, "suffix": "sub3" }, @@ -613,7 +637,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main4" + "path": "rtmp://127.0.0.1/live/test_main4", + "flvflags": "" }, "suffix": "stream4" }, @@ -648,7 +673,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub4" + "path": "rtmp://127.0.0.1/live/test_sub4", + "flvflags": "" }, "suffix": "sub4" }, @@ -695,7 +721,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -711,7 +739,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 5, @@ -752,7 +782,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main5" + "path": "rtmp://127.0.0.1/live/test_main5", + "flvflags": "" }, "suffix": "stream5" }, @@ -787,7 +818,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub5" + "path": "rtmp://127.0.0.1/live/test_sub5", + "flvflags": "" }, "suffix": "sub5" }, @@ -834,7 +866,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -850,7 +884,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 6, @@ -891,7 +927,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main6" + "path": "rtmp://127.0.0.1/live/test_main6", + "flvflags": "" }, "suffix": "stream6" }, @@ -926,7 +963,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub6" + "path": "rtmp://127.0.0.1/live/test_sub6", + "flvflags": "" }, "suffix": "sub6" }, @@ -998,7 +1036,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -1014,7 +1054,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 7, @@ -1055,7 +1097,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main7" + "path": "rtmp://127.0.0.1/live/test_main7", + "flvflags": "" }, "suffix": "stream7" }, @@ -1090,7 +1133,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub7" + "path": "rtmp://127.0.0.1/live/test_sub7", + "flvflags": "" }, "suffix": "sub7" }, diff --git a/rootfs/link/fac/EX2/config/default/config.json b/rootfs/link/fac/EX2/config/default/config.json index c84331a..66badc3 100644 --- a/rootfs/link/fac/EX2/config/default/config.json +++ b/rootfs/link/fac/EX2/config/default/config.json @@ -19,7 +19,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -35,7 +37,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 0, @@ -76,7 +80,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main0" + "path": "rtmp://127.0.0.1/live/test_main0", + "flvflags": "" }, "suffix": "stream0" }, @@ -111,7 +116,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub0" + "path": "rtmp://127.0.0.1/live/test_sub0", + "flvflags": "" }, "suffix": "sub0" }, @@ -167,7 +173,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -183,7 +191,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 1, @@ -224,7 +234,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main1" + "path": "rtmp://127.0.0.1/live/test_main1", + "flvflags": "" }, "suffix": "stream1" }, @@ -259,7 +270,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub1" + "path": "rtmp://127.0.0.1/live/test_sub1", + "flvflags": "" }, "suffix": "sub1" }, @@ -306,7 +318,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -322,7 +336,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 2, @@ -363,7 +379,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main2" + "path": "rtmp://127.0.0.1/live/test_main2", + "flvflags": "" }, "suffix": "stream2" }, @@ -398,7 +415,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub2" + "path": "rtmp://127.0.0.1/live/test_sub2", + "flvflags": "" }, "suffix": "sub2" }, @@ -451,7 +469,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -467,7 +487,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 3, @@ -508,7 +530,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main3" + "path": "rtmp://127.0.0.1/live/test_main3", + "flvflags": "" }, "suffix": "stream3" }, @@ -543,7 +566,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub3" + "path": "rtmp://127.0.0.1/live/test_sub3", + "flvflags": "" }, "suffix": "sub3" }, @@ -613,7 +637,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main4" + "path": "rtmp://127.0.0.1/live/test_main4", + "flvflags": "" }, "suffix": "stream4" }, @@ -648,7 +673,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub4" + "path": "rtmp://127.0.0.1/live/test_sub4", + "flvflags": "" }, "suffix": "sub4" }, @@ -695,7 +721,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -711,7 +739,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 5, @@ -752,7 +782,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main5" + "path": "rtmp://127.0.0.1/live/test_main5", + "flvflags": "" }, "suffix": "stream5" }, @@ -787,7 +818,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub5" + "path": "rtmp://127.0.0.1/live/test_sub5", + "flvflags": "" }, "suffix": "sub5" }, @@ -834,7 +866,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -850,7 +884,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 6, @@ -891,7 +927,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main6" + "path": "rtmp://127.0.0.1/live/test_main6", + "flvflags": "" }, "suffix": "stream6" }, @@ -926,7 +963,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub6" + "path": "rtmp://127.0.0.1/live/test_sub6", + "flvflags": "" }, "suffix": "sub6" }, @@ -998,7 +1036,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -1014,7 +1054,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 7, @@ -1055,7 +1097,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main7" + "path": "rtmp://127.0.0.1/live/test_main7", + "flvflags": "" }, "suffix": "stream7" }, @@ -1090,7 +1133,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub7" + "path": "rtmp://127.0.0.1/live/test_sub7", + "flvflags": "" }, "suffix": "sub7" }, diff --git a/rootfs/link/fac/SH/config/config.json b/rootfs/link/fac/SH/config/config.json index aecf3c3..48694bf 100644 --- a/rootfs/link/fac/SH/config/config.json +++ b/rootfs/link/fac/SH/config/config.json @@ -19,7 +19,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -35,7 +37,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 0, @@ -76,7 +80,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main0" + "path": "rtmp://127.0.0.1/live/test_main0", + "flvflags": "" }, "suffix": "stream0" }, @@ -111,7 +116,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub0" + "path": "rtmp://127.0.0.1/live/test_sub0", + "flvflags": "" }, "suffix": "sub0" }, @@ -167,7 +173,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -183,7 +191,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 1, @@ -224,7 +234,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main1" + "path": "rtmp://127.0.0.1/live/test_main1", + "flvflags": "" }, "suffix": "stream1" }, @@ -259,7 +270,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub1" + "path": "rtmp://127.0.0.1/live/test_sub1", + "flvflags": "" }, "suffix": "sub1" }, @@ -315,7 +327,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -331,7 +345,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 2, @@ -372,7 +388,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main2" + "path": "rtmp://127.0.0.1/live/test_main2", + "flvflags": "" }, "suffix": "stream2" }, @@ -407,7 +424,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub2" + "path": "rtmp://127.0.0.1/live/test_sub2", + "flvflags": "" }, "suffix": "sub2" }, @@ -454,7 +472,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -470,7 +490,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 3, @@ -511,7 +533,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main3" + "path": "rtmp://127.0.0.1/live/test_main3", + "flvflags": "" }, "suffix": "stream3" }, @@ -546,7 +569,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub3" + "path": "rtmp://127.0.0.1/live/test_sub3", + "flvflags": "" }, "suffix": "sub3" }, @@ -599,7 +623,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -615,7 +641,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 4, @@ -656,7 +684,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main4" + "path": "rtmp://127.0.0.1/live/test_main4", + "flvflags": "" }, "suffix": "stream4" }, @@ -691,7 +720,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub4" + "path": "rtmp://127.0.0.1/live/test_sub4", + "flvflags": "" }, "suffix": "sub4" }, @@ -744,7 +774,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -760,7 +792,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 5, @@ -801,7 +835,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main5" + "path": "rtmp://127.0.0.1/live/test_main5", + "flvflags": "" }, "suffix": "stream5" }, @@ -836,7 +871,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub5" + "path": "rtmp://127.0.0.1/live/test_sub5", + "flvflags": "" }, "suffix": "sub5" }, @@ -889,7 +925,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -905,7 +943,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 6, @@ -946,7 +986,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main6" + "path": "rtmp://127.0.0.1/live/test_main6", + "flvflags": "" }, "suffix": "stream6" }, @@ -981,7 +1022,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub6" + "path": "rtmp://127.0.0.1/live/test_sub6", + "flvflags": "" }, "suffix": "sub6" }, @@ -1051,7 +1093,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main7" + "path": "rtmp://127.0.0.1/live/test_main7", + "flvflags": "" }, "suffix": "stream7" }, @@ -1086,7 +1129,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub7" + "path": "rtmp://127.0.0.1/live/test_sub7", + "flvflags": "" }, "suffix": "sub7" }, @@ -1133,7 +1177,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -1149,7 +1195,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 8, @@ -1190,7 +1238,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main8" + "path": "rtmp://127.0.0.1/live/test_main8", + "flvflags": "" }, "suffix": "stream8" }, @@ -1225,7 +1274,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub8" + "path": "rtmp://127.0.0.1/live/test_sub8", + "flvflags": "" }, "suffix": "sub8" }, @@ -1272,7 +1322,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -1288,7 +1340,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 9, @@ -1329,7 +1383,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main9" + "path": "rtmp://127.0.0.1/live/test_main9", + "flvflags": "" }, "suffix": "stream9" }, @@ -1364,7 +1419,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub9" + "path": "rtmp://127.0.0.1/live/test_sub9", + "flvflags": "" }, "suffix": "sub9" }, @@ -1436,7 +1492,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -1452,7 +1510,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 10, @@ -1493,7 +1553,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main10" + "path": "rtmp://127.0.0.1/live/test_main10", + "flvflags": "" }, "suffix": "stream10" }, @@ -1528,7 +1589,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub10" + "path": "rtmp://127.0.0.1/live/test_sub10", + "flvflags": "" }, "suffix": "sub10" }, diff --git a/rootfs/link/fac/SH/config/default/config.json b/rootfs/link/fac/SH/config/default/config.json index aecf3c3..48694bf 100644 --- a/rootfs/link/fac/SH/config/default/config.json +++ b/rootfs/link/fac/SH/config/default/config.json @@ -19,7 +19,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -35,7 +37,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 0, @@ -76,7 +80,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main0" + "path": "rtmp://127.0.0.1/live/test_main0", + "flvflags": "" }, "suffix": "stream0" }, @@ -111,7 +116,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub0" + "path": "rtmp://127.0.0.1/live/test_sub0", + "flvflags": "" }, "suffix": "sub0" }, @@ -167,7 +173,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -183,7 +191,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 1, @@ -224,7 +234,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main1" + "path": "rtmp://127.0.0.1/live/test_main1", + "flvflags": "" }, "suffix": "stream1" }, @@ -259,7 +270,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub1" + "path": "rtmp://127.0.0.1/live/test_sub1", + "flvflags": "" }, "suffix": "sub1" }, @@ -315,7 +327,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -331,7 +345,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 2, @@ -372,7 +388,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main2" + "path": "rtmp://127.0.0.1/live/test_main2", + "flvflags": "" }, "suffix": "stream2" }, @@ -407,7 +424,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub2" + "path": "rtmp://127.0.0.1/live/test_sub2", + "flvflags": "" }, "suffix": "sub2" }, @@ -454,7 +472,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -470,7 +490,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 3, @@ -511,7 +533,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main3" + "path": "rtmp://127.0.0.1/live/test_main3", + "flvflags": "" }, "suffix": "stream3" }, @@ -546,7 +569,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub3" + "path": "rtmp://127.0.0.1/live/test_sub3", + "flvflags": "" }, "suffix": "sub3" }, @@ -599,7 +623,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -615,7 +641,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 4, @@ -656,7 +684,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main4" + "path": "rtmp://127.0.0.1/live/test_main4", + "flvflags": "" }, "suffix": "stream4" }, @@ -691,7 +720,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub4" + "path": "rtmp://127.0.0.1/live/test_sub4", + "flvflags": "" }, "suffix": "sub4" }, @@ -744,7 +774,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -760,7 +792,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 5, @@ -801,7 +835,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main5" + "path": "rtmp://127.0.0.1/live/test_main5", + "flvflags": "" }, "suffix": "stream5" }, @@ -836,7 +871,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub5" + "path": "rtmp://127.0.0.1/live/test_sub5", + "flvflags": "" }, "suffix": "sub5" }, @@ -889,7 +925,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -905,7 +943,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 6, @@ -946,7 +986,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main6" + "path": "rtmp://127.0.0.1/live/test_main6", + "flvflags": "" }, "suffix": "stream6" }, @@ -981,7 +1022,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub6" + "path": "rtmp://127.0.0.1/live/test_sub6", + "flvflags": "" }, "suffix": "sub6" }, @@ -1051,7 +1093,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main7" + "path": "rtmp://127.0.0.1/live/test_main7", + "flvflags": "" }, "suffix": "stream7" }, @@ -1086,7 +1129,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub7" + "path": "rtmp://127.0.0.1/live/test_sub7", + "flvflags": "" }, "suffix": "sub7" }, @@ -1133,7 +1177,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -1149,7 +1195,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 8, @@ -1190,7 +1238,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main8" + "path": "rtmp://127.0.0.1/live/test_main8", + "flvflags": "" }, "suffix": "stream8" }, @@ -1225,7 +1274,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub8" + "path": "rtmp://127.0.0.1/live/test_sub8", + "flvflags": "" }, "suffix": "sub8" }, @@ -1272,7 +1322,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -1288,7 +1340,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 9, @@ -1329,7 +1383,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main9" + "path": "rtmp://127.0.0.1/live/test_main9", + "flvflags": "" }, "suffix": "stream9" }, @@ -1364,7 +1419,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub9" + "path": "rtmp://127.0.0.1/live/test_sub9", + "flvflags": "" }, "suffix": "sub9" }, @@ -1436,7 +1492,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -1452,7 +1510,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 10, @@ -1493,7 +1553,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main10" + "path": "rtmp://127.0.0.1/live/test_main10", + "flvflags": "" }, "suffix": "stream10" }, @@ -1528,7 +1589,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub10" + "path": "rtmp://127.0.0.1/live/test_sub10", + "flvflags": "" }, "suffix": "sub10" }, diff --git a/rootfs/link/fac/V2/config/config.json b/rootfs/link/fac/V2/config/config.json index c84331a..66badc3 100644 --- a/rootfs/link/fac/V2/config/config.json +++ b/rootfs/link/fac/V2/config/config.json @@ -19,7 +19,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -35,7 +37,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 0, @@ -76,7 +80,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main0" + "path": "rtmp://127.0.0.1/live/test_main0", + "flvflags": "" }, "suffix": "stream0" }, @@ -111,7 +116,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub0" + "path": "rtmp://127.0.0.1/live/test_sub0", + "flvflags": "" }, "suffix": "sub0" }, @@ -167,7 +173,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -183,7 +191,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 1, @@ -224,7 +234,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main1" + "path": "rtmp://127.0.0.1/live/test_main1", + "flvflags": "" }, "suffix": "stream1" }, @@ -259,7 +270,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub1" + "path": "rtmp://127.0.0.1/live/test_sub1", + "flvflags": "" }, "suffix": "sub1" }, @@ -306,7 +318,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -322,7 +336,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 2, @@ -363,7 +379,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main2" + "path": "rtmp://127.0.0.1/live/test_main2", + "flvflags": "" }, "suffix": "stream2" }, @@ -398,7 +415,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub2" + "path": "rtmp://127.0.0.1/live/test_sub2", + "flvflags": "" }, "suffix": "sub2" }, @@ -451,7 +469,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -467,7 +487,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 3, @@ -508,7 +530,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main3" + "path": "rtmp://127.0.0.1/live/test_main3", + "flvflags": "" }, "suffix": "stream3" }, @@ -543,7 +566,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub3" + "path": "rtmp://127.0.0.1/live/test_sub3", + "flvflags": "" }, "suffix": "sub3" }, @@ -613,7 +637,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main4" + "path": "rtmp://127.0.0.1/live/test_main4", + "flvflags": "" }, "suffix": "stream4" }, @@ -648,7 +673,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub4" + "path": "rtmp://127.0.0.1/live/test_sub4", + "flvflags": "" }, "suffix": "sub4" }, @@ -695,7 +721,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -711,7 +739,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 5, @@ -752,7 +782,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main5" + "path": "rtmp://127.0.0.1/live/test_main5", + "flvflags": "" }, "suffix": "stream5" }, @@ -787,7 +818,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub5" + "path": "rtmp://127.0.0.1/live/test_sub5", + "flvflags": "" }, "suffix": "sub5" }, @@ -834,7 +866,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -850,7 +884,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 6, @@ -891,7 +927,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main6" + "path": "rtmp://127.0.0.1/live/test_main6", + "flvflags": "" }, "suffix": "stream6" }, @@ -926,7 +963,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub6" + "path": "rtmp://127.0.0.1/live/test_sub6", + "flvflags": "" }, "suffix": "sub6" }, @@ -998,7 +1036,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -1014,7 +1054,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 7, @@ -1055,7 +1097,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main7" + "path": "rtmp://127.0.0.1/live/test_main7", + "flvflags": "" }, "suffix": "stream7" }, @@ -1090,7 +1133,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub7" + "path": "rtmp://127.0.0.1/live/test_sub7", + "flvflags": "" }, "suffix": "sub7" }, diff --git a/rootfs/link/fac/V2/config/default/config.json b/rootfs/link/fac/V2/config/default/config.json index c84331a..66badc3 100644 --- a/rootfs/link/fac/V2/config/default/config.json +++ b/rootfs/link/fac/V2/config/default/config.json @@ -19,7 +19,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -35,7 +37,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 0, @@ -76,7 +80,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main0" + "path": "rtmp://127.0.0.1/live/test_main0", + "flvflags": "" }, "suffix": "stream0" }, @@ -111,7 +116,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub0" + "path": "rtmp://127.0.0.1/live/test_sub0", + "flvflags": "" }, "suffix": "sub0" }, @@ -167,7 +173,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -183,7 +191,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 1, @@ -224,7 +234,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main1" + "path": "rtmp://127.0.0.1/live/test_main1", + "flvflags": "" }, "suffix": "stream1" }, @@ -259,7 +270,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub1" + "path": "rtmp://127.0.0.1/live/test_sub1", + "flvflags": "" }, "suffix": "sub1" }, @@ -306,7 +318,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -322,7 +336,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 2, @@ -363,7 +379,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main2" + "path": "rtmp://127.0.0.1/live/test_main2", + "flvflags": "" }, "suffix": "stream2" }, @@ -398,7 +415,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub2" + "path": "rtmp://127.0.0.1/live/test_sub2", + "flvflags": "" }, "suffix": "sub2" }, @@ -451,7 +469,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -467,7 +487,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 3, @@ -508,7 +530,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main3" + "path": "rtmp://127.0.0.1/live/test_main3", + "flvflags": "" }, "suffix": "stream3" }, @@ -543,7 +566,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub3" + "path": "rtmp://127.0.0.1/live/test_sub3", + "flvflags": "" }, "suffix": "sub3" }, @@ -613,7 +637,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main4" + "path": "rtmp://127.0.0.1/live/test_main4", + "flvflags": "" }, "suffix": "stream4" }, @@ -648,7 +673,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub4" + "path": "rtmp://127.0.0.1/live/test_sub4", + "flvflags": "" }, "suffix": "sub4" }, @@ -695,7 +721,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -711,7 +739,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 5, @@ -752,7 +782,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main5" + "path": "rtmp://127.0.0.1/live/test_main5", + "flvflags": "" }, "suffix": "stream5" }, @@ -787,7 +818,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub5" + "path": "rtmp://127.0.0.1/live/test_sub5", + "flvflags": "" }, "suffix": "sub5" }, @@ -834,7 +866,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -850,7 +884,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 6, @@ -891,7 +927,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main6" + "path": "rtmp://127.0.0.1/live/test_main6", + "flvflags": "" }, "suffix": "stream6" }, @@ -926,7 +963,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub6" + "path": "rtmp://127.0.0.1/live/test_sub6", + "flvflags": "" }, "suffix": "sub6" }, @@ -998,7 +1036,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "encv2": { "width": 640, @@ -1014,7 +1054,9 @@ "minqp": 22, "maxqp": 36, "Iqp": 25, - "Pqp": 25 + "Pqp": 25, + "syncTS": false, + "syncTSMode": "linkpi" }, "enca": { "audioSrc": 7, @@ -1055,7 +1097,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_main7" + "path": "rtmp://127.0.0.1/live/test_main7", + "flvflags": "" }, "suffix": "stream7" }, @@ -1090,7 +1133,8 @@ "format": "auto", "enable": false, "hevc_id": 12, - "path": "rtmp://127.0.0.1/live/test_sub7" + "path": "rtmp://127.0.0.1/live/test_sub7", + "flvflags": "" }, "suffix": "sub7" }, diff --git a/rootfs/link/shell/fusb.sh b/rootfs/link/shell/fusb.sh index 2d0deda..0089db5 100644 --- a/rootfs/link/shell/fusb.sh +++ b/rootfs/link/shell/fusb.sh @@ -2,7 +2,7 @@ umount_usb(){ mnt=`df -h | grep /root/usb | wc -l` count=0 - while [ $mnt -eq 1 -a $count -le 5 ] + while [ $mnt -gt 0 -a $count -le 5 ] do umount -f /root/usb/ mnt=`df -h | grep /root/usb | wc -l` diff --git a/rootfs/link/shell/netManager.sh b/rootfs/link/shell/netManager.sh index 96172bf..a1e8b36 100644 --- a/rootfs/link/shell/netManager.sh +++ b/rootfs/link/shell/netManager.sh @@ -7,9 +7,13 @@ sleep 2 if [ -d /sys/class/net/eth1 ]; then /link/shell/setMac2.sh -if [ "$fac"=="ENC2" ] && [ -d /sys/class/net/eth2 ]; then - /link/shell/setNetwork2.sh eth2 -else - /link/shell/setNetwork2.sh eth1 -fi + if [ -d /sys/class/net/eth2 ];then + if [ "$fac" == "ENC2" ] || [ "$fac" == "ENC2V2" ] || [ "$fac" == "ENC2_SS528" ]; then + /link/shell/setNetwork2.sh eth2 + fi + else + if [ "$fac" != "ENC2" ] && [ "$fac" != "ENC2V2" ] && [ "$fac" != "ENC2V2_SS528" ]; then + /link/shell/setNetwork2.sh eth1 + fi + fi fi diff --git a/rootfs/link/web/encode.php b/rootfs/link/web/encode.php index 729b1e3..4eaa79a 100644 --- a/rootfs/link/web/encode.php +++ b/rootfs/link/web/encode.php @@ -49,7 +49,7 @@ include( "groupList.php" );