package
0.0.0-20210330180253-dcf02bf6ed2e
Repository: https://github.com/buidl-labs/demux.git
Documentation: pkg.go.dev
# Functions
AssetHandler enables checking the status of an asset in its demux lifecycle.
AssetStatusHandler returns the asset details and status.
CreateStream generates the m3u8 files.
FileUploadHandler handles the asset uploads using resumable.js.
GetFolderSizeEstimate estimates the folderSize (after transcoding) of an mp4 video using the meanSizeRatio.
PriceEstimateHandler handles the /pricing endpoint.
Transcode transcodes the video in the livepeer network.
UpdateSizeRatio updates the sizeRatioCollection with the current asset file and folder size details.
UploadStatusHandler returns the upload details and status.