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
1309b26e
authored
Jul 08, 2021
by
kimvde
Committed by
kim-vde
Jul 09, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Add support for MP4 H263 atom type
#minor-release Issue:#9158 PiperOrigin-RevId: 383660258
parent
20d67eb3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
RELEASENOTES.md
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/Atom.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/AtomParsers.java
RELEASENOTES.md
View file @
1309b26e
...
@@ -95,6 +95,8 @@
...
@@ -95,6 +95,8 @@
is malformed and should be re-encoded.
is malformed and should be re-encoded.
*
Improve support for truncated Ogg streams
*
Improve support for truncated Ogg streams
(
[
#7608
](
https://github.com/google/ExoPlayer/issues/7608
)
).
(
[
#7608
](
https://github.com/google/ExoPlayer/issues/7608
)
).
*
Add support for MP4 H263 atom type
(
[
#9158
](
https://github.com/google/ExoPlayer/issues/9158
)
).
*
HLS:
*
HLS:
*
Fix issue where playback of a live event could become stuck rather than
*
Fix issue where playback of a live event could become stuck rather than
transitioning to
`STATE_ENDED`
when the event ends
transitioning to
`STATE_ENDED`
when the event ends
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/Atom.java
View file @
1309b26e
...
@@ -99,6 +99,8 @@ import java.util.List;
...
@@ -99,6 +99,8 @@ import java.util.List;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
@SuppressWarnings
(
"ConstantCaseForConstants"
)
public
static
final
int
TYPE_s263
=
0x73323633
;
public
static
final
int
TYPE_s263
=
0x73323633
;
public
static
final
int
TYPE_H263
=
0x48323633
;
@SuppressWarnings
(
"ConstantCaseForConstants"
)
@SuppressWarnings
(
"ConstantCaseForConstants"
)
public
static
final
int
TYPE_d263
=
0x64323633
;
public
static
final
int
TYPE_d263
=
0x64323633
;
...
...
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/AtomParsers.java
View file @
1309b26e
...
@@ -938,6 +938,7 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
...
@@ -938,6 +938,7 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
||
childAtomType
==
Atom
.
TYPE_hvc1
||
childAtomType
==
Atom
.
TYPE_hvc1
||
childAtomType
==
Atom
.
TYPE_hev1
||
childAtomType
==
Atom
.
TYPE_hev1
||
childAtomType
==
Atom
.
TYPE_s263
||
childAtomType
==
Atom
.
TYPE_s263
||
childAtomType
==
Atom
.
TYPE_H263
||
childAtomType
==
Atom
.
TYPE_vp08
||
childAtomType
==
Atom
.
TYPE_vp08
||
childAtomType
==
Atom
.
TYPE_vp09
||
childAtomType
==
Atom
.
TYPE_vp09
||
childAtomType
==
Atom
.
TYPE_av01
||
childAtomType
==
Atom
.
TYPE_av01
...
@@ -1100,6 +1101,8 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
...
@@ -1100,6 +1101,8 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
@Nullable
String
mimeType
=
null
;
@Nullable
String
mimeType
=
null
;
if
(
atomType
==
Atom
.
TYPE_m1v_
)
{
if
(
atomType
==
Atom
.
TYPE_m1v_
)
{
mimeType
=
MimeTypes
.
VIDEO_MPEG
;
mimeType
=
MimeTypes
.
VIDEO_MPEG
;
}
else
if
(
atomType
==
Atom
.
TYPE_H263
)
{
mimeType
=
MimeTypes
.
VIDEO_H263
;
}
}
@Nullable
List
<
byte
[]>
initializationData
=
null
;
@Nullable
List
<
byte
[]>
initializationData
=
null
;
...
...
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