Update tinyNET VS proj to include "common" folder
Use ICE new API for the video part in the SIP dialog
This commit is contained in:
parent
baf317bbb7
commit
7ffe7eba0b
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="Windows-1252"?>
|
<?xml version="1.0" encoding="Windows-1252"?>
|
||||||
<VisualStudioProject
|
<VisualStudioProject
|
||||||
ProjectType="Visual C++"
|
ProjectType="Visual C++"
|
||||||
Version="9.00"
|
Version="9,00"
|
||||||
Name="tinyNET"
|
Name="tinyNET"
|
||||||
ProjectGUID="{7522A458-92F4-4259-B906-E84C2A65D9F1}"
|
ProjectGUID="{7522A458-92F4-4259-B906-E84C2A65D9F1}"
|
||||||
RootNamespace="tinyNET"
|
RootNamespace="tinyNET"
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories="src;"..\thirdparties\win32\include";"..\tinySAK\src""
|
AdditionalIncludeDirectories="src;..\thirdparties\win32\include;..\thirdparties\common\include;..\tinySAK\src"
|
||||||
PreprocessorDefinitions="DEBUG_LEVEL=DEBUG_LEVEL_INFO;HAVE_OPENSSL=1;WIN32;_WIN32_WINNT=0x0501;_DEBUG;_WINDOWS;_USRDLL;TINYNET_EXPORTS"
|
PreprocessorDefinitions="DEBUG_LEVEL=DEBUG_LEVEL_INFO;HAVE_OPENSSL=1;WIN32;_WIN32_WINNT=0x0501;_DEBUG;_WINDOWS;_USRDLL;TINYNET_EXPORTS"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="true"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
|
@ -118,7 +118,7 @@
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
Optimization="3"
|
Optimization="3"
|
||||||
EnableIntrinsicFunctions="true"
|
EnableIntrinsicFunctions="true"
|
||||||
AdditionalIncludeDirectories="src;"..\thirdparties\win32\include";"..\tinySAK\src""
|
AdditionalIncludeDirectories="src;..\thirdparties\win32\include;..\thirdparties\common\include;..\tinySAK\src"
|
||||||
PreprocessorDefinitions="DEBUG_LEVEL=DEBUG_LEVEL_ERROR;HAVE_OPENSSL=1;WIN32;_WIN32_WINNT=0x0501;NDEBUG;_WINDOWS;_USRDLL;TINYNET_EXPORTS"
|
PreprocessorDefinitions="DEBUG_LEVEL=DEBUG_LEVEL_ERROR;HAVE_OPENSSL=1;WIN32;_WIN32_WINNT=0x0501;NDEBUG;_WINDOWS;_USRDLL;TINYNET_EXPORTS"
|
||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
EnableFunctionLevelLinking="false"
|
EnableFunctionLevelLinking="false"
|
||||||
|
|
|
@ -169,7 +169,7 @@ static int tsip_dialog_invite_ice_create_ctx(tsip_dialog_invite_t * self, tmedia
|
||||||
TSK_DEBUG_ERROR("Failed to create ICE video context");
|
TSK_DEBUG_ERROR("Failed to create ICE video context");
|
||||||
return -2;
|
return -2;
|
||||||
}
|
}
|
||||||
#if 1 // @deprecated
|
#if 0 // @deprecated
|
||||||
ret = tnet_ice_ctx_set_stun(self->ice.ctx_video, TSIP_DIALOG_GET_SS(self)->media.stun.hostname, TSIP_DIALOG_GET_SS(self)->media.stun.port, kStunSoftware, TSIP_DIALOG_GET_SS(self)->media.stun.username, TSIP_DIALOG_GET_SS(self)->media.stun.password);
|
ret = tnet_ice_ctx_set_stun(self->ice.ctx_video, TSIP_DIALOG_GET_SS(self)->media.stun.hostname, TSIP_DIALOG_GET_SS(self)->media.stun.port, kStunSoftware, TSIP_DIALOG_GET_SS(self)->media.stun.username, TSIP_DIALOG_GET_SS(self)->media.stun.password);
|
||||||
#else
|
#else
|
||||||
ret = tnet_ice_ctx_add_server(
|
ret = tnet_ice_ctx_add_server(
|
||||||
|
|
Loading…
Reference in New Issue