Skip to content

Commit

Permalink
update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
vzhn committed Nov 20, 2019
1 parent bd91a80 commit 9c08b6c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Value in a column ```errors``` increments when server is unable to send data chu
| streaming.picture.class | Streaming source java class | Generated |
| streaming.picture.conf.picture.width | picture width| 640
| streaming.picture.conf.picture.height | picture height | 480
| streaming.picture.conf.encoder.profile | h264 encoder profile |
| streaming.picture.conf.encoder.bitrate | h264 encoder bitrate | 400000
| streaming.picture.conf.encoder.fps | frames per second | 25
| streaming.picture.conf.encoder.gop_size | GOP size | 10
Expand Down Expand Up @@ -93,6 +94,7 @@ streaming:
width: 640
height: 480
encoder:
profile: "baseline"
bitrate: 400000
fps: 25
gop_size: 10
Expand All @@ -118,9 +120,9 @@ RTSP client aimed to receive video from multiple connections with maximum possib
```
$ bclient -c client.yaml
time | server connections | errors | throughput
=========================================================
16:13:00 | 4000 [+0; -0] | 0 | 17.6 GiB
time | server connections | errors | lost packets | throughput
=========================================================================
12:58:28 | 4000 [+0:-0] | 0 [+0] | 0 [+0] | 1.4 GiB
```

##### Settings:
Expand All @@ -141,6 +143,10 @@ network:
connectTimeout: 5000
idleTimeout: 5000
connections:
# 2000 connections to video from a file
- url: rtsp://localhost:8554/file?file=jellyfish-5-mbps-hd-h264.mkv
n: 2000
# 2000 connections to live generated picture
- url: rtsp://localhost:8554/picture
n: 2000
```
6 changes: 4 additions & 2 deletions src/deploy/conf/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ network:
connectTimeout: 5000
idleTimeout: 5000
connections:
- url: rtsp://localhost:8554/file?file=jellyfish-5-mbps-hd-h264.mkv
n: 4000
- url: rtsp://localhost:8554/file?file=jellyfish-5-mbps-hd-h264.mkv
n: 2000
- url: rtsp://localhost:8554/picture
n: 2000
1 change: 1 addition & 0 deletions src/deploy/conf/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ streaming:
file:
class: Filesystem
conf:
# path to video folder (/opt/video_samples for example)
basedir: video
file: jellyfish-5-mbps-hd-h264.mkv
picture:
Expand Down

0 comments on commit 9c08b6c

Please sign in to comment.