You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Enable Raspberry Pi Hardware by adding below in`/boot/firmware/config.txt`
@@ -47,16 +46,53 @@ Raspberry Pi 5 and other SBCs do not support v4l2 hardware encoding, please run
47
46
48
47
## Running the Application
49
48
50
-
Running `pi_webrtc -h` will display all available options. To start the application, use the following command:
49
+
### Run
50
+
Running the binary file `pi_webrtc` with the `-h` flag will display all available options. Ensure that your MQTT server is ready before starting the application. To start the application, use the following command:
**For Pi 5**, remove the `--hw_accel` option and set`--v4l2_format` to `mjpeg`. Video encoding will be handled by [OpenH264](https://github.com/cisco/openh264).
59
+
60
+
**For Pi 5**, remove the `--hw_accel` option and change `--v4l2_format` to `mjpeg`. Video encoding will be handled by [OpenH264](https://github.com/cisco/openh264).
56
61
57
62
### Run as Linux Service
58
63
59
-
In order to run `pi_webrtc` and ensure it starts automatically on reboot:
64
+
#### 1. Run `pulseaudio` as system-wide daemon [[ref]](https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/):
65
+
* create a file `/etc/systemd/system/pulseaudio.service`
0 commit comments