-
- All Implemented Interfaces:
-
net.bunny.api.StreamApi
public final class BunnyStreamApi implements StreamApi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classBunnyStreamApi.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ManageCollectionsApicollectionsApiprivate final ManageVideosApivideosApiprivate final DefaultProgressRepositoryprogressRepositoryprivate final DefaultVideoUploadervideoUploaderprivate final DefaultVideoUploadertusVideoUploaderprivate final DefaultSettingsRepositorysettingsRepository
-
Method Summary
Modifier and Type Method Description ManageCollectionsApigetCollectionsApi()API endpoints for managing video collections ManageVideosApigetVideosApi()API endpoints for managing videos DefaultProgressRepositorygetProgressRepository()Component for managing progress of video DefaultVideoUploadergetVideoUploader()Component for managing video uploads DefaultVideoUploadergetTusVideoUploader()Component for managing TUS video uploads DefaultSettingsRepositorygetSettingsRepository()Either<String, PlayerSettings>fetchPlayerSettings(Long libraryId, String videoId)-
-
Method Detail
-
getCollectionsApi
ManageCollectionsApi getCollectionsApi()
API endpoints for managing video collections
-
getVideosApi
ManageVideosApi getVideosApi()
API endpoints for managing videos
-
getProgressRepository
DefaultProgressRepository getProgressRepository()
Component for managing progress of video
-
getVideoUploader
DefaultVideoUploader getVideoUploader()
Component for managing video uploads
-
getTusVideoUploader
DefaultVideoUploader getTusVideoUploader()
Component for managing TUS video uploads
-
getSettingsRepository
DefaultSettingsRepository getSettingsRepository()
-
fetchPlayerSettings
Either<String, PlayerSettings> fetchPlayerSettings(Long libraryId, String videoId)
-
-
-
-