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

Commit e05a6794 authored by Andreas Huber's avatar Andreas Huber
Browse files

Transmit frames at a higher frame rate for smoother updates, increase

video bandwidth to 5 Mbit/sec.

Change-Id: Ieb9051b0f29d5a20004d1b3befdb745bc67769c7
parent 774df0dc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -86,8 +86,8 @@ status_t Converter::initEncoder() {
    if (isAudio) {
        mOutputFormat->setInt32("bitrate", 64000);      // 64 kBit/sec
    } else {
        mOutputFormat->setInt32("bitrate", 3000000);    // 3Mbit/sec
        mOutputFormat->setInt32("frame-rate", 30);
        mOutputFormat->setInt32("bitrate", 5000000);    // 5Mbit/sec
        mOutputFormat->setInt32("frame-rate", 60);
        mOutputFormat->setInt32("i-frame-interval", 3);  // Iframes every 3 secs
    }

+1 −1
Original line number Diff line number Diff line
@@ -624,7 +624,7 @@ status_t WifiDisplaySource::PlaybackSession::setupPacketizer() {
    ssize_t index = mSerializer->addSource(source);
#else
    ssize_t index = mSerializer->addSource(
            new RepeaterSource(source, 30.0 /* rateHz */));
            new RepeaterSource(source, 55.0 /* rateHz */));
#endif

    CHECK_GE(index, 0);