Commit 91855006 by claincly Committed by Rohit Singh

Fix two typos in RtpVp8Reader and test

PiperOrigin-RevId: 460662425
parent d59334c5
...@@ -36,7 +36,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull; ...@@ -36,7 +36,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
/* package */ final class RtpVp8Reader implements RtpPayloadReader { /* package */ final class RtpVp8Reader implements RtpPayloadReader {
private static final String TAG = "RtpVP8Reader"; private static final String TAG = "RtpVP8Reader";
/** VP9 uses a 90 KHz media clock (RFC7741 Section 4.1). */ /** VP8 uses a 90 KHz media clock (RFC7741 Section 4.1). */
private static final long MEDIA_CLOCK_FREQUENCY = 90_000; private static final long MEDIA_CLOCK_FREQUENCY = 90_000;
private final RtpPayloadFormat payloadFormat; private final RtpPayloadFormat payloadFormat;
......
...@@ -39,7 +39,7 @@ import org.junit.runner.RunWith; ...@@ -39,7 +39,7 @@ import org.junit.runner.RunWith;
@RunWith(AndroidJUnit4.class) @RunWith(AndroidJUnit4.class)
public final class RtpVp8ReaderTest { public final class RtpVp8ReaderTest {
/** VP9 uses a 90 KHz media clock (RFC7741 Section 4.1). */ /** VP8 uses a 90 KHz media clock (RFC7741 Section 4.1). */
private static final long MEDIA_CLOCK_FREQUENCY = 90_000; private static final long MEDIA_CLOCK_FREQUENCY = 90_000;
private static final byte[] PARTITION_1 = getBytesFromHexString("000102030405060708090A0B0C0D0E"); private static final byte[] PARTITION_1 = getBytesFromHexString("000102030405060708090A0B0C0D0E");
...@@ -61,7 +61,7 @@ public final class RtpVp8ReaderTest { ...@@ -61,7 +61,7 @@ public final class RtpVp8ReaderTest {
new RtpPacket.Builder() new RtpPacket.Builder()
.setTimestamp(PARTITION_1_RTP_TIMESTAMP) .setTimestamp(PARTITION_1_RTP_TIMESTAMP)
.setSequenceNumber(40290) .setSequenceNumber(40290)
.setMarker(false) .setMarker(true)
.setPayloadData(Bytes.concat(getBytesFromHexString("00"), PARTITION_1_FRAGMENT_2)) .setPayloadData(Bytes.concat(getBytesFromHexString("00"), PARTITION_1_FRAGMENT_2))
.build(); .build();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment