publish-from-browser demonstrates how you can publish a stream to ion-sfu from a browser
go get github.com/pion/ion-sfu/examples/publish-from-browser
jsfiddle.net you should see two text-areas and a 'Start Session' button.
In the jsfiddle the top textarea is your browser, copy that and:
Run echo $BROWSER_SDP | publish-from-browser $yourroom
- Paste the SessionDescription into a file.
- Run
publish-from-browser $yourroom < my_file
Copy the text that publish-from-browser
just emitted and copy into second text area. This needs to be done quickly to avoid an ICE timeout.
Your browser should send video to ion-sfu, you can verify it by looking at ion-sfu logs.