File Upstream Dao
Implementation of IUpstreamDao that store the session in the file system.
The session is stored in a directory named with the session id and contains the following files:
videoId
: contains the video idtoken
: contains the tokenlastPart
: contains the index of the last part uploadedparts
: contains the list of parts uploaded1
: contains the URL of part 12
: contains the URL of part 2
Parameters
working Dir
The working directory
Constructors
Types
Functions
Link copied to clipboard
Link copied to clipboard
open override fun getByToken(token: String, videoId: String?): List<UpstreamSessionEntity>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Insert a part of the session If the part is the last part, the last part id have to be insert.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard