From ef242d4769bed14defc65146351af3764746a2b6 Mon Sep 17 00:00:00 2001 From: Stefan Kieszkowski <85728496+stefankiesz@users.noreply.github.com> Date: Mon, 26 Feb 2024 15:50:11 -0800 Subject: [PATCH 1/3] Add copy code buttons to github clone commands (#1928) * Add copy code buttons to github clone commands * Add language specifier --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c1b4ef690..bc73af187f 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,9 @@ Please refer to the release notes in [Releases](https://github.com/awslabs/amazo ### Download To download run the following command: -`git clone --recursive https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c.git` +```shell +git clone --recursive https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c.git +``` You will also need to install `pkg-config` and `CMake` and a build environment @@ -65,7 +67,9 @@ You will also need to install `pkg-config` and `CMake` and a build environment Create a build directory in the newly checked out repository, and execute CMake from it. -`mkdir -p amazon-kinesis-video-streams-webrtc-sdk-c/build; cd amazon-kinesis-video-streams-webrtc-sdk-c/build; cmake .. ` +```shell +mkdir -p amazon-kinesis-video-streams-webrtc-sdk-c/build; cd amazon-kinesis-video-streams-webrtc-sdk-c/build; cmake .. +``` We have provided an example of using GStreamer to capture/encode video, and then send via this library. This is only build if `pkg-config` finds GStreamer is installed on your system. From 79c65cd2afa9e828e7909a8aaa337346af67afb9 Mon Sep 17 00:00:00 2001 From: Stefan Kieszkowski <85728496+stefankiesz@users.noreply.github.com> Date: Fri, 16 Feb 2024 11:25:10 -0800 Subject: [PATCH 2/3] build -> built (#1925) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bc73af187f..d505ec11dc 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ Create a build directory in the newly checked out repository, and execute CMake mkdir -p amazon-kinesis-video-streams-webrtc-sdk-c/build; cd amazon-kinesis-video-streams-webrtc-sdk-c/build; cmake .. ``` -We have provided an example of using GStreamer to capture/encode video, and then send via this library. This is only build if `pkg-config` finds +We have provided an example of using GStreamer to capture/encode video, and then send via this library. This is only built if `pkg-config` finds GStreamer is installed on your system. On Ubuntu and Raspberry Pi OS you can get the libraries by running From 1e58a078e43eb5f22805a411eb5c7fd462d551c2 Mon Sep 17 00:00:00 2001 From: Stefan Kieszkowski <85728496+stefankiesz@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:17:27 -0800 Subject: [PATCH 3/3] Update clone command --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d505ec11dc..18be85ff3b 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,7 @@ Please refer to the release notes in [Releases](https://github.com/awslabs/amazo To download run the following command: ```shell -git clone --recursive https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c.git +git clone https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c.git --single-branch -b main kvs-webrtc-sdk ``` You will also need to install `pkg-config` and `CMake` and a build environment