-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Persistent, Pauseable Uploads (#20)
* Add UploadPersistence file * More skeleton * Read and Write with UploadPersistence * Update * Wait that's all I need * minor naming things * up * Use SharedFlow * Gotta test the listeners * Save progress updates * Update callbacks and stuff * Yay it works * This is better * up * Rename * Try this * Ok * Spedoinkle * alfjk * Make sure to set up * moment of truth * Heck yes * cleanup * iup * Ok now it cancels to much and doesn't update UploadInfo job * Add a pause button * OK here we are * Skip to actual file pos * pause with integrity
- Loading branch information
1 parent
2ba3368
commit b09428d
Showing
15 changed files
with
464 additions
and
160 deletions.
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
11 changes: 11 additions & 0 deletions
11
app/src/main/java/com/mux/video/vod/demo/UploadExampleApp.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,11 @@ | ||
package com.mux.video.vod.demo | ||
|
||
import android.app.Application | ||
import com.mux.video.upload.MuxUploadSdk | ||
|
||
class UploadExampleApp : Application() { | ||
override fun onCreate() { | ||
super.onCreate() | ||
MuxUploadSdk.initialize(this) | ||
} | ||
} |
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
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,5 +1,6 @@ | ||
<resources> | ||
<string name="app_name">Mux Video VOD Upload SDK</string> | ||
<string name="title_activity_scrolling">ScrollingActivity</string> | ||
<string name="title_activity_scrolling">Mux Upload Example</string> | ||
<string name="action_settings">Settings</string> | ||
<string name="pause_button">Pause Button</string> | ||
</resources> |
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.