-
Notifications
You must be signed in to change notification settings - Fork 0
[FEAT]: Add stream events to extra #123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Doominika
wants to merge
36
commits into
android-stream-api-testing
Choose a base branch
from
feat/extra-add-stream-events
base: android-stream-api-testing
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
d2b7b38
feat: add VideoTrackInfo class
Doominika 5237e90
feat: add StreamTrackModification class
Doominika b7107fd
feat: add StreamUpdatedEventData class
Doominika 0014c4b
feat: add UpdatedStreamData class
Doominika 3c1588e
feat: add StreamRoomDeletedEventData class
Doominika 79a6692
fix: add StreamRoomDeletedEventData class
Doominika d67ca31
feat: add StreamPublishedEventData class
Doominika 366c681
feat: add StreamEventData class
Doominika e311fe0
feat: add StreamUnpublishedEventData class
Doominika 1eabb47
feat: add NewStreams class
Doominika fc2c394
feat: add StreamsUpdatedData class
Doominika 85d1c07
feat: update StreamPublishResult class
Doominika 556833b
feat: add parse streams event function
Doominika 9d2de70
feat: add initEvent function to header
Doominika 61a45d0
refactor: rename StreamPublishedEventData
Doominika c5bedd1
feat: add buildSubscriptionQuery to StreamApiLow
Doominika 30f71a1
feat: add class for handling parsing functions used by EventQueue
Doominika f82213c
refactor: move stream events to core events and remove EventsList class
Doominika d0b3405
refactor: add missing type to StreamEventType
Doominika 4acf01c
chore: change removeVideoTrack
Doominika 9026e42
feat: add missing methods
Doominika 492800a
chore: cleaning
Doominika fd80927
chore: delete privmx-endpoint-streams-android
Doominika 1c752e8
Merge remote-tracking branch 'origin/android-stream-api-testing' into…
Doominika 56aab8f
Merge remote-tracking branch 'origin/android-stream-api-testing' into…
Doominika 0f844af
refactor: move streams low to privmx-endpoint
Doominika a5d8d85
feat: add stream events to endpoint java extra
Doominika e9c7010
refactor: remove stream event types from base endpoint and put them i…
Doominika a7288ab
feat: update streamApiLow constructor
Doominika 2fb3526
feat: make streamApiLow initializing function in PrivmxEndpoint
Doominika e9818e2
Merge remote-tracking branch 'origin/android-stream-api-testing' into…
Doominika 2cb9856
Merge remote-tracking branch 'origin/android-stream-api-testing' into…
Doominika 2edaffa
feat: move streams like on branch
Doominika 8aaf063
fix: errors related with moving streamApiLow
Doominika b8122e0
feat: throw exception if eventApi is null when initializing streamApiLow
Doominika b9a5dc2
chore: correct the naming errors
Doominika File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
7 changes: 0 additions & 7 deletions
7
...implito/java/privmx_endpoint/model/events/eventSelectorTypes/StreamEventSelectorType.java
This file was deleted.
Oops, something went wrong.
28 changes: 28 additions & 0 deletions
28
privmx-endpoint/src/main/java/com/simplito/java/privmx_endpoint/model/stream/Key.java
This file contains hidden or 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,28 @@ | ||
| // | ||
| // PrivMX Endpoint Java. | ||
| // Copyright © 2024 Simplito sp. z o.o. | ||
| // | ||
| // This file is part of the PrivMX Platform (https://privmx.dev). | ||
| // This software is Licensed under the MIT License. | ||
| // | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
| // | ||
|
|
||
| package com.simplito.java.privmx_endpoint.model.stream; | ||
|
|
||
| public class Key { | ||
| public String keyId; | ||
| public byte[] key; | ||
| public KeyType type; | ||
|
|
||
| public Key( | ||
| String keyId, | ||
| byte[] key, | ||
| KeyType type | ||
| ) { | ||
| this.keyId = keyId; | ||
| this.key = key; | ||
| this.type = type; | ||
| } | ||
| } |
17 changes: 17 additions & 0 deletions
17
privmx-endpoint/src/main/java/com/simplito/java/privmx_endpoint/model/stream/KeyType.java
This file contains hidden or 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,17 @@ | ||
| // | ||
| // PrivMX Endpoint Java. | ||
| // Copyright © 2024 Simplito sp. z o.o. | ||
| // | ||
| // This file is part of the PrivMX Platform (https://privmx.dev). | ||
| // This software is Licensed under the MIT License. | ||
| // | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
| // | ||
|
|
||
| package com.simplito.java.privmx_endpoint.model.stream; | ||
|
|
||
| public enum KeyType { | ||
| LOCAL, | ||
| REMOTE | ||
| } |
13 changes: 13 additions & 0 deletions
13
...int/src/main/java/com/simplito/java/privmx_endpoint/model/stream/PublishedStreamData.java
This file contains hidden or 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,13 @@ | ||
| package com.simplito.java.privmx_endpoint.model.stream; | ||
|
|
||
| public class PublishedStreamData { | ||
| public String streamRoomId; | ||
| public StreamInfo stream; | ||
| public String userId; | ||
|
|
||
| public PublishedStreamData(String streamRoomId, StreamInfo stream, String userId) { | ||
| this.streamRoomId = streamRoomId; | ||
| this.stream = stream; | ||
| this.userId = userId; | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if event api is not initialized then this method should throw exception