Skip to content

Commit

Permalink
Use only videos with no bframes
Browse files Browse the repository at this point in the history
  • Loading branch information
victorges committed Oct 20, 2023
1 parent 3d8106a commit 6967892
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
3 changes: 2 additions & 1 deletion cmd/webrtc-load-tester/roles/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ func runPlayerTest(args playerArguments) {
chromedp.WithBrowserLogf(log.Printf),
chromedp.WithBrowserErrorf(log.Printf),
),
// chromedp.WithDebugf(log.Printf),
chromedp.WithLogf(log.Printf),
chromedp.WithErrorf(log.Printf),
)
defer cancel()

Expand Down
2 changes: 1 addition & 1 deletion cmd/webrtc-load-tester/roles/streamer.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func Streamer() {
parseFlags(func(fs *flag.FlagSet) {
fs.StringVar(&cliFlags.BaseURL, "base-url", "rtmp://rtmp.livepeer.com/live/", "Base URL for the RTMP endpoint to stream to")
fs.StringVar(&cliFlags.StreamKey, "stream-key", "deadbeef", "Stream key to use for streaming")
fs.StringVar(&cliFlags.InputFile, "input-file", "official_test_source_2s_keys_24pfs.mp4", "Input file to stream")
fs.StringVar(&cliFlags.InputFile, "input-file", "bbb_sunflower_1080p_30fps_2sGOP_noBframes_2min.mp4", "Input file to stream")
fs.DurationVar(&cliFlags.TestDuration, "duration", 1*time.Minute, "How long to run the test")
})

Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apk add --no-cache make gcc musl-dev linux-headers git \

WORKDIR /root

RUN parallel wget https://test-harness-gcp.livepeer.fish/{} ::: official_test_source_2s_keys_24pfs.mp4 official_test_source_2s_keys_24pfs_3min.mp4 bbb_sunflower_1080p_30fps_normal_t02.mp4 bbb_sunflower_1080p_30fps_normal_1min.mp4 official_test_source_2s_keys_24pfs_30s.mp4 && \
RUN parallel wget https://test-harness-gcp.livepeer.fish/{} ::: official_test_source_2s_keys_24pfs_3min.mp4 bbb_sunflower_1080p_30fps_normal_1min.mp4 official_test_source_2s_keys_24pfs_30s.mp4 && \
wget -qO- https://test-harness-gcp.livepeer.fish/official_test_source_2s_keys_24pfs_30s_hls.tar.gz | tar xvz -C .

COPY go.mod go.sum ./
Expand Down
8 changes: 3 additions & 5 deletions docker/Dockerfile.webrtc-load-tester
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ ARG version
RUN apt update && apt install -yq parallel

RUN parallel wget https://test-harness-gcp.livepeer.fish/{} ::: \
official_test_source_2s_keys_24pfs.mp4 \
official_test_source_2s_keys_24pfs_3min.mp4 \
bbb_sunflower_1080p_30fps_normal_t02.mp4 \
bbb_sunflower_1080p_30fps_normal_1min.mp4 \
official_test_source_2s_keys_24pfs_30s.mp4
bbb_sunflower_1080p_30fps_2sGOP_noBframes_2min.mp4 \
bbb_sunflower_1080p_60fps_2sGOP_noBframes_10s.mp4 \
bbb_sunflower_720p_30fps_2sGOP_noBframes_5min.mp4

COPY go.mod go.sum ./

Expand Down

0 comments on commit 6967892

Please sign in to comment.