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
0bf19734
authored
Apr 21, 2022
by
manisha_jajoo
Committed by
Manisha Jajoo
Apr 21, 2022
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add a missing break in RtspMediaTrack and update RtpPayloadFormat.java
parent
f0d7d963
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/RtpPayloadFormat.java
libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/RtspMediaTrack.java
libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/RtpPayloadFormat.java
View file @
0bf19734
...
@@ -46,9 +46,9 @@ public final class RtpPayloadFormat {
...
@@ -46,9 +46,9 @@ public final class RtpPayloadFormat {
private
static
final
String
RTP_MEDIA_MPEG4_VIDEO
=
"MP4V-ES"
;
private
static
final
String
RTP_MEDIA_MPEG4_VIDEO
=
"MP4V-ES"
;
private
static
final
String
RTP_MEDIA_H264
=
"H264"
;
private
static
final
String
RTP_MEDIA_H264
=
"H264"
;
private
static
final
String
RTP_MEDIA_H265
=
"H265"
;
private
static
final
String
RTP_MEDIA_H265
=
"H265"
;
private
static
final
String
RTP_MEDIA_OPUS
=
"OPUS"
;
private
static
final
String
RTP_MEDIA_PCM_L8
=
"L8"
;
private
static
final
String
RTP_MEDIA_PCM_L8
=
"L8"
;
private
static
final
String
RTP_MEDIA_PCM_L16
=
"L16"
;
private
static
final
String
RTP_MEDIA_PCM_L16
=
"L16"
;
private
static
final
String
RTP_MEDIA_OPUS
=
"OPUS"
;
private
static
final
String
RTP_MEDIA_PCMA
=
"PCMA"
;
private
static
final
String
RTP_MEDIA_PCMA
=
"PCMA"
;
private
static
final
String
RTP_MEDIA_PCMU
=
"PCMU"
;
private
static
final
String
RTP_MEDIA_PCMU
=
"PCMU"
;
private
static
final
String
RTP_MEDIA_VP8
=
"VP8"
;
private
static
final
String
RTP_MEDIA_VP8
=
"VP8"
;
...
...
libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/RtspMediaTrack.java
View file @
0bf19734
...
@@ -189,6 +189,7 @@ import com.google.common.collect.ImmutableMap;
...
@@ -189,6 +189,7 @@ import com.google.common.collect.ImmutableMap;
// the RTP timestamp is incremented with a 48000 Hz clock rate
// the RTP timestamp is incremented with a 48000 Hz clock rate
// for all modes of Opus and all sampling rates.
// for all modes of Opus and all sampling rates.
checkArgument
(
clockRate
==
OPUS_SAMPLING_RATE
,
"Invalid sampling rate"
);
checkArgument
(
clockRate
==
OPUS_SAMPLING_RATE
,
"Invalid sampling rate"
);
break
;
case
MimeTypes
.
VIDEO_MP4V
:
case
MimeTypes
.
VIDEO_MP4V
:
checkArgument
(!
fmtpParameters
.
isEmpty
());
checkArgument
(!
fmtpParameters
.
isEmpty
());
processMPEG4FmtpAttribute
(
formatBuilder
,
fmtpParameters
);
processMPEG4FmtpAttribute
(
formatBuilder
,
fmtpParameters
);
...
...
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