Add Bitrate Setting

This commit is contained in:
Florian Märkl 2019-08-21 18:44:12 +02:00
commit 3f6cc3647e
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
6 changed files with 54 additions and 2 deletions

View file

@ -64,7 +64,7 @@ CHIAKI_EXPORT void chiaki_connect_video_profile_preset(ChiakiConnectVideoProfile
case CHIAKI_VIDEO_RESOLUTION_PRESET_720p:
profile->width = 1280;
profile->height = 720;
profile->bitrate = 6000; // TODO: 10000 by default
profile->bitrate = 10000;
break;
case CHIAKI_VIDEO_RESOLUTION_PRESET_1080p:
profile->width = 1920;