Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
91855006
authored
Jul 13, 2022
by
claincly
Committed by
Rohit Singh
Jul 13, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix two typos in RtpVp8Reader and test
PiperOrigin-RevId: 460662425
parent
d59334c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
library/rtsp/src/main/java/com/google/android/exoplayer2/source/rtsp/reader/RtpVp8Reader.java
library/rtsp/src/test/java/com/google/android/exoplayer2/source/rtsp/reader/RtpVp8ReaderTest.java
library/rtsp/src/main/java/com/google/android/exoplayer2/source/rtsp/reader/RtpVp8Reader.java
View file @
91855006
...
@@ -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"
;
/** VP
9
uses a 90 KHz media clock (RFC7741 Section 4.1). */
/** VP
8
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
;
...
...
library/rtsp/src/test/java/com/google/android/exoplayer2/source/rtsp/reader/RtpVp8ReaderTest.java
View file @
91855006
...
@@ -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
{
/** VP
9
uses a 90 KHz media clock (RFC7741 Section 4.1). */
/** VP
8
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
(
fals
e
)
.
setMarker
(
tru
e
)
.
setPayloadData
(
Bytes
.
concat
(
getBytesFromHexString
(
"00"
),
PARTITION_1_FRAGMENT_2
))
.
setPayloadData
(
Bytes
.
concat
(
getBytesFromHexString
(
"00"
),
PARTITION_1_FRAGMENT_2
))
.
build
();
.
build
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment