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
ce98d6da
authored
Oct 04, 2022
by
Rakesh Kumar
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix review comment in CSD parsing of Mp4a-Latm
Change-Id: I70c412870952e18826f43d218b074b2829127e10
parent
0ac84fe1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/RtspMediaTrack.java
libraries/exoplayer_rtsp/src/main/java/androidx/media3/exoplayer/rtsp/RtspMediaTrack.java
View file @
ce98d6da
...
...
@@ -217,8 +217,9 @@ import com.google.common.collect.ImmutableMap;
PARAMETER_MP4A_C_PRESENT
).
equals
(
"0"
))
{
isConfigPresent
=
false
;
}
checkArgument
(!
isConfigPresent
,
"cpresent == 0 means we need to parse config"
);
@Nullable
String
configInput
=
fmtpParameters
.
get
(
PARAMETER_MP4V_CONFIG
);
if
(
!
isConfigPresent
&&
configInput
!=
null
&&
configInput
.
length
()
%
2
==
0
)
{
if
(
configInput
!=
null
&&
configInput
.
length
()
%
2
==
0
)
{
Pair
<
Integer
,
Integer
>
configParameters
=
getSampleRateAndChannelCount
(
configInput
);
channelCount
=
configParameters
.
first
;
clockRate
=
configParameters
.
second
;
...
...
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