0chain / gosdk

A client SDK in Go to interface the blockchain and storage platform, and other smart contracts
MIT License
32 stars 29 forks source link

gosdk(videostreaming): add transcode feature on upload #712

Closed cnlangzi closed 1 year ago

cnlangzi commented 1 year ago

play media file chunk by chunk feature only works on fMp4 or webp. a transcode feature should be added on file upload. all non-fragmented mp4 file should be converted to fragmented mp4 and upload. see detail https://0chain.slack.com/archives/G014PQ61WNT/p1680750942551589?thread_ts=1680721705.377029&cid=G014PQ61WNT

it will let feature called video streaming supported on web. on mobile/desktop, it should be simply implemented with https://github.com/0chain/zboxcli#streaming

TODO

guruhubb commented 1 year ago

re both the raw video file and fMP4 file should be uploaded we don't need to upload both files but just the fmp4 only.