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

Commit 08aa0bc9 authored by Andreas Huber's avatar Andreas Huber Committed by Android (Google) Code Review
Browse files

Merge "Fix typo and reduce allocation overhead of RTP retransmission requests."

parents 9e58b552 aa65ddb0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -787,12 +787,12 @@ void RTPSink::onPacketLost(const sp<AMessage> &msg) {

    int32_t blp = 0;

    sp<ABuffer> buf = new ABuffer(1500);
    sp<ABuffer> buf = new ABuffer(16);
    buf->setRange(0, 0);

    uint8_t *ptr = buf->data();
    ptr[0] = 0x80 | 1;  // generic NACK
    ptr[1] = 205;  // RTPFB
    ptr[1] = 205;  // TSFB
    ptr[2] = 0;
    ptr[3] = 3;
    ptr[4] = 0xde;  // sender SSRC