From a5fffa4421a6b1732cf3159e06d2754c8f56bb6d Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 16:45:07 +0530
Subject: [PATCH 01/20] Update android-dependency.md
---
.../sdk-integration/android-sdk/android-dependency.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-dependency.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-dependency.md
index 21a4d315..99a4a2c3 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-dependency.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-dependency.md
@@ -2,7 +2,7 @@
title: Android Dependency
description: We will add the WebRTC Android SDK Dependency to the project
keywords: [Android SDK User Guide, Download the WebRTC Android SDK, Android SDK Dependency, Ant Media Server Documentation, Ant Media Server Tutorials]
-sidebar_position: 3
+sidebar_position: 2
---
## Step 2: Add WebRTC-Android-SDK Dependency
From 35f403bd736098a6d465667de589771c92db2c69 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 16:45:50 +0530
Subject: [PATCH 02/20] Update android-project.md
---
.../sdk-integration/android-sdk/android-project.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-project.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-project.md
index d27813f2..0ea88337 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-project.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-project.md
@@ -2,7 +2,7 @@
title: Creating Android App Project in Android Studio
description: We will first create an Android App Project in Android Studio
keywords: [Android SDK User Guide, Android Project, Android Studio, Ant Media Server Documentation, Ant Media Server Tutorials]
-sidebar_position: 2
+sidebar_position: 1
---
## Step 1: Create an Android App Project in Android Studio
From 7d7d0b69212cb2603c09648b24d2ded4d5ed0c40 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 16:46:43 +0530
Subject: [PATCH 03/20] Update android-webrtc-play.md
---
.../sdk-integration/android-sdk/android-webrtc-play.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-webrtc-play.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-webrtc-play.md
index 7a7e57ad..5f198d51 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-webrtc-play.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-webrtc-play.md
@@ -2,7 +2,7 @@
title: Play WebRTC stream in Android
description: Playing WebRTC Live stream Using Android SDK
keywords: [Android SDK User Guide, Android SDK Publish, Publish Stream from your Android device, Ant Media Server Documentation, Ant Media Server Tutorials]
-sidebar_position: 5
+sidebar_position: 4
---
## Step 4: Play WebRTC Live Stream in Android
From 3a8a9d970196117d0a19a4f59b2a01ddd6483bc8 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 16:47:14 +0530
Subject: [PATCH 04/20] Update android-webrtc-publish.md
---
.../sdk-integration/android-sdk/android-webrtc-publish.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-webrtc-publish.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-webrtc-publish.md
index d5e1b4dd..17e9807f 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-webrtc-publish.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-webrtc-publish.md
@@ -2,7 +2,7 @@
title: Publish WebRTC stream in Android
description: Publishing WebRTC Live stream Using Android SDK
keywords: [Android SDK User Guide, Android SDK Publish, Publish Stream from your Android device, Ant Media Server Documentation, Ant Media Server Tutorials]
-sidebar_position: 4
+sidebar_position: 3
---
## Step 3: Publish a WebRTC Live Stream in Android
From 67000e6fceac700decd9eb3d97dd9816b9ce342e Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 16:48:45 +0530
Subject: [PATCH 05/20] Create android-samples.md
---
.../android-sdk/android-samples.md | 33 +++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
new file mode 100644
index 00000000..2add71b3
--- /dev/null
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
@@ -0,0 +1,33 @@
+---
+title: Android Samples
+description: Android SDK Samples
+keywords: [Android SDK User Guide, Download the WebRTC Android SDK, Android SDK Samples, Ant Media Server Documentation, Ant Media Server Tutorials]
+sidebar_position: 5
+---
+
+The Andriod SDK has many ready to use samples under `webrtc_android_sample_app` module that can be used for different scenario and use cases.
+
+- The `webrtc_android_sample_app` module has three packages.
+
+**1. Minimal**
+
+This component has the simple publishcActivity which is the simplest Webrtc publish sample.
+
+**2. Basic**
+
+This component has several samples like publish activity, play activity, screen capture activity, conference activity, data channel only activity, peer activity, and settings.
+
+**3. Advanced**
+
+This component has samples for advance cases like conference activity with speaker indicator, MP3 publish activity, MP4 publish activity, MP4 publish with surface activity, multi track play activity, publish activity with you are speaking, and USB camera activity.
+
+Let's explore how to get the Android SDK and experience the samples.
+
+## Getting the Android SDK
+
+WebRTC Android SDK is free to download. You can download/clone it from [**Android SDK Github repository**](https://github.com/ant-media/WebRTC-Android-SDK).
+
+- After you have downloaded/cloned the Android SDK, open it with the Android Studio.
+
+- The samples are located under `webrtc-android-sample-app > java > io.antmedia.webrtc_android_sample_app `.
+
From bdce6244bc7428e764d6b028bae07a1c5838b29b Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 16:58:43 +0530
Subject: [PATCH 06/20] Create android-samples-list.md
---
.../android-sdk/android-samples-list.md | 112 ++++++++++++++++++
1 file changed, 112 insertions(+)
create mode 100644 docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
new file mode 100644
index 00000000..66815bb5
--- /dev/null
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
@@ -0,0 +1,112 @@
+---
+title: Android SDK Sample Pages
+description: Android SDK Sample Pages
+keywords: [Android SDK User Guide, Android SDK Basic Samples, Android SDK Minimal Samples, Ant Media Server Documentation, Ant Media Server Tutorials]
+sidebar_position: 6
+---
+
+To compile and build the SDK, we need to connect the Android studio to an Android mobile device. It can be a virtual device/emulator or a physical device. For this demonstration, I'm using a phyiscal android device.
+
+## Run the WebRTC Android SDK
+Now that we have the Android SDK, we will connect a mobile device to the Android studio and then run the SDK.
+
+### Connecting the Android Device with Android Studio
+- Connect your Android device to your system and switch to the developer mode.
+- Go to developer options and enable USB debugging.
+- In the Android Studio application, you will see your mobile device name which shows that it is connected.
+
+![connected-device-01](https://github.com/user-attachments/assets/86a5433c-736a-4992-a942-f217d2fee6ab)
+
+
+### Run the SDK
+- Click on run to build the SDK.
+
+![run-sdk-02](https://github.com/user-attachments/assets/042b2e65-81a3-443d-b613-0302dbc5c73a)
+
+
+- Once the build is successful, the webrtc Android sample app will be launched on your Android device.
+
+![launching-app-03](https://github.com/user-attachments/assets/d7d840dc-bca6-4223-bc1f-bfbc1daec2af)
+
+
+- On your mobile device, you can see all the samples under the Ant Media WebRTC Sample App.
+
+![samples-04](https://github.com/user-attachments/assets/8f587c0b-7b01-43f9-a5e3-b02135832bae)
+
+
+## WebRTC Android SDK Samples
+The samples are divided into three categories, Minimal, Basic, and Advanced. We will discuss some of these samples here. Feel free to explore all the samples as you may require.
+
+### Settings
+Under settings, you need to pass your Ant Media Server websocket URL and the Room Name (in case of a conference).
+- All the stream samples that you publish/play will be carried from this Ant Media Server only.
+
+![settings-06](https://github.com/user-attachments/assets/1f3c0d6a-40bc-4670-ae24-216fc7f5b9a4)
+
+
+### Publish Activity
+This sample can be used to publish WebRTC streams and it also has a data channel function embedded in this sample.
+
+![publish-sample-07](https://github.com/user-attachments/assets/e74b608f-f69c-4435-a7a0-1f134aa7f260)
+
+
+To verify whether the stream is published successfully or not, open the web panel of your Ant Media Server (e.g., http://server_ip:5080) and view the stream there.
+
+- You can also quickly play the stream via the [embedded player](https://antmedia.io/docs/guides/playing-live-stream/embedded-web-player/).
+
+### Play Activity
+This sample is to play WebRTC stream and like the publish activity, it also has the data channel function embedded.
+
+![play-sample-08](https://github.com/user-attachments/assets/28abd9d0-2960-4d94-82cf-97d245319b86)
+
+
+### Conference Activity
+The conference activity sample can be used for video conference calls.
+
+It can also be used to join in Play Only mode as well and has enable/disable audio and video.
+
+![conference-sample-09](https://github.com/user-attachments/assets/0a79cef1-8cce-49cb-80f2-39002925f7c0)
+
+
+### Screen Share Activity
+This sample activity demonstrates how to share screens with the WebRTC Android sample app.
+
+![screen-share-010](https://github.com/user-attachments/assets/bd2e356e-813e-4fa1-894a-04faf1f5456f)
+
+
+It has three variations, Screen, Front camera, and Rear camera.
+
+![screen-variations-011](https://github.com/user-attachments/assets/7605e5fb-37e7-40e0-9b4e-7e3d6795d4a3)
+
+
+### Data Channel Only Activity
+The data channel is another channel in WebRTC other than video and audio. In the data channel, you can send any kind of information to the other clients. Data channels can be utilized in various use cases including chat, control messages or file sharing.
+
+- To use the data channel, please make sure that it is [enabled on the application settings](https://antmedia.io/docs/guides/publish-live-stream/webrtc/data-channel/#enabling-the-data-channel).
+
+![data-channel-012](https://github.com/user-attachments/assets/fb45451e-be0c-46ce-9479-72627c12a580)
+
+### Stats Activity
+This sample page includes Webrtc publish and shows the various audio and video stats of the published stream when `Show Stats` is called.
+
+![stats-013](https://github.com/user-attachments/assets/bc4e309a-a030-4bd9-bd00-7310e0e9a317)
+
+
+### Conference with Speaking Indicator Activity
+This is also a conference sample and it indicates when a speaker is speaking.
+
+![speaker-014](https://github.com/user-attachments/assets/260bdedf-85dd-4f59-9155-19b09b14cabe)
+
+
+### Publish with Are You Speaking Activity
+This is also an example of a publishing activity that flashes `Are you Speaking` in case the speaker is speaking but the microphone is muted.
+
+### Peer Activity
+The sample also includes a sample for peer-to-peer cases. In peer-to-peer, the Ant Media Server is only a signaling server to establish the connection. Video and Audio are not relayed through the Ant Media Server.
+
+![peer-015](https://github.com/user-attachments/assets/5f00e8a1-46ed-4ae9-9d61-fc752b60cfcd)
+
+
+:::info
+There are many more samples included with the Android SDK like USB Camera, mp3, mp4, mp4 with Surface, and Multi Track activity, etc. which you can check according to your use.
+
From 4a54a8646f7feadb4415983872e25458bfb4f152 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:04:13 +0530
Subject: [PATCH 07/20] Update android-samples.md
---
.../sdk-integration/android-sdk/android-samples.md | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
index 2add71b3..1d4b1960 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
@@ -5,7 +5,7 @@ keywords: [Android SDK User Guide, Download the WebRTC Android SDK, Android SDK
sidebar_position: 5
---
-The Andriod SDK has many ready to use samples under `webrtc_android_sample_app` module that can be used for different scenario and use cases.
+The Andriod SDK has many ready-to-use samples under the `webrtc_android_sample_app` module that can be used for different scenarios and use cases.
- The `webrtc_android_sample_app` module has three packages.
@@ -19,15 +19,19 @@ This component has several samples like publish activity, play activity, screen
**3. Advanced**
-This component has samples for advance cases like conference activity with speaker indicator, MP3 publish activity, MP4 publish activity, MP4 publish with surface activity, multi track play activity, publish activity with you are speaking, and USB camera activity.
+This component has samples for advanced cases like conference activity with speaker indicator, MP3 publish activity, MP4 publish activity, MP4 publish with surface activity, multi-track play activity, publish activity with you are speaking, and USB camera activity.
Let's explore how to get the Android SDK and experience the samples.
## Getting the Android SDK
-WebRTC Android SDK is free to download. You can download/clone it from [**Android SDK Github repository**](https://github.com/ant-media/WebRTC-Android-SDK).
+The WebRTC Android SDK is free to download. You can download/clone it from [**Android SDK Github repository**](https://github.com/ant-media/WebRTC-Android-SDK).
- After you have downloaded/cloned the Android SDK, open it with the Android Studio.
-- The samples are located under `webrtc-android-sample-app > java > io.antmedia.webrtc_android_sample_app `.
+- The samples are located under
+
+```js
+webrtc-android-sample-app > java > io.antmedia.webrtc_android_sample_app
+```
From e8b43cd36d24d0e02a70a4a89254c249c412fa38 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:07:58 +0530
Subject: [PATCH 08/20] Update android-samples-list.md
---
.../sdk-integration/android-sdk/android-samples-list.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
index 66815bb5..99bed71c 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
@@ -5,14 +5,14 @@ keywords: [Android SDK User Guide, Android SDK Basic Samples, Android SDK Minima
sidebar_position: 6
---
-To compile and build the SDK, we need to connect the Android studio to an Android mobile device. It can be a virtual device/emulator or a physical device. For this demonstration, I'm using a phyiscal android device.
+To compile and build the SDK, we need to connect the Android studio to an Android mobile device. It can be a virtual device/emulator or a physical device. For this demonstration, I'm using a physical Android device.
## Run the WebRTC Android SDK
Now that we have the Android SDK, we will connect a mobile device to the Android studio and then run the SDK.
### Connecting the Android Device with Android Studio
-- Connect your Android device to your system and switch to the developer mode.
-- Go to developer options and enable USB debugging.
+- Connect your Android device to your system and switch to the **developer mode**.
+- Go to developer options and **enable USB debugging**.
- In the Android Studio application, you will see your mobile device name which shows that it is connected.
![connected-device-01](https://github.com/user-attachments/assets/86a5433c-736a-4992-a942-f217d2fee6ab)
From dccdfe9eda900cfcf22cdf7b10a0ed640b59f822 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:14:27 +0530
Subject: [PATCH 09/20] Update android-samples-list.md
---
.../sdk-integration/android-sdk/android-samples-list.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
index 99bed71c..01d0b494 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
@@ -31,7 +31,7 @@ Now that we have the Android SDK, we will connect a mobile device to the Android
- On your mobile device, you can see all the samples under the Ant Media WebRTC Sample App.
-![samples-04](https://github.com/user-attachments/assets/8f587c0b-7b01-43f9-a5e3-b02135832bae)
+
## WebRTC Android SDK Samples
From 36f6d73334027f2fcbcb9efc286e7ebd2d781ff2 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:17:34 +0530
Subject: [PATCH 10/20] Update android-samples-list.md
---
.../sdk-integration/android-sdk/android-samples-list.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
index 01d0b494..3a96b843 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
@@ -31,7 +31,7 @@ Now that we have the Android SDK, we will connect a mobile device to the Android
- On your mobile device, you can see all the samples under the Ant Media WebRTC Sample App.
-
+
## WebRTC Android SDK Samples
From c3c1bd2e75c9a7ebc41998f13c6928de0c4bf0ab Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:21:40 +0530
Subject: [PATCH 11/20] Update android-samples-list.md
---
.../sdk-integration/android-sdk/android-samples-list.md | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
index 3a96b843..d2f279e9 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
@@ -31,8 +31,7 @@ Now that we have the Android SDK, we will connect a mobile device to the Android
- On your mobile device, you can see all the samples under the Ant Media WebRTC Sample App.
-
-
+![samples-004](https://github.com/user-attachments/assets/3a5db35f-91ff-4fcf-bf4c-b071ac164afd)
## WebRTC Android SDK Samples
The samples are divided into three categories, Minimal, Basic, and Advanced. We will discuss some of these samples here. Feel free to explore all the samples as you may require.
From d65f39abd237ba4faf7c5dbbac08564531cf9997 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:25:21 +0530
Subject: [PATCH 12/20] Update android-samples-list.md
---
.../sdk-integration/android-sdk/android-samples-list.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
index d2f279e9..2058a73f 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
@@ -31,7 +31,8 @@ Now that we have the Android SDK, we will connect a mobile device to the Android
- On your mobile device, you can see all the samples under the Ant Media WebRTC Sample App.
-![samples-004](https://github.com/user-attachments/assets/3a5db35f-91ff-4fcf-bf4c-b071ac164afd)
+![samples-04-new](https://github.com/user-attachments/assets/e8135ebd-b0ed-4e07-bcdc-9a6c0d557fcc)
+
## WebRTC Android SDK Samples
The samples are divided into three categories, Minimal, Basic, and Advanced. We will discuss some of these samples here. Feel free to explore all the samples as you may require.
From 235cf1e40b915c1666bf821d260aa58ca40e6108 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:29:32 +0530
Subject: [PATCH 13/20] Update android-samples-list.md
---
.../sdk-integration/android-sdk/android-samples-list.md | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
index 2058a73f..9b7bfcfd 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
@@ -41,8 +41,7 @@ The samples are divided into three categories, Minimal, Basic, and Advanced. We
Under settings, you need to pass your Ant Media Server websocket URL and the Room Name (in case of a conference).
- All the stream samples that you publish/play will be carried from this Ant Media Server only.
-![settings-06](https://github.com/user-attachments/assets/1f3c0d6a-40bc-4670-ae24-216fc7f5b9a4)
-
+![settings-06](https://github.com/user-attachments/assets/97e6945a-8bc8-4e57-8f57-c8992f8a7df3)
### Publish Activity
This sample can be used to publish WebRTC streams and it also has a data channel function embedded in this sample.
From f083edc88ea9e1757023c711da1ce05481a864d9 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:33:16 +0530
Subject: [PATCH 14/20] Update android-samples-list.md
---
.../sdk-integration/android-sdk/android-samples-list.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
index 9b7bfcfd..e9f838ae 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
@@ -41,7 +41,7 @@ The samples are divided into three categories, Minimal, Basic, and Advanced. We
Under settings, you need to pass your Ant Media Server websocket URL and the Room Name (in case of a conference).
- All the stream samples that you publish/play will be carried from this Ant Media Server only.
-![settings-06](https://github.com/user-attachments/assets/97e6945a-8bc8-4e57-8f57-c8992f8a7df3)
+![settings-06](https://github.com/user-attachments/assets/7796a559-d152-4771-b612-2c0ba41215e1)
### Publish Activity
This sample can be used to publish WebRTC streams and it also has a data channel function embedded in this sample.
From f9fd63518e0eee506839ef75adf9e01dcd68c4b0 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:36:31 +0530
Subject: [PATCH 15/20] Update android-samples-list.md
---
.../sdk-integration/android-sdk/android-samples-list.md | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
index e9f838ae..3a9d05af 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
@@ -46,8 +46,7 @@ Under settings, you need to pass your Ant Media Server websocket URL and the Roo
### Publish Activity
This sample can be used to publish WebRTC streams and it also has a data channel function embedded in this sample.
-![publish-sample-07](https://github.com/user-attachments/assets/e74b608f-f69c-4435-a7a0-1f134aa7f260)
-
+![publish-sample-07](https://github.com/user-attachments/assets/91953e44-b7ef-40d1-a579-bc03c86aa05f)
To verify whether the stream is published successfully or not, open the web panel of your Ant Media Server (e.g., http://server_ip:5080) and view the stream there.
From 7a85bb820f599dea1c7b706d007820103d36d9db Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:45:18 +0530
Subject: [PATCH 16/20] Update android-samples-list.md
---
.../android-sdk/android-samples-list.md | 27 ++++++++-----------
1 file changed, 11 insertions(+), 16 deletions(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
index 3a9d05af..9a8473e5 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
@@ -46,7 +46,7 @@ Under settings, you need to pass your Ant Media Server websocket URL and the Roo
### Publish Activity
This sample can be used to publish WebRTC streams and it also has a data channel function embedded in this sample.
-![publish-sample-07](https://github.com/user-attachments/assets/91953e44-b7ef-40d1-a579-bc03c86aa05f)
+![publish-sample-07](https://github.com/user-attachments/assets/eb8aa1de-fab2-4efa-b4b4-824ab33d23e4)
To verify whether the stream is published successfully or not, open the web panel of your Ant Media Server (e.g., http://server_ip:5080) and view the stream there.
@@ -55,46 +55,42 @@ To verify whether the stream is published successfully or not, open the web pane
### Play Activity
This sample is to play WebRTC stream and like the publish activity, it also has the data channel function embedded.
-![play-sample-08](https://github.com/user-attachments/assets/28abd9d0-2960-4d94-82cf-97d245319b86)
-
+![play-sample-08](https://github.com/user-attachments/assets/7bc4b6df-2b2f-4c74-b7c9-046797cc580e)
### Conference Activity
The conference activity sample can be used for video conference calls.
It can also be used to join in Play Only mode as well and has enable/disable audio and video.
-![conference-sample-09](https://github.com/user-attachments/assets/0a79cef1-8cce-49cb-80f2-39002925f7c0)
-
+![conference-sample-09](https://github.com/user-attachments/assets/4ce7fe1b-6564-4eb9-a36e-87c5440b9f23)
### Screen Share Activity
This sample activity demonstrates how to share screens with the WebRTC Android sample app.
-![screen-share-010](https://github.com/user-attachments/assets/bd2e356e-813e-4fa1-894a-04faf1f5456f)
-
+![screen-share-010](https://github.com/user-attachments/assets/172c39ed-c0ef-459c-ba2c-c7cd22f9f0cb)
It has three variations, Screen, Front camera, and Rear camera.
-![screen-variations-011](https://github.com/user-attachments/assets/7605e5fb-37e7-40e0-9b4e-7e3d6795d4a3)
+![screen-variations-011](https://github.com/user-attachments/assets/87bc2b09-9998-449b-9283-b9cea1c2db79)
### Data Channel Only Activity
-The data channel is another channel in WebRTC other than video and audio. In the data channel, you can send any kind of information to the other clients. Data channels can be utilized in various use cases including chat, control messages or file sharing.
+The data channel is another channel in WebRTC other than video and audio. In the data channel, you can send any kind of information to the other clients. Data channels can be utilized in various use cases including chat, control messages, or file sharing.
- To use the data channel, please make sure that it is [enabled on the application settings](https://antmedia.io/docs/guides/publish-live-stream/webrtc/data-channel/#enabling-the-data-channel).
-![data-channel-012](https://github.com/user-attachments/assets/fb45451e-be0c-46ce-9479-72627c12a580)
+![data-channel-012](https://github.com/user-attachments/assets/1e7f631e-7f4a-4b4a-afd2-676320297e84)
+
### Stats Activity
This sample page includes Webrtc publish and shows the various audio and video stats of the published stream when `Show Stats` is called.
-![stats-013](https://github.com/user-attachments/assets/bc4e309a-a030-4bd9-bd00-7310e0e9a317)
-
+![stats-013](https://github.com/user-attachments/assets/e7110d62-311f-4c92-887c-93e003020b4e)
### Conference with Speaking Indicator Activity
This is also a conference sample and it indicates when a speaker is speaking.
-![speaker-014](https://github.com/user-attachments/assets/260bdedf-85dd-4f59-9155-19b09b14cabe)
-
+![speaker-014](https://github.com/user-attachments/assets/c4ac309e-810b-46db-b937-fad1af1b9e07)
### Publish with Are You Speaking Activity
This is also an example of a publishing activity that flashes `Are you Speaking` in case the speaker is speaking but the microphone is muted.
@@ -102,8 +98,7 @@ This is also an example of a publishing activity that flashes `Are you Speaking`
### Peer Activity
The sample also includes a sample for peer-to-peer cases. In peer-to-peer, the Ant Media Server is only a signaling server to establish the connection. Video and Audio are not relayed through the Ant Media Server.
-![peer-015](https://github.com/user-attachments/assets/5f00e8a1-46ed-4ae9-9d61-fc752b60cfcd)
-
+![peer-015](https://github.com/user-attachments/assets/98257707-181a-4643-9a02-e5b84dd1d416)
:::info
There are many more samples included with the Android SDK like USB Camera, mp3, mp4, mp4 with Surface, and Multi Track activity, etc. which you can check according to your use.
From ebb5297c00cd6511a09b2bc037a5ba9c62fcec78 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:50:45 +0530
Subject: [PATCH 17/20] Update android-samples-list.md
---
.../android-sdk/android-samples-list.md | 38 +++++++++++++++++--
1 file changed, 34 insertions(+), 4 deletions(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
index 9a8473e5..00145865 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
@@ -1,10 +1,40 @@
---
-title: Android SDK Sample Pages
-description: Android SDK Sample Pages
-keywords: [Android SDK User Guide, Android SDK Basic Samples, Android SDK Minimal Samples, Ant Media Server Documentation, Ant Media Server Tutorials]
-sidebar_position: 6
+title: Android SDK Samples
+description: Android SDK Samples
+keywords: [Android SDK User Guide, Android SDK Samples, Ant Media Server Documentation, Ant Media Server Tutorials]
+sidebar_position: 5
---
+The Andriod SDK has many ready-to-use samples under the `webrtc_android_sample_app` module that can be used for different scenarios and use cases.
+
+- The `webrtc_android_sample_app` module has three packages.
+
+**1. Minimal**
+
+This component has the simple publishcActivity which is the simplest Webrtc publish sample.
+
+**2. Basic**
+
+This component has several samples like publish activity, play activity, screen capture activity, conference activity, data channel only activity, peer activity, and settings.
+
+**3. Advanced**
+
+This component has samples for advanced cases like conference activity with speaker indicator, MP3 publish activity, MP4 publish activity, MP4 publish with surface activity, multi-track play activity, publish activity with you are speaking, and USB camera activity.
+
+Let's explore how to get the Android SDK and experience the samples.
+
+## Getting the Android SDK
+
+The WebRTC Android SDK is free to download. You can download/clone it from [**Android SDK Github repository**](https://github.com/ant-media/WebRTC-Android-SDK).
+
+- After you have downloaded/cloned the Android SDK, open it with the Android Studio.
+
+- The samples are located under
+
+```js
+webrtc-android-sample-app > java > io.antmedia.webrtc_android_sample_app
+```
+
To compile and build the SDK, we need to connect the Android studio to an Android mobile device. It can be a virtual device/emulator or a physical device. For this demonstration, I'm using a physical Android device.
## Run the WebRTC Android SDK
From c2c30e78988a38ca8195d572da6846a7a78c3aaf Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:52:30 +0530
Subject: [PATCH 18/20] Delete
docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
---
.../android-sdk/android-samples.md | 37 -------------------
1 file changed, 37 deletions(-)
delete mode 100644 docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
deleted file mode 100644
index 1d4b1960..00000000
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
+++ /dev/null
@@ -1,37 +0,0 @@
----
-title: Android Samples
-description: Android SDK Samples
-keywords: [Android SDK User Guide, Download the WebRTC Android SDK, Android SDK Samples, Ant Media Server Documentation, Ant Media Server Tutorials]
-sidebar_position: 5
----
-
-The Andriod SDK has many ready-to-use samples under the `webrtc_android_sample_app` module that can be used for different scenarios and use cases.
-
-- The `webrtc_android_sample_app` module has three packages.
-
-**1. Minimal**
-
-This component has the simple publishcActivity which is the simplest Webrtc publish sample.
-
-**2. Basic**
-
-This component has several samples like publish activity, play activity, screen capture activity, conference activity, data channel only activity, peer activity, and settings.
-
-**3. Advanced**
-
-This component has samples for advanced cases like conference activity with speaker indicator, MP3 publish activity, MP4 publish activity, MP4 publish with surface activity, multi-track play activity, publish activity with you are speaking, and USB camera activity.
-
-Let's explore how to get the Android SDK and experience the samples.
-
-## Getting the Android SDK
-
-The WebRTC Android SDK is free to download. You can download/clone it from [**Android SDK Github repository**](https://github.com/ant-media/WebRTC-Android-SDK).
-
-- After you have downloaded/cloned the Android SDK, open it with the Android Studio.
-
-- The samples are located under
-
-```js
-webrtc-android-sample-app > java > io.antmedia.webrtc_android_sample_app
-```
-
From a9d5d6e681dd2885dd1a49098064d50928bb2cda Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:52:58 +0530
Subject: [PATCH 19/20] Rename android-samples-list.md to android-samples.md
---
.../android-sdk/{android-samples-list.md => android-samples.md} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/{android-samples-list.md => android-samples.md} (100%)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
similarity index 100%
rename from docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples-list.md
rename to docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
From 7de90b9ac9c2a170678bd877236a5353ba8b7004 Mon Sep 17 00:00:00 2001
From: Mohit Dubey <86982446+Mohit-3196@users.noreply.github.com>
Date: Thu, 1 Aug 2024 17:57:09 +0530
Subject: [PATCH 20/20] Update android-samples.md
---
.../sdk-integration/android-sdk/android-samples.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
index 00145865..0ff8bd11 100644
--- a/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
+++ b/docs/guides/developer-sdk-and-api/sdk-integration/android-sdk/android-samples.md
@@ -126,7 +126,7 @@ This is also a conference sample and it indicates when a speaker is speaking.
This is also an example of a publishing activity that flashes `Are you Speaking` in case the speaker is speaking but the microphone is muted.
### Peer Activity
-The sample also includes a sample for peer-to-peer cases. In peer-to-peer, the Ant Media Server is only a signaling server to establish the connection. Video and Audio are not relayed through the Ant Media Server.
+The includes a sample for peer-to-peer cases. In peer-to-peer, the Ant Media Server is only a signaling server to establish the connection. Video and Audio are not relayed through the Ant Media Server.
![peer-015](https://github.com/user-attachments/assets/98257707-181a-4643-9a02-e5b84dd1d416)