From 6c36ff020ce49a6761e727b0d081167cc672a015 Mon Sep 17 00:00:00 2001 From: Nicholas Cook Date: Tue, 28 Jun 2022 15:57:30 -0700 Subject: [PATCH] docs: align channel config with best practices (#71) skipping optional check for kokoro pre-release dependencies. --- .../samples/snippets/create_channel.py | 4 ++-- .../samples/snippets/create_channel_with_backup_input.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/google-cloud-video-live-stream/samples/snippets/create_channel.py b/packages/google-cloud-video-live-stream/samples/snippets/create_channel.py index 9db514887d35..67ed7fce7d41 100644 --- a/packages/google-cloud-video-live-stream/samples/snippets/create_channel.py +++ b/packages/google-cloud-video-live-stream/samples/snippets/create_channel.py @@ -64,10 +64,10 @@ def create_channel( key="es_video", video_stream=live_stream_v1.types.VideoStream( h264=live_stream_v1.types.VideoStream.H264CodecSettings( - profile="main", + profile="high", width_pixels=1280, height_pixels=720, - bitrate_bps=1000000, + bitrate_bps=3000000, frame_rate=30, ), ), diff --git a/packages/google-cloud-video-live-stream/samples/snippets/create_channel_with_backup_input.py b/packages/google-cloud-video-live-stream/samples/snippets/create_channel_with_backup_input.py index 3bcdc481f677..0b7284b12fc9 100644 --- a/packages/google-cloud-video-live-stream/samples/snippets/create_channel_with_backup_input.py +++ b/packages/google-cloud-video-live-stream/samples/snippets/create_channel_with_backup_input.py @@ -85,10 +85,10 @@ def create_channel_with_backup_input( key="es_video", video_stream=live_stream_v1.types.VideoStream( h264=live_stream_v1.types.VideoStream.H264CodecSettings( - profile="main", + profile="high", width_pixels=1280, height_pixels=720, - bitrate_bps=1000000, + bitrate_bps=3000000, frame_rate=30, ), ),