Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
`go get` doesn't download code anymore
  • Loading branch information
Sean-Der committed May 7, 2024
1 parent 5c56458 commit 613e1c3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,19 @@ Using Pion WebRTC and GStreamer you can now watch videos in real-time with your
`pacman -S mingw-w64-x86_64-gstreamer mingw-w64-x86_64-gst-libav mingw-w64-x86_64-gst-plugins-good mingw-w64-x86_64-gst-plugins-bad mingw-w64-x86_64-gst-plugins-ugly`

##### Error Handling

pkg-config --cflags -- gstreamer-1.0 gstreamer-app-1.0
pkg-config: exec: "pkg-config": executable file not found in %PATH%

> After gstreamer installation,SET the `PATH` variable to `C:/{path to gstreamer}/bin`
Sorry, unimplemented: 64 bit mode not compiled in

> RUN `$ g++ -v`
> RUN `$ g++ -v`
> CHECK Target- x86_64-w64-mingw32(Required).
if not Download using [this](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download)


if not Download using [this](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/installer/mingw-w64-install.exe/download)


#### macOS
Expand All @@ -48,14 +46,16 @@ brew install gst-plugins-good pkg-config gst-plugins-bad gst-plugins-ugly
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
```

### Download rtwatch
### Download and build rtwatch
```
go get github.com/pion/rtwatch
git clone https://github.com/pion/rtwatch.git
cd rtwatch
go build .
```

### Play your video
```
rtwatch -container-path=/home/sean/video.mp4
./rtwatch -container-path=/home/sean/video.mp4
> Video file '/home/sean/video.mp4' is now available on ':8080', have fun!
```

Expand Down

0 comments on commit 613e1c3

Please sign in to comment.