Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-windows10
Commits
68627672
Commit
68627672
authored
Apr 14, 2015
by
Ghislain MARY
Browse files
Poll change of received video size to reopen the stream of the MediaElement if needed.
parent
4042b049
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
Linphone/Views/InCall.xaml.cs
Linphone/Views/InCall.xaml.cs
+7
-1
submodules/mswp8vid
submodules/mswp8vid
+1
-1
No files found.
Linphone/Views/InCall.xaml.cs
View file @
68627672
...
...
@@ -517,7 +517,13 @@ namespace Linphone.Views
videoPayloadType
=
videopt
.
MimeType
;
}
Windows
.
Foundation
.
Size
receivedVideoSize
=
param
.
ReceivedVideoSize
;
((
InCallModel
)
ViewModel
).
ReceivedVideoSize
=
String
.
Format
(
"{0}x{1}"
,
receivedVideoSize
.
Width
,
receivedVideoSize
.
Height
);
String
NewReceivedVideoSize
=
String
.
Format
(
"{0}x{1}"
,
receivedVideoSize
.
Width
,
receivedVideoSize
.
Height
);
if
(((
InCallModel
)
ViewModel
).
ReceivedVideoSize
!=
NewReceivedVideoSize
)
{
((
InCallModel
)
ViewModel
).
ReceivedVideoSize
=
String
.
Format
(
"{0}x{1}"
,
receivedVideoSize
.
Width
,
receivedVideoSize
.
Height
);
((
InCallModel
)
ViewModel
).
HideVideo
();
((
InCallModel
)
ViewModel
).
ShowVideo
();
}
Windows
.
Foundation
.
Size
sentVideoSize
=
param
.
SentVideoSize
;
((
InCallModel
)
ViewModel
).
SentVideoSize
=
String
.
Format
(
"{0}x{1}"
,
sentVideoSize
.
Width
,
sentVideoSize
.
Height
);
((
InCallModel
)
ViewModel
).
VideoStatsVisibility
=
Visibility
.
Visible
;
...
...
mswp8vid
@
84ba00b2
Subproject commit
2e0244398030b2fd57f0c1e86688537c6e00b944
Subproject commit
84ba00b2e7d6cbc302e73b42786d860f6664e72c
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