transcode-mediadevice

command
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

README

transcode-mediadevice

transcode-mediadevice is an example application showing a webcam stream transcoded to different formats.

Instructions

Open transcode-mediadevice example page

jsfiddle.net you should see your Webcam, two text-areas and a 'Start Session' button

Run transcode-mediadevice with your browsers SessionDescription as stdin

In the jsfiddle the top textarea is your browser, copy that and:

Linux/macOS

Run echo $BROWSER_SDP | go run main.go

Windows
  1. Paste the SessionDescription into a file.
  2. Run go run main.go < my_file
Input transcode-mediadevice's SessionDescription into your browser

Copy the text that transcode-mediadevice just emitted and copy into second text area

Hit 'Start Session' in jsfiddle, view the transcoded stream!

The output stream will be transcoded to H264, regardless of what input codec is used.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL