From ea90f86abde2f83a0ecc4dbf1c68dd6684683d63 Mon Sep 17 00:00:00 2001 From: Lukas Herman Date: Mon, 9 Nov 2020 23:19:50 -0800 Subject: [PATCH] Update README.md --- examples/rtp/README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/examples/rtp/README.md b/examples/rtp/README.md index 682c1ce..d32ac61 100644 --- a/examples/rtp/README.md +++ b/examples/rtp/README.md @@ -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.