This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Fix api documentation #11
Closed
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
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 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 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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# Module JellyfishClient | ||
|
||
## Overview | ||
# Package com.jellyfishdev.jellyfishclient.webrtc | ||
|
||
See [membrane-webrtc-android docs](https://jellyfish-dev.github.io/membrane-webrtc-android/) for API documentation. |
37 changes: 37 additions & 0 deletions
37
JellyfishClient/src/main/java/com/jellyfishdev/jellyfishclient/webrtc/JellyfishWebRTC.kt
This file contains 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,37 @@ | ||
package com.jellyfishdev.jellyfishclient.webrtc | ||
|
||
typealias MembraneRTC = org.membraneframework.rtc.MembraneRTC | ||
typealias MembraneRTCListener = org.membraneframework.rtc.MembraneRTCListener | ||
typealias MembraneRTCError = org.membraneframework.rtc.MembraneRTCError | ||
typealias Constants = org.membraneframework.rtc.Constants | ||
typealias CreateOptions = org.membraneframework.rtc.CreateOptions | ||
typealias SimulcastConfig = org.membraneframework.rtc.SimulcastConfig | ||
typealias EncoderOptions = org.membraneframework.rtc.EncoderOptions | ||
typealias EncoderType = org.membraneframework.rtc.EncoderType | ||
typealias TrackEncoding = org.membraneframework.rtc.TrackEncoding | ||
typealias LocalScreencastTrack = org.membraneframework.rtc.media.LocalScreencastTrack | ||
typealias RemoteTrack = org.membraneframework.rtc.media.RemoteTrack | ||
typealias LocalAudioTrack = org.membraneframework.rtc.media.LocalAudioTrack | ||
typealias AudioTrack = org.membraneframework.rtc.media.AudioTrack | ||
typealias LocalVideoTrack = org.membraneframework.rtc.media.LocalVideoTrack | ||
typealias VideoTrack = org.membraneframework.rtc.media.VideoTrack | ||
typealias CameraCapturer = org.membraneframework.rtc.media.CameraCapturer | ||
typealias Capturer = org.membraneframework.rtc.media.Capturer | ||
typealias Dimensions = org.membraneframework.rtc.media.Dimensions | ||
typealias LocalTrack = org.membraneframework.rtc.media.LocalTrack | ||
typealias MediaTrackProvider = org.membraneframework.rtc.media.MediaTrackProvider | ||
typealias RemoteAudioTrack = org.membraneframework.rtc.media.RemoteAudioTrack | ||
typealias RemoteVideoTrack = org.membraneframework.rtc.media.RemoteVideoTrack | ||
typealias TrackBandwidthLimit = org.membraneframework.rtc.media.TrackBandwidthLimit | ||
typealias VideoParameters = org.membraneframework.rtc.media.VideoParameters | ||
typealias EncodingReason = org.membraneframework.rtc.models.EncodingReason | ||
typealias OnEncodingChangedListener = org.membraneframework.rtc.models.OnEncodingChangedListener | ||
typealias VadStatus = org.membraneframework.rtc.models.VadStatus | ||
typealias OnVoiceActivityChangedListener = org.membraneframework.rtc.models.OnVoiceActivityChangedListener | ||
typealias QualityLimitationDurations = org.membraneframework.rtc.models.QualityLimitationDurations | ||
typealias RTCInboundStats = org.membraneframework.rtc.models.RTCInboundStats | ||
typealias RTCOutboundStats = org.membraneframework.rtc.models.RTCOutboundStats | ||
typealias RTCStats = org.membraneframework.rtc.models.RTCStats | ||
typealias VideoTextureViewRenderer = org.membraneframework.rtc.ui.VideoTextureViewRenderer | ||
typealias SerializedMediaEvent = org.membraneframework.rtc.utils.SerializedMediaEvent | ||
typealias Payload = org.membraneframework.rtc.utils.Payload |
2 changes: 1 addition & 1 deletion
2
app/src/main/java/com/example/jellyfishandroidexample/Participant.kt
This file contains 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 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 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
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.
I'm confused now, those are docs for webrtc, not jellyfish? Is it intentional?
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.
Yes, those docs are there to provide an quick and easy way for jellyfish client user to understand how the webrtc functions that we're exposing through type aliases work. There is no easy way of exporting docs for types I made aliases of, and copy pasting them seems like a huge mistake, so I figured that this is the best solution