Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 086f958a authored by Dave Burke's avatar Dave Burke
Browse files

Tune video bitrate to 2.5 MBPS.

Temporary workaround for buggy firmware (desired is 5 MBPS).

Change-Id: I9fb0af31ca07c9bfdc6f790b7c98ca546eaf2985
parent 437aa4c5
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -115,7 +115,7 @@ status_t Converter::initEncoder() {
    mOutputFormat->setString("mime", outputMIME.c_str());
    mOutputFormat->setString("mime", outputMIME.c_str());


    int32_t audioBitrate = getBitrate("media.wfd.audio-bitrate", 64000);
    int32_t audioBitrate = getBitrate("media.wfd.audio-bitrate", 64000);
    int32_t videoBitrate = getBitrate("media.wfd.video-bitrate", 10000000);
    int32_t videoBitrate = getBitrate("media.wfd.video-bitrate", 2500000);


    ALOGI("using audio bitrate of %d bps, video bitrate of %d bps",
    ALOGI("using audio bitrate of %d bps, video bitrate of %d bps",
          audioBitrate, videoBitrate);
          audioBitrate, videoBitrate);
@@ -328,4 +328,3 @@ void Converter::requestIDRFrame() {
}
}


}  // namespace android
}  // namespace android