-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add STUN component as submodule after re-factoring (#1960)
* Update Serializer and Deserializer * Add Stun component * Fix clang format * Fix warnings * Fix address copy length * Fix test case message length * Minor update * Add MAGIC check * Update padded len * Update comments * Add API test for convertStunErrorCodeTest * Remove unused variable
- Loading branch information
Showing
11 changed files
with
306 additions
and
425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
cmake_minimum_required(VERSION 3.6.3) | ||
|
||
project(libkvsstun NONE) | ||
|
||
include(ExternalProject) | ||
if (BUILD_STATIC_LIBS OR WIN32) | ||
set(LIBKVSSTUN_SHARED_LIBS OFF) | ||
else() | ||
set(LIBKVSSTUN_SHARED_LIBS ON) | ||
endif() | ||
|
||
ExternalProject_Add(libkvsstun | ||
GIT_REPOSITORY https://github.com/awslabs/amazon-kinesis-video-streams-stun.git | ||
GIT_TAG 2fa9ed638239aa058a71db0d9430ab427e6e21a3 | ||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/build | ||
CMAKE_ARGS | ||
-DCMAKE_INSTALL_PREFIX=${OPEN_SRC_INSTALL_PREFIX} | ||
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} | ||
-DBUILD_SHARED_LIBS=${LIBKVSSTUN_SHARED_LIBS} | ||
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} | ||
BUILD_ALWAYS TRUE | ||
TEST_COMMAND "" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.