Update README.md

This commit is contained in:
Lukas Herman
2020-11-09 23:19:50 -08:00
committed by GitHub
parent 716da16e4a
commit ea90f86abd

View File

@@ -2,17 +2,16 @@
### Install required codecs
In this example, we'll be using x264 and opus as our video and audio codecs. Therefore, we need to make sure that these codecs are installed within our system.
In this example, we'll be using x264 as our video codec. Therefore, we need to make sure that these codecs are installed within our system.
Installation steps:
* [x264](https://github.com/pion/mediadevices#x264)
* [opus](https://github.com/pion/mediadevices#opus)
### Download rtpexample
### Download rtp example
```
go get github.com/pion/mediadevices/examples/rtp
git clone https://github.com/pion/mediadevices.git
```
### Listen RTP
@@ -30,7 +29,7 @@ vlc ./h264.sdp
### Run rtp
Run `rtp localhost:5000`
Run `cd mediadevices/examples/archive && go build && ./rtp localhost:5000`
A video should start playing in your GStreamer or VLC window.
It's not WebRTC, but pure RTP.