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
2c2197d1
authored
May 20, 2021
by
aquilescanta
Committed by
Oliver Woodman
May 21, 2021
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Assign ERROR_CODE_IO_BAD_HTTP_STATUS to InvalidResponseCodeException
PiperOrigin-RevId: 374885599
parent
23d4efad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImplInternal.java
library/core/src/main/java/com/google/android/exoplayer2/ExoPlayerImplInternal.java
View file @
2c2197d1
...
...
@@ -46,6 +46,7 @@ import com.google.android.exoplayer2.trackselection.ExoTrackSelection;
import
com.google.android.exoplayer2.trackselection.TrackSelector
;
import
com.google.android.exoplayer2.trackselection.TrackSelectorResult
;
import
com.google.android.exoplayer2.upstream.BandwidthMeter
;
import
com.google.android.exoplayer2.upstream.HttpDataSource
;
import
com.google.android.exoplayer2.util.Assertions
;
import
com.google.android.exoplayer2.util.Clock
;
import
com.google.android.exoplayer2.util.HandlerWrapper
;
...
...
@@ -571,6 +572,8 @@ import java.util.concurrent.atomic.AtomicBoolean;
stopInternal
(
/* forceResetRenderers= */
true
,
/* acknowledgeStop= */
false
);
playbackInfo
=
playbackInfo
.
copyWithPlaybackError
(
e
);
}
}
catch
(
HttpDataSource
.
InvalidResponseCodeException
e
)
{
handleIoException
(
e
,
PlaybackException
.
ERROR_CODE_IO_BAD_HTTP_STATUS
);
}
catch
(
BehindLiveWindowException
e
)
{
handleIoException
(
e
,
PlaybackException
.
ERROR_CODE_BEHIND_LIVE_WINDOW
);
}
catch
(
IOException
e
)
{
...
...
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