修改:信号包独立发包,周期100ms;
布局切换按键,增加开机读取电平状态
This commit is contained in:
@@ -99,7 +99,7 @@ int main(int argc, char **argv)
|
||||
else if(switch_video == 2 && switch_video_pre==2) /* 右屏通道1全屏 */
|
||||
{ if(switch_mode[3] == 0x55){
|
||||
printf("+++++++++++++++++++++++++22 time out\n");
|
||||
sprintf(buf_kill_rtsp,"./kill_rtsp.sh %d",2);
|
||||
sprintf(buf_kill_rtsp,"./kill_rtsp.sh %d",3);
|
||||
system(buf_kill_rtsp);
|
||||
sprintf(buf,"./start_rtsp.sh %d",3);
|
||||
system(buf);
|
||||
@@ -118,7 +118,7 @@ int main(int argc, char **argv)
|
||||
else if(switch_video == 4 && switch_video_pre==4) /* 右放大左隐藏 */
|
||||
{ if(switch_mode[3] == 0x55){
|
||||
printf("+++++++++++++++++++++++++44 time out\n");
|
||||
sprintf(buf_kill_rtsp,"./kill_rtsp.sh %d",2);
|
||||
sprintf(buf_kill_rtsp,"./kill_rtsp.sh %d",3);
|
||||
system(buf_kill_rtsp);
|
||||
sprintf(buf,"./start_rtsp.sh %d",5);
|
||||
system(buf);
|
||||
|
||||
Reference in New Issue
Block a user