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
84c9d290
authored
Jan 17, 2022
by
OxygenCobalt
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix overwritten docs
67e1261f
messed up some of the other docs. Fix that.
parent
67e1261f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
16 deletions
docs/ad-insertion.md
docs/hls.md
docs/transforming-media.md
docs/troubleshooting.md
docs/ad-insertion.md
View file @
84c9d290
...
@@ -64,9 +64,9 @@ Internally, `DefaultMediaSourceFactory` will wrap the content media source in an
...
@@ -64,9 +64,9 @@ Internally, `DefaultMediaSourceFactory` will wrap the content media source in an
`AdsLoader.Provider`
and use it to insert ads as defined by the media item's ad
`AdsLoader.Provider`
and use it to insert ads as defined by the media item's ad
tag.
tag.
ExoPlayer's
`StyledPlayerView`
and
`PlayerView`
UI components both
ExoPlayer's
`StyledPlayerView`
and
`PlayerView`
UI components both
implement
implement
`AdViewProvider`
. The IMA extension provides an easy to use
`AdViewProvider`
. The IMA extension provides an easy to use
`AdsLoader`
, as
`AdsLoader`
, as
described below.
described below.
### Playlists with ads ###
### Playlists with ads ###
...
@@ -123,8 +123,8 @@ VAST/VMAP ad tags in the sample list.
...
@@ -123,8 +123,8 @@ VAST/VMAP ad tags in the sample list.
#### UI considerations ####
#### UI considerations ####
`StyledPlayerView`
and
`PlayerView`
hide controls during playback of ads
`StyledPlayerView`
and
`PlayerView`
hide controls during playback of ads
by
by
default, but apps can toggle this behavior by calling
default, but apps can toggle this behavior by calling
`setControllerHideDuringAds`
, which is defined on both views. The IMA SDK will
`setControllerHideDuringAds`
, which is defined on both views. The IMA SDK will
show additional views on top of the player while an ad is playing (e.g., a 'more
show additional views on top of the player while an ad is playing (e.g., a 'more
info' link and a skip button, if applicable).
info' link and a skip button, if applicable).
...
@@ -139,9 +139,9 @@ The IMA SDK may report whether ads are obscured by application provided views
...
@@ -139,9 +139,9 @@ The IMA SDK may report whether ads are obscured by application provided views
rendered on top of the player. Apps that need to overlay views that are
rendered on top of the player. Apps that need to overlay views that are
essential for controlling playback must register them with the IMA SDK so that
essential for controlling playback must register them with the IMA SDK so that
they can be omitted from viewability calculations. When using
`StyledPlayerView`
they can be omitted from viewability calculations. When using
`StyledPlayerView`
or
`PlayerView`
as the
`AdViewProvider`
, they will automatically register
or
`PlayerView`
as the
`AdViewProvider`
, they will automatically register
their
their control overlays. Apps that use a custom player UI must register overlay
control overlays. Apps that use a custom player UI must register overlay views
views
by returning them from
`AdViewProvider.getAdOverlayInfos`
.
by returning them from
`AdViewProvider.getAdOverlayInfos`
.
For more information about overlay views, see
For more information about overlay views, see
[
Open Measurement in the IMA SDK
][]
.
[
Open Measurement in the IMA SDK
][]
.
...
...
docs/hls.md
View file @
84c9d290
...
@@ -130,6 +130,7 @@ The following guidelines apply specifically for live streams:
...
@@ -130,6 +130,7 @@ The following guidelines apply specifically for live streams:
[
HlsMediaSource
]:
{{
site.exo_sdk }}/source/hls/HlsMediaSource.html
[
HlsMediaSource
]:
{{
site.exo_sdk }}/source/hls/HlsMediaSource.html
[
HTTP Live Streaming
]:
https://tools.ietf.org/html/rfc8216
[
HTTP Live Streaming
]:
https://tools.ietf.org/html/rfc8216
[
PlayerView
]:
{{
site.exo_sdk }}/ui/PlayerView.html
[
UI components
]:
{{
site.baseurl }}/ui-components.html
[
UI components
]:
{{
site.baseurl }}/ui-components.html
[
Customization page
]:
{{
site.baseurl }}/customization.html
[
Customization page
]:
{{
site.baseurl }}/customization.html
[
Medium post about HLS playback in ExoPlayer
]:
https://medium.com/google-exoplayer/hls-playback-in-exoplayer-a33959a47be7
[
Medium post about HLS playback in ExoPlayer
]:
https://medium.com/google-exoplayer/hls-playback-in-exoplayer-a33959a47be7
docs/transforming-media.md
View file @
84c9d290
...
@@ -34,7 +34,7 @@ transformation that removes the audio track from the input:
...
@@ -34,7 +34,7 @@ transformation that removes the audio track from the input:
Transformer transformer =
Transformer transformer =
new Transformer.Builder(context)
new Transformer.Builder(context)
.setRemoveAudio(true)
.setRemoveAudio(true)
.
add
Listener(transformerListener)
.
set
Listener(transformerListener)
.build();
.build();
// Start the transformation.
// Start the transformation.
transformer.startTransformation(inputMediaItem, outputPath);
transformer.startTransformation(inputMediaItem, outputPath);
...
@@ -121,7 +121,7 @@ method.
...
@@ -121,7 +121,7 @@ method.
Transformer transformer =
Transformer transformer =
new Transformer.Builder(context)
new Transformer.Builder(context)
.setFlattenForSlowMotion(true)
.setFlattenForSlowMotion(true)
.
add
Listener(transformerListener)
.
set
Listener(transformerListener)
.build();
.build();
transformer.startTransformation(inputMediaItem, outputPath);
transformer.startTransformation(inputMediaItem, outputPath);
~~~
~~~
...
...
docs/troubleshooting.md
View file @
84c9d290
...
@@ -6,7 +6,7 @@ redirect_from:
...
@@ -6,7 +6,7 @@ redirect_from:
---
---
*
[
Fixing "Cleartext HTTP traffic not permitted" errors
][]
*
[
Fixing "Cleartext HTTP traffic not permitted" errors
][]
*
[
Fixing "SSLHandshakeException"
, "CertPathValidatorException" and "ERR_CERT_AUTHORITY_INVALID
" errors
][]
*
[
Fixing "SSLHandshakeException"
and "CertPathValidatorException
" errors
][]
*
[
Why are some media files not seekable?
][]
*
[
Why are some media files not seekable?
][]
*
[
Why is seeking inaccurate in some MP3 files?
][]
*
[
Why is seeking inaccurate in some MP3 files?
][]
*
[
Why do some MPEG-TS files fail to play?
][]
*
[
Why do some MPEG-TS files fail to play?
][]
...
@@ -43,11 +43,11 @@ The ExoPlayer demo app uses the default Network Security Configuration, and so
...
@@ -43,11 +43,11 @@ The ExoPlayer demo app uses the default Network Security Configuration, and so
does not allow cleartext HTTP traffic. You can enable it using the instructions
does not allow cleartext HTTP traffic. You can enable it using the instructions
above.
above.
#### Fixing "SSLHandshakeException"
, "CertPathValidatorException" and "ERR_CERT_AUTHORITY_INVALID
" errors ####
#### Fixing "SSLHandshakeException"
and "CertPathValidatorException
" errors ####
`SSLHandshakeException`
,
`CertPathValidatorException`
and
`SSLHandshakeException`
and
`CertPathValidatorException`
both indicate a problem
`ERR_CERT_AUTHORITY_INVALID`
all indicate a problem with the server's SSL
with the server's SSL certificate. These errors are not ExoPlayer specific.
certificate. These errors are not ExoPlayer specific.
Please see
Please see
[
Android's SSL documentation
](
https://developer.android.com/training/articles/security-ssl#CommonProblems
)
[
Android's SSL documentation
](
https://developer.android.com/training/articles/security-ssl#CommonProblems
)
for more details.
for more details.
...
@@ -294,7 +294,7 @@ Android Player API](https://developers.google.com/youtube/android/player/) which
...
@@ -294,7 +294,7 @@ Android Player API](https://developers.google.com/youtube/android/player/) which
is the official way to play YouTube videos on Android.
is the official way to play YouTube videos on Android.
[
Fixing "Cleartext HTTP traffic not permitted" errors
]:
#fixing-cleartext-http-traffic-not-permitted-errors
[
Fixing "Cleartext HTTP traffic not permitted" errors
]:
#fixing-cleartext-http-traffic-not-permitted-errors
[
Fixing "SSLHandshakeException"
, "CertPathValidatorException" and "ERR_CERT_AUTHORITY_INVALID" errors
]:
#fixing-sslhandshakeexception-certpathvalidatorexception-and-err_cert_authority_invalid
-errors
[
Fixing "SSLHandshakeException"
and "CertPathValidatorException" errors
]:
#fixing-sslhandshakeexception-and-certpathvalidatorexception
-errors
[
What formats does ExoPlayer support?
]:
#what-formats-does-exoplayer-support
[
What formats does ExoPlayer support?
]:
#what-formats-does-exoplayer-support
[
Why are some media files not seekable?
]:
#why-are-some-media-files-not-seekable
[
Why are some media files not seekable?
]:
#why-are-some-media-files-not-seekable
[
Why is seeking inaccurate in some MP3 files?
]:
#why-is-seeking-inaccurate-in-some-mp3-files
[
Why is seeking inaccurate in some MP3 files?
]:
#why-is-seeking-inaccurate-in-some-mp3-files
...
...
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