Commit 6898ee8
Release v1.2.0 (#123)
* WebRTC ingestion with multi-viewer support (#115)
* feat: enable ingest media for viewers with audio-only restriction
- Remove master-only restriction for ingest media functionality
- Add validation to prevent viewers from using ingest media with video
- Implement storage session support for viewers (audio-only)
- Update WebRTC activity to skip video track creation for storage viewers
* Update WebRtcActivity with current version
- Replace WebRtcActivity.java with current working version
- remove the fallback solution of null clientID
* adding verbose logs back and remove overrides that only call super
* changing visibility of KEY_SEND_VIDEO variable
* refactor: extract storage client methods and update master validation logic
- Extract storage client configuration into separate methods in WebRtcActivity
- Add helper methods for better code clarity
- Remove mandatory video requirement for masters in non-storage scenarios
- Update viewer validation message for multi-viewer participants
* feat: Add H.264 codec validation for WebRTC storage sessions
- Show AlertDialog when H.264 encoder missing for master with ingest media
- Show AlertDialog when H.264 decoder missing for storage session viewers
- Add codecValidationFailed flag to prevent WebRTC initialization after validation failure
- Add null check for audioManager in onDestroy() to prevent crash on early exit
* feat: Add codec logging and final parameter to WebRtcActivity
- Restore codec logging in onCreate() to show all available encoders/decoders for debugging
- Add final modifier
---------
Co-authored-by: Yuqi Huang <yuuqih@amazon.com>
* feat: Add error dialog for storage session join failures (#117)
- Show AlertDialog when JoinStorageSession API fails
- Close WebRTC activity when user dismisses error dialog
Co-authored-by: Yuqi Huang <yuuqih@amazon.com>
* endpoint and credential configuration through .env file (#116)
* Add .env file support for AWS credentials with production warnings
• Load AWS credentials from .env file via BuildConfig
• Skip authentication flow when env credentials present
• Disable logout functionality for env credential users
• Add production warning message for env credential usage
• Maintain fallback to Cognito authentication when no env file
* Add custom endpoint configuration via .env file
• Load CUSTOM_ENDPOINT from .env file via BuildConfig
* format improvement
* changing variable name(CUSTOM_ENDPOINT --> CONTROL_PLANE_URI)
* Add CustomCredentialsProvider to use AWS credentials from .env file
* refactor: centralize AWS credentials validation logic
- Make hasEnvCredentials() public static in KinesisVideoWebRtcDemoApp
- Remove duplicate hasEnvSetting() method from SimpleNavActivity
- Replace inline credential validation in StartUpActivity
---------
Co-authored-by: Yuqi Huang <yuuqih@amazon.com>
* chore: upgrade AWS Android SDK from 2.75.0 to 2.81.1 (#118)
Co-authored-by: Yuqi Huang <yuuqih@amazon.com>
* feat: conditionally hide UI elements based on user settings (#119)
- Hide data channel input when ingest media is enabled
- Hide local video view when send video is disabled
Co-authored-by: Yuqi Huang <yuuqih@amazon.com>
* updated version from 1.1.0 to 1.2.0 (#120)
Co-authored-by: Yuqi Huang <yuuqih@amazon.com>
* update ci.yml to add develop branch to the ci target (#122)
Co-authored-by: Yuqi Huang <yuuqih@amazon.com>
* Updated Readme.md for WebRTC ingestion support (#121)
Co-authored-by: Yuqi Huang <yuuqih@amazon.com>
---------
Co-authored-by: Yuqi Huang <yuuqih@amazon.com>1 parent af60b41 commit 6898ee8
9 files changed
Lines changed: 430 additions & 129 deletions
File tree
- .github/workflows
- app
- src/main
- java/com/amazonaws/kinesisvideo/demoapp
- activity
- fragment
- res/layout
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
93 | 119 | | |
94 | 120 | | |
95 | 121 | | |
| |||
100 | 126 | | |
101 | 127 | | |
102 | 128 | | |
103 | | - | |
| 129 | + | |
104 | 130 | | |
105 | 131 | | |
106 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
19 | 50 | | |
20 | 51 | | |
21 | 52 | | |
| |||
34 | 65 | | |
35 | 66 | | |
36 | 67 | | |
37 | | - | |
| 68 | + | |
38 | 69 | | |
39 | 70 | | |
40 | 71 | | |
| |||
91 | 122 | | |
92 | 123 | | |
93 | 124 | | |
94 | | - | |
| 125 | + | |
Lines changed: 72 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
| 8 | + | |
| 9 | + | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
| |||
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
18 | 25 | | |
19 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
20 | 66 | | |
21 | 67 | | |
| 68 | + | |
22 | 69 | | |
23 | 70 | | |
24 | 71 | | |
25 | 72 | | |
26 | 73 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
30 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
31 | 85 | | |
32 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
33 | 91 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
39 | 102 | | |
40 | | - | |
41 | 103 | | |
42 | 104 | | |
43 | 105 | | |
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
49 | 56 | | |
50 | 57 | | |
51 | 58 | | |
| |||
70 | 77 | | |
71 | 78 | | |
72 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
73 | 85 | | |
74 | 86 | | |
75 | 87 | | |
| |||
111 | 123 | | |
112 | 124 | | |
113 | 125 | | |
114 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
34 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
35 | 46 | | |
36 | 47 | | |
37 | 48 | | |
| |||
79 | 90 | | |
80 | 91 | | |
81 | 92 | | |
82 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
0 commit comments