From f0f6be7350113686f7d49fd0b51883f622a8cc70 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 12 Apr 2023 11:21:53 +0200 Subject: [PATCH] Fix README section levels --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 96118dab..5283ce08 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,11 @@ `mediadevices` provides access to media input devices like cameras, microphones, and screen capture. It can also be used to encode your video/audio stream to various codec selections. `mediadevices` abstracts away the complexities of interacting with things like hardware and codecs allowing you to focus on building appilcations, interacting only with an amazingly simple, easy, and elegant API! -## Install +### Install -`go get -u github.com/pion/mediadevices` +```bash +go get -u github.com/pion/mediadevices +``` ### Usage @@ -196,7 +198,8 @@ So, when `mediadevices` returns `failed to find the best driver that fits the co Since `mediadevices` uses cgo to access video/audio codecs, it needs to find these libraries from the system. To accomplish this, [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/) is used for library discovery. If you see the following error message at compile time: -``` + +```bash # pkg-config --cflags -- vpx Package vpx was not found in the pkg-config search path. Perhaps you should add the directory containing `vpx.pc'