Skip to content

Commit 77b4d4b

Browse files
committed
chore: update to v1.0.7 pi-webrtc
1 parent d3bc276 commit 77b4d4b

File tree

8 files changed

+22
-22
lines changed

8 files changed

+22
-22
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ jobs:
5454
run: |
5555
cd build
5656
if [ "${{ matrix.build_type }}" == "Release" ]; then
57-
FILENAME="pi_webrtc-${{ github.ref_name }}_ubuntu-24.04-arm64.tar.gz"
57+
FILENAME="pi-webrtc-${{ github.ref_name }}_ubuntu-24.04-arm64.tar.gz"
5858
else
59-
FILENAME="pi_webrtc-${{ github.ref_name }}_ubuntu-24.04-arm64_debug.tar.gz"
59+
FILENAME="pi-webrtc-${{ github.ref_name }}_ubuntu-24.04-arm64_debug.tar.gz"
6060
fi
61-
tar -czvf $FILENAME pi_webrtc
61+
tar -czvf $FILENAME pi-webrtc
6262
echo "filename=$FILENAME" >> $GITHUB_OUTPUT
6363
6464
- name: Upload to GitHub

.github/workflows/docker_build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ jobs:
113113
run: |
114114
cd build
115115
if [ "${{ matrix.build_type }}" == "Release" ]; then
116-
FILENAME="pi_webrtc-${{ github.ref_name }}_${{ needs.prepare-env.outputs.raspios_version }}.tar.gz"
116+
FILENAME="pi-webrtc-${{ github.ref_name }}_${{ needs.prepare-env.outputs.raspios_version }}.tar.gz"
117117
else
118-
FILENAME="pi_webrtc-${{ github.ref_name }}_${{ needs.prepare-env.outputs.raspios_version }}_debug.tar.gz"
118+
FILENAME="pi-webrtc-${{ github.ref_name }}_${{ needs.prepare-env.outputs.raspios_version }}_debug.tar.gz"
119119
fi
120-
sudo tar -czvf $FILENAME pi_webrtc
120+
sudo tar -czvf $FILENAME pi-webrtc
121121
echo "filename=$FILENAME" >> $GITHUB_OUTPUT
122122
123123
- name: Upload to GitHub

.github/workflows/qemu_build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,17 +168,17 @@ jobs:
168168
cmake .. -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} && \
169169
make -j$(nproc)
170170
"
171-
sshpass -p "raspberry" scp -P 5555 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null pi@localhost:~/project/build/pi_webrtc .
171+
sshpass -p "raspberry" scp -P 5555 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null pi@localhost:~/project/build/pi-webrtc .
172172
173173
- name: Zip binary
174174
id: zip-binary
175175
run: |
176176
if [ "${{ matrix.build_type }}" == "Release" ]; then
177-
FILENAME="pi_webrtc-${{ github.ref_name }}_${{ needs.prepare-image.outputs.raspios_version }}.tar.gz"
177+
FILENAME="pi-webrtc-${{ github.ref_name }}_${{ needs.prepare-image.outputs.raspios_version }}.tar.gz"
178178
else
179-
FILENAME="pi_webrtc-${{ github.ref_name }}_${{ needs.prepare-image.outputs.raspios_version }}_debug.tar.gz"
179+
FILENAME="pi-webrtc-${{ github.ref_name }}_${{ needs.prepare-image.outputs.raspios_version }}_debug.tar.gz"
180180
fi
181-
sudo tar -czvf $FILENAME pi_webrtc
181+
sudo tar -czvf $FILENAME pi-webrtc
182182
echo "filename=$FILENAME" >> $GITHUB_OUTPUT
183183
184184
- name: Upload to GitHub

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ sudo apt install libcamera0.5 libmosquitto1 pulseaudio libavformat59 libswscale6
7373

7474
Prepare the binary file from [Releases](https://github.com/TzuHuanTai/RaspberryPi-WebRTC/releases).
7575
```bash
76-
wget https://github.com/TzuHuanTai/RaspberryPi_WebRTC/releases/latest/download/pi_webrtc-v1.0.6_raspios-bookworm-arm64.tar.gz
77-
tar -xzf pi_webrtc-v1.0.6_raspios-bookworm-arm64.tar.gz
76+
wget https://github.com/TzuHuanTai/RaspberryPi-WebRTC/releases/latest/download/pi-webrtc-v1.0.7_raspios-bookworm-arm64.tar.gz
77+
tar -xzf pi-webrtc-v1.0.7_raspios-bookworm-arm64.tar.gz
7878
```
7979

8080
### 4. Set Up MQTT
@@ -97,7 +97,7 @@ You can use a free cloud MQTT service like [HiveMQ](https://www.hivemq.com) or
9797
* Set up the MQTT settings on the [picamera-web](https://app.picamera.live), and create a new device with a `UID`.
9898
* Run the command based on your network settings and `UID` on the Raspberry Pi:
9999
```bash
100-
./pi_webrtc \
100+
./pi-webrtc \
101101
--camera=libcamera:0 \
102102
--fps=30 \
103103
--width=1280 \

doc/BUILD.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323
| -DBUILD_TEST | | (http_server, recorder, mqtt, v4l2_capture, v4l2_encoder, v4l2_decoder, v4l2_scaler). Build the test codes |
2424
| -DCMAKE_BUILD_TYPE | Debug | (Debug, Release) |
2525

26-
Build on raspberry pi and it'll output a `pi_webrtc` file in `/build`.
26+
Build on raspberry pi and it'll output a `pi-webrtc` file in `/build`.
2727
```bash
2828
mkdir build
2929
cd build
3030
cmake .. -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DCMAKE_BUILD_TYPE=Release
3131
make -j
3232
```
3333
34-
Run `pi_webrtc` to start the service.
34+
Run `pi-webrtc` to start the service.
3535
```bash
36-
./pi_webrtc --camera=libcamera:0 --fps=30 --width=1280 --height=720 --use-mqtt --mqtt-host=<hostname> --mqtt-port=1883 --mqtt-username=<username> --mqtt-password=<password> --hw-accel
36+
./pi-webrtc --camera=libcamera:0 --fps=30 --width=1280 --height=720 --use-mqtt --mqtt-host=<hostname> --mqtt-port=1883 --mqtt-username=<username> --mqtt-password=<password> --hw-accel
3737
```

doc/USE_GPERFTOOLS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,20 @@ sudo apt-get install ghostscript graphviz
2929
## 3. Run the Program and Generate Performance Data
3030
Execute program and output the performance data to a specified file, for example:
3131
```bash
32-
CPUPROFILE=./prof.out HEAPPROFILE=heap CPUPROFILESIGNAL=12 ./pi_webrtc --camera=v4l2:0 --fps=30 --width=1280 --height=960 --v4l2_format=h264 --hw_accel --uid=home-pi-3b
32+
CPUPROFILE=./prof.out HEAPPROFILE=heap CPUPROFILESIGNAL=12 ./pi-webrtc --camera=v4l2:0 --fps=30 --width=1280 --height=960 --v4l2-format=h264 --hw-accel --uid=home-pi-3b
3333
```
3434

3535
Send a signal to the process to start/stop collect performance data:
3636

3737
```bash
38-
killall -12 pi_webrtc
38+
killall -12 pi-webrtc
3939
```
4040

4141
## 4. Use pprof Tool to Generate Performance Report
4242
Convert the performance data into a PDF report using the pprof tool:
4343

4444
```bash
45-
pprof /home/pi/IoT/RaspberryPi_WebRTC/build/pi_webrtc prof.out.0 --pdf > prof_0.pdf
45+
pprof /home/pi/IoT/RaspberryPi-WebRTC/build/pi-webrtc prof.out.0 --pdf > prof_0.pdf
4646
pprof --pdf --base=heap.0001.heap ./test_recorder heap.0003.heap > heap_diff.pdf
4747
```
4848

example/virtual_cam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
python virtual_cam.py
1616
1717
4. Test the video output:
18-
/path/to/pi_webrtc --camera=v4l2:16 --width=1920 --height=1080 ... # View the processed feed by WebRTC
18+
/path/to/pi-webrtc --camera=v4l2:16 --width=1920 --height=1080 ... # View the processed feed by WebRTC
1919
ffplay /dev/video16 # View the processed feed by ffplay
2020
2121
Requirements:

example/yolo_cam.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
python yolo_cam.py
2222
2323
5. Test the video output:
24-
/path/to/pi_webrtc --camera=v4l2:16 --width=1920 --height=1080 ... # View original camera feed
25-
/path/to/pi_webrtc --camera=v4l2:17 --width=1920 --height=1080 ... # View YOLO-processed feed
24+
/path/to/pi-webrtc --camera=v4l2:16 --width=1920 --height=1080 ... # View original camera feed
25+
/path/to/pi-webrtc --camera=v4l2:17 --width=1920 --height=1080 ... # View YOLO-processed feed
2626
2727
Requirements:
2828
- Raspberry Pi with Camera Module

0 commit comments

Comments
 (0)