Skip to content

Commit 37e4b06

Browse files
Merge pull request #543 from opentok/fixConsistencyJob
Fix CI consistency job
2 parents 7c3819f + e473aa8 commit 37e4b06

File tree

6 files changed

+79
-3
lines changed

6 files changed

+79
-3
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Basic-Video-Chat-With-ForegroundServices-Kotlin
2+
3+
on:
4+
push:
5+
branches: [main] # Just in case main was not up to date while merging PR
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
run:
11+
continue-on-error: true
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 17
23+
24+
- name: Build
25+
run: cd Basic-Video-Chat-With-ForegroundServices-Kotlin && ./gradlew app:assembleRelease && cd ..
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Camera-Controls-Java
2+
3+
on:
4+
push:
5+
branches: [main] # Just in case main was not up to date while merging PR
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
run:
11+
continue-on-error: true
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 17
23+
24+
- name: Build
25+
run: cd Camera-Controls-Java && ./gradlew app:assembleRelease && cd ..
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Build Camera-Controls-Kotlin
2+
3+
on:
4+
push:
5+
branches: [main] # Just in case main was not up to date while merging PR
6+
pull_request:
7+
types: [opened, synchronize]
8+
9+
jobs:
10+
run:
11+
continue-on-error: true
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
steps:
16+
- name: checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Set up JDK
20+
uses: actions/setup-java@v1
21+
with:
22+
java-version: 17
23+
24+
- name: Build
25+
run: cd Camera-Controls-Kotlin && ./gradlew app:assembleRelease && cd ..

Basic-Video-Chat-With-ForegroundServices-Kotlin/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Basic Video Chat kotlin With Foreground Services
1+
# Basic Video Chat Kotlin With Foreground Services
22

33
This application provides a complete version of the OpenTok [Basic Video Chat tutorial](https://tokbox.com/developer/tutorials/android/) for Android differing only by setting up a foreground service for when the app is moved to the background (future use cases requiring foreground services will be added). Upon deploying this sample application, you should be able to have two-way audio and video communication using OpenTok and leveraging the usage of foreground services to have an even more seamless experience.
44

Basic-Video-Chat-With-ForegroundServices-Kotlin/app/src/main/res/values/strings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<resources>
33

4-
<string name="app_name">Basic-Video-Chat-With-ForegroundServices-Kotlin</string>
4+
<string name="app_name">Basic-Video-Chat-With-ForegroundServices</string>
55
<string name="action_settings">Settings</string>
66

77
<string name="title_settings_dialog">Permissions Required</string>

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ The Android projects in this directory demonstrate typical use cases and feature
2626
- Basic-VoIP-Call ([Java](./Basic-VoIP-Call-Java)) demonstrates how to use Android Connection Service (https://developer.android.com/reference/android/telecom/ConnectionService) with the OpenTok Android SDK.
2727
- Video-Transformers ([Java](./Media-Transformers-Java), [Kotlin](./Media-Transformers-Kotlin)) demonstrates how to use pre-built transformers in the Vonage Media Processor library or create your own custom video transformer to apply to published video.
2828
- E2EE-Video-Chat [Kotlin](./E2EE-Video-Chat-Kotlin) demonstrates how to have a two-way End to End Encrypted (E2EE) audio and video communication using OpenTok.
29-
- Basic-Video-Chat-With-ForegroundServices [Java](./Basic-Video-Chat-With-ForegroundServices-Java)demonstrates how to setup foreground services in order to have a seamless user experience.
29+
- Basic-Video-Chat-With-ForegroundServices ([Java](./Basic-Video-Chat-With-ForegroundServices-Java), [Kotlin](./Basic-Video-Chat-With-ForegroundServices-Kotlin)) demonstrates how to setup foreground services in order to have a seamless user experience.
30+
- Camera-Controls ([Java](./Camera-Controls-Java), [Kotlin](./Camera-Controls-Kotlin)) demonstrates how to set the preferred torch/flashlight mode and zoom factor for the camera.
3031

3132
## Open project
3233

0 commit comments

Comments
 (0)