Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VIZ.H2V
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘龙飞
VIZ.H2V
Commits
597c6690
Commit
597c6690
authored
Jan 05, 2023
by
liulongfei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐藏部分按钮
parent
9ee8557f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
32 deletions
+17
-32
VIZ.H2V.Connection/UDP/Clip/Sender/ClipSender.cs
+8
-1
VIZ.H2V.Module/NDISettingView/ViewModel/NDISettingPanelViewModel.cs
+1
-1
VIZ.H2V.Module/NDIView/View/NDIView.xaml
+2
-28
VIZ.H2V.Module/Setup/Provider/AppSetup_InitUDP.cs
+4
-0
VIZ.H2V/config/config.ini
+2
-2
No files found.
VIZ.H2V.Connection/UDP/Clip/Sender/ClipSender.cs
View file @
597c6690
...
...
@@ -36,7 +36,14 @@ namespace VIZ.H2V.Connection
package
.
height
=
height
;
package
.
timecode
=
timeCode
;
manager
.
SendJson
(
package
);
try
{
manager
.
SendJson
(
package
);
}
catch
{
// 发送裁切信息如果报错则不处理
}
}
}
}
VIZ.H2V.Module/NDISettingView/ViewModel/NDISettingPanelViewModel.cs
View file @
597c6690
...
...
@@ -166,7 +166,7 @@ namespace VIZ.H2V.Module
#
region
IsShowLocalStream
--
是否仅显示本机输入源
private
bool
isShowLocalStream
=
tru
e
;
private
bool
isShowLocalStream
=
fals
e
;
/// <summary>
/// 是否仅显示本机输入源
/// </summary>
...
...
VIZ.H2V.Module/NDIView/View/NDIView.xaml
View file @
597c6690
...
...
@@ -266,36 +266,10 @@
</Border>
<!-- 显示边线 -->
<Border ToolTip="显示边线" Background="Transparent" Margin="0,0,10,0">
<CheckBox Style="{StaticResource CheckBox_IsBorderShow}" Width="32" Height="32"
IsEnabled="{Binding Path=ViewStatus,Converter={StaticResource NDIViewStatus2IsEnabledConverter}}"
IsChecked="{Binding Path=AlgorithmConfig.IsShowBorder,Mode=TwoWay}">
<behaviors:Interaction.Triggers>
<behaviors:EventTrigger EventName="Checked">
<behaviors:InvokeCommandAction Command="{Binding IsBorderShowChangedCommand}" />
</behaviors:EventTrigger>
<behaviors:EventTrigger EventName="Unchecked">
<behaviors:InvokeCommandAction Command="{Binding IsBorderShowChangedCommand}" />
</behaviors:EventTrigger>
</behaviors:Interaction.Triggers>
</CheckBox>
</Border>
<!-- 隐藏该功能,算法已经弃用 -->
<!-- 启用边线过滤 -->
<Border ToolTip="启用边线过滤" Background="Transparent" Margin="0,0,0,0">
<CheckBox Style="{StaticResource CheckBox_IsBorderEnabled}" Width="32" Height="32"
IsEnabled="{Binding Path=ViewStatus,Converter={StaticResource NDIViewStatus2IsEnabledConverter}}"
IsChecked="{Binding Path=AlgorithmConfig.IsBorderEnabled,Mode=TwoWay}">
<behaviors:Interaction.Triggers>
<behaviors:EventTrigger EventName="Checked">
<behaviors:InvokeCommandAction Command="{Binding IsBorderEnabledChangedCommand}" />
</behaviors:EventTrigger>
<behaviors:EventTrigger EventName="Unchecked">
<behaviors:InvokeCommandAction Command="{Binding IsBorderEnabledChangedCommand}" />
</behaviors:EventTrigger>
</behaviors:Interaction.Triggers>
</CheckBox>
</Border>
<!-- 隐藏该功能,算法已经弃用 -->
</StackPanel>
</Grid>
...
...
VIZ.H2V.Module/Setup/Provider/AppSetup_InitUDP.cs
View file @
597c6690
...
...
@@ -44,6 +44,10 @@ namespace VIZ.H2V.Module
// -----------------------------------------------------------------
// 客户端
string
clientIP
=
ApplicationDomainEx
.
IniStorage
.
GetValue
<
UdpConfig
,
string
>(
p
=>
p
.
UDP_BINDING_IP
);
if
(
string
.
IsNullOrWhiteSpace
(
clientIP
))
{
clientIP
=
NetHelper
.
GetLocalFirstIPv4Address
();
}
int
clientPort
=
ApplicationDomainEx
.
IniStorage
.
GetValue
<
UdpConfig
,
int
>(
p
=>
p
.
UDP_BINDING_PORT
);
conn
.
Binding
(
clientIP
,
clientPort
);
...
...
VIZ.H2V/config/config.ini
View file @
597c6690
...
...
@@ -66,8 +66,8 @@ NAVIGATION3D_PROFILE_NAME=VIZ.H2V
; === UDP ===
; ============================================================
[UDP]
;UDP本机绑定IP
UDP_BINDING_IP
=
127.0.0.1
;UDP本机绑定IP
, 如果该值不配置,那么会获取本机的第一个IPV4地址
UDP_BINDING_IP
=
;UDP本机绑定端口
UDP_BINDING_PORT
=
8101
; ============================================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment