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
28c5043d
authored
Feb 18, 2020
by
Pierre-Hugues Husson
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Comment SectionPassthrough
parent
79bc1603
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/DefaultTsPayloadReaderFactory.java
library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/DefaultTsPayloadReaderFactory.java
View file @
28c5043d
...
@@ -190,6 +190,15 @@ public final class DefaultTsPayloadReaderFactory implements TsPayloadReader.Fact
...
@@ -190,6 +190,15 @@ public final class DefaultTsPayloadReaderFactory implements TsPayloadReader.Fact
}
}
}
}
/*
* This is a special Section Reader that blindly forwards the sections to the decoder
* There are many simple DVB-SI features that have their own dedicated track, and thus doesn't need
* additional pre-processing before actual decoding.
* Examples of such simple packets:
* - TDT/TOT (current time)
* - EIT (Name of the current and future programs)
* - AIT (used for interactive web browser on top of the broadcast)
*/
public
class
SectionPassthrough
implements
SectionPayloadReader
{
public
class
SectionPassthrough
implements
SectionPayloadReader
{
private
TimestampAdjuster
timestampAdjuster
=
null
;
private
TimestampAdjuster
timestampAdjuster
=
null
;
private
final
String
mimeType
;
private
final
String
mimeType
;
...
...
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