sub-to-browser demonstrates how you can subscribe to a stream from ion-sfu
go get github.com/pion/ion-sfu/examples/sub-to-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 | sub-to-browser $yourroom
- Paste the SessionDescription into a file.
- Run
sub-to-browser $yourroom < my_file
Copy the text that sub-to-browser
just emitted and copy into second text area
Your browser should render video it is receiving from the ion-sfu.