mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Fix two typos in RtpVp8Reader and test
PiperOrigin-RevId: 460662425
(cherry picked from commit 40fd3ffa6c)
This commit is contained in:
parent
4655b7b8f7
commit
8f79af8155
2 changed files with 3 additions and 3 deletions
|
|
@ -36,7 +36,7 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
|||
/* package */ final class RtpVp8Reader implements RtpPayloadReader {
|
||||
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 final RtpPayloadFormat payloadFormat;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ import org.junit.runner.RunWith;
|
|||
@RunWith(AndroidJUnit4.class)
|
||||
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 byte[] PARTITION_1 = getBytesFromHexString("000102030405060708090A0B0C0D0E");
|
||||
|
|
@ -61,7 +61,7 @@ public final class RtpVp8ReaderTest {
|
|||
new RtpPacket.Builder()
|
||||
.setTimestamp(PARTITION_1_RTP_TIMESTAMP)
|
||||
.setSequenceNumber(40290)
|
||||
.setMarker(false)
|
||||
.setMarker(true)
|
||||
.setPayloadData(Bytes.concat(getBytesFromHexString("00"), PARTITION_1_FRAGMENT_2))
|
||||
.build();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue