-
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 SDP component as submodule after re-factoring (#1913)
* Add SDP component as submodule after re-factoring
- Loading branch information
Showing
12 changed files
with
433 additions
and
239 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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
[submodule "open-source/amazon-kinesis-video-streams-pic"] | ||
path = open-source/amazon-kinesis-video-streams-pic | ||
url = https://github.com/awslabs/amazon-kinesis-video-streams-pic.git | ||
update = none | ||
[submodule "open-source/amazon-kinesis-video-streams-producer-c"] | ||
path = open-source/amazon-kinesis-video-streams-producer-c | ||
url = https://github.com/awslabs/amazon-kinesis-video-streams-producer-c.git | ||
update = none |
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(libkvssdp NONE) | ||
|
||
include(ExternalProject) | ||
if (BUILD_STATIC_LIBS OR WIN32) | ||
set(LIBKVSSDP_SHARED_LIBS OFF) | ||
else() | ||
set(LIBKVSSDP_SHARED_LIBS ON) | ||
endif() | ||
|
||
ExternalProject_Add(libkvssdp | ||
GIT_REPOSITORY https://github.com/awslabs/amazon-kinesis-video-streams-sdp.git | ||
GIT_TAG eca4928122c5cc0191d72cf1e87f54ffaddd017b | ||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/build | ||
CMAKE_ARGS | ||
-DCMAKE_INSTALL_PREFIX=${OPEN_SRC_INSTALL_PREFIX} | ||
-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} | ||
-DBUILD_SHARED_LIBS=${LIBKVSSDP_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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// | ||
// Session Description Protocol Configuration | ||
// | ||
|
||
#ifndef __KINESIS_VIDEO_WEBRTC_CLIENT_SDP_SDP_CONFIG__ | ||
#define __KINESIS_VIDEO_WEBRTC_CLIENT_SDP_SDP_CONFIG__ | ||
|
||
#include <inttypes.h> | ||
|
||
/** | ||
* @brief SDP print format for uint64_t. | ||
*/ | ||
#define SDP_PRINT_FMT_UINT64 PRIu64 | ||
|
||
/** | ||
* @brief SDP print format for uint32_t. | ||
*/ | ||
#define SDP_PRINT_FMT_UINT32 PRIu32 | ||
|
||
/** | ||
* @brief SDP print format for uint16_t. | ||
*/ | ||
#define SDP_PRINT_FMT_UINT16 "hu" | ||
|
||
#endif //__KINESIS_VIDEO_WEBRTC_CLIENT_SDP_SDP_CONFIG__ |
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.