diff --git a/libtgvoip.UWP.vcxproj b/libtgvoip.UWP.vcxproj index 0d1951c..98c44e7 100644 --- a/libtgvoip.UWP.vcxproj +++ b/libtgvoip.UWP.vcxproj @@ -247,9 +247,12 @@ + + + @@ -332,7 +335,10 @@ + + + diff --git a/libtgvoip.UWP.vcxproj.filters b/libtgvoip.UWP.vcxproj.filters index d4b8705..32b2683 100644 --- a/libtgvoip.UWP.vcxproj.filters +++ b/libtgvoip.UWP.vcxproj.filters @@ -14,6 +14,9 @@ {3b15701a-65dd-4d52-92d4-a7b64a73b293} + + {e4d2de92-03ad-43d9-8861-d69f64610ba5} + @@ -277,6 +280,15 @@ audio + + windows + + + video + + + video + @@ -496,5 +508,14 @@ audio + + windows + + + video + + + video + \ No newline at end of file diff --git a/os/windows/CXWrapper.cpp b/os/windows/CXWrapper.cpp index 33aee04..a4d3427 100755 --- a/os/windows/CXWrapper.cpp +++ b/os/windows/CXWrapper.cpp @@ -65,7 +65,7 @@ void VoIPControllerWrapper::SetPublicEndpoints(const Platform::Arrayid; - ep.type = tgvoip::Endpoint::TYPE_UDP_RELAY; + ep.type = tgvoip::Endpoint::Type::UDP_RELAY; char buf[128]; if (_ep->ipv4){ WideCharToMultiByte(CP_UTF8, 0, _ep->ipv4->Data(), -1, buf, sizeof(buf), NULL, NULL);