0chain / 0chain/gosdk

wasm(livestreaming): implement `stream` feature with ffmpeg-wasm on browser

Open
#890 0 comments 0 reactions 1 assignee Assigned to @Manish-210 View on GitHub
post-mainnet
Dominant language
Go
Stars
30
Forks
32
PR merge metrics
No merged PRs in 30d

Description

it is implemented based on local audio/camera device in cli as `./zbox stream` now.
it should be implemented based on ffmpeg-wasm and webcam on browser

it is the feature called `live streaming`

## TODO
- capture streaming from audio/webcam by H5 apis and ffmpeg
- read output from ffmpeg-wasm , and upload them to blobbers

see more detail from https://github.com/0chain/zboxcli#stream and https://app.slack.com/client/T9C1E9JEB/threads/thread/GREHVKQKS-1676148868.722449

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the existing CLI stream command in the zboxcli repository to understand the current implementation. Investigate using HTML5 APIs for webcam/audio capture and ffmpeg-wasm for processing in the browser. The output must be uploaded to blobbers, so examine the gosdk's upload mechanisms. This is a complex, cross-cutting feature requiring integration of multiple unfamiliar subsystems.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, wasm
Domain
audio-video-rtc, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.