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

Commit b800dfd8 authored by Robert Shih's avatar Robert Shih Committed by Android (Google) Code Review
Browse files

Merge "rtsp: remove CHECK to ignore unsupported tracks" into nyc-mr1-dev

parents 1161d404 30474b19
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -214,13 +214,15 @@ void ASessionDescription::getFormatType(

    char key[32];
    snprintf(key, sizeof(key), "a=rtpmap:%lu", x);

    CHECK(findAttribute(index, key, desc));

    if (findAttribute(index, key, desc)) {
        snprintf(key, sizeof(key), "a=fmtp:%lu", x);
        if (!findAttribute(index, key, params)) {
            params->clear();
        }
    } else {
        desc->clear();
        params->clear();
    }
}

bool ASessionDescription::getDimensions(