Part of aligning HttpDataSource behavior will require adding logic that's common across the DataSource implementations. This change establishes a util class to house it, and moves a bit of existing logic that's related and can be easily shared into it. There is one small behavior change in this CL, which is that our handling of Content-Range response headers can now parse the body length if the "document size" part of the Content-Range is unknown, for example "bytes 5-9/*". Previously the pattern we were matching to required the "size" part to be set, for example "bytes 5-9/100", despite the fact we don't need or use it. PiperOrigin-RevId: 362396976
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| audio | Loading commit data... | |
| decoder | Loading commit data... | |
| device | Loading commit data... | |
| drm | Loading commit data... | |
| metadata | Loading commit data... | |
| offline | Loading commit data... | |
| source | Loading commit data... | |
| text | Loading commit data... | |
| trackselection | Loading commit data... | |
| upstream | Loading commit data... | |
| util | Loading commit data... | |
| video | Loading commit data... | |
| BasePlayer.java | Loading commit data... | |
| Bundleable.java | Loading commit data... | |
| C.java | Loading commit data... | |
| ControlDispatcher.java | Loading commit data... | |
| DefaultControlDispatcher.java | Loading commit data... | |
| ExoPlaybackException.java | Loading commit data... | |
| ExoPlayerLibraryInfo.java | Loading commit data... | |
| Format.java | Loading commit data... | |
| IllegalSeekPositionException.java | Loading commit data... | |
| MediaItem.java | Loading commit data... | |
| MediaMetadata.java | Loading commit data... | |
| ParserException.java | Loading commit data... | |
| PlaybackParameters.java | Loading commit data... | |
| PlaybackPreparer.java | Loading commit data... | |
| Player.java | Loading commit data... | |
| Timeline.java | Loading commit data... | |
| package-info.java | Loading commit data... |