- 18 Dec, 2019 4 commits
-
-
This is in preparation for adding an internal-only change near these lines. PiperOrigin-RevId: 285403671
andrewlewis committed -
These are not useful for estimating the network speed and should be ignored. PiperOrigin-RevId: 285400948
tonihei committed -
The DedicatedThreadAsyncMediaCodecAdapter is an asynchronous MediaCodecAdapter that routes callback to a separate Thread. PiperOrigin-RevId: 285397368
christosts committed -
This may happen for example when trying to load unfinished live media chunks that can only be loaded at real-time playback speed. The flag can be used by the sources to indicate that network transfer will knowingly be throttled, such that transfer listeners like the bandwidth meter can take this information into account. PiperOrigin-RevId: 285397100
tonihei committed
-
- 13 Dec, 2019 12 commits
-
-
Also change IcyInfo.rawMetatadata from String to byte[] ICY doesn't specify the character encoding, and there are streams not using UTF-8 (issue:#6753). It seems the default of at least one server is ISO-8859-1 so let's support that as a fallback: https://github.com/savonet/liquidsoap/issues/411#issuecomment-288759200 Also update IcyDecoder to skip strings it doesn't recognise at all instead of decoding invalid characters. The feed from issue:#6753 now decodes accents correctly: EventLogger: ICY: title="D Pai - Le temps de la rentrée", url="null" PiperOrigin-RevId: 285388522
ibaker committed -
This is a useful test to see if it works well in a real situation. PiperOrigin-RevId: 285386471
ibaker committed -
We previously used Locale.fromLanguageTag and then toLanguageTag to automatically filter out invalid tags and to replace deprecated tags. However, this only works for API 21+. This change does no longer rely on the platform methods and instead: 1. Keeps invalid tags as they are. This may help if developers rely on non-spec-complaint language tags (for example, #6681). 2. Adds a list of deprcated tags and their modern replacements to our code 3. Normalizes some short codes that have been superseded by macrolanguage codes by their macrolanguage equivalent. Issue:#6681 PiperOrigin-RevId: 285384841tonihei committed -
Document that limit() is respected, but position() and arrayOffset() are assumed to be zero. PiperOrigin-RevId: 285384613
ibaker committed -
This has been broken since https://github.com/google/ExoPlayer/commit/c3d6be3afdd7c0ca68dba15e443bc64aa3f61073 and broken for ICY (where I noticed the problem) since https://github.com/google/ExoPlayer/commit/5695bae9d8fde5e156fd38fa552e266c5611c71f. ICY symptom is that we see no repeated metadata, because the Icy-MetaData:1 header doesn't make it to the server so we never get back icy-metaint. PiperOrigin-RevId: 285379234
ibaker committed -
The presentationTimeOffsetMs may be C.TIME_UNSET for VOD content and shouldn't be used in calculations for the windowStartTime. PiperOrigin-RevId: 285363095
tonihei committed -
Retrieve the sample number in the extractor instead of passing a holder to FlacBinarySearchSeeker. This change makes the code easier to understand and is required to implement the seeking from the seek table. PiperOrigin-RevId: 285241862
kimvde committed -
- Create PcmOutputWriter for PCM. - In a future change an ImaAdPcmOutputWriter will be introduced for IMA ADPCM support. PiperOrigin-RevId: 285238246
olly committed -
- WavHeader is now immutable and contains only values parsed out of the WAVE FMT chunk. It no longer contains a C.PcmEncoding encoding, or mutable data bounds. - WavHeaderReader now parses the WAVE header chunks without any additional logic (e.g. validating the block alignment value, which is format type dependent). - The SeekMap part of WavHeader is split out into WavSeekMap. PiperOrigin-RevId: 285232498
olly committed -
This returns the current offset to the live edge. The calculation is non-intuitive enough to provide this convenience method. PiperOrigin-RevId: 285171090
tonihei committed -
This was verified as a no-op change in a prod experiment. PiperOrigin-RevId: 285167972
olly committed -
This avoids needing to jump through type paremeter hoops to create a sub-classable Cue.Builder. Cue should have a standard set of fields, because it will be consumed by renderers that don't know what type it is. The existing subclass fields are only used inside their respective packages, so can be part of a wrapper object instead. This lays the groundwork for converting Cue's multiple constructors into a Builder pattern. PiperOrigin-RevId: 284992135
ibaker committed
-
- 11 Dec, 2019 22 commits
-
-
Oliver Woodman committed
-
r2.11.0
Oliver Woodman committed -
Oliver Woodman committed
-
Change FakeAdaptiveMediaPeriod back to this style for consistency. PiperOrigin-RevId: 284967667
olly committed -
Remove all generic arrays from this class. FakeAdaptiveMediaPeriod.java:171: warning: [rawtypes] found raw type: ChunkSampleStream return new ChunkSampleStream[length]; ^ missing type arguments for generic class ChunkSampleStream<T> where T is a type-variable: T extends ChunkSource declared in class ChunkSampleStream PiperOrigin-RevId: 284761750ibaker committed -
Keyframe was rendered rather than skipped when performing an exact seek to a non-zero position close to the start of the stream. PiperOrigin-RevId: 284798460
samrobinson committed -
PiperOrigin-RevId: 284792946
christosts committed -
Change FakeAdaptiveMediaPeriod back to this style for consistency. PiperOrigin-RevId: 284967667
olly committed -
PiperOrigin-RevId: 284965120
ibaker committed -
PiperOrigin-RevId: 284961417
olly committed -
PiperOrigin-RevId: 284952647
kimvde committed -
PiperOrigin-RevId: 284951651
samrobinson committed -
ImaAdsLoader relies on preloading being enabled (it doesn't work without it) so we may as well remove the constant to avoid potential confusion. PiperOrigin-RevId: 284951356
andrewlewis committed -
PiperOrigin-RevId: 284814594
kimvde committed -
Keyframe was rendered rather than skipped when performing an exact seek to a non-zero position close to the start of the stream. PiperOrigin-RevId: 284798460
samrobinson committed -
PiperOrigin-RevId: 284792946
christosts committed -
PiperOrigin-RevId: 284787807
olly committed -
This will be used in subtitle decoding tests I followed this guide: https://truth.dev/extension.html PiperOrigin-RevId: 284787298
ibaker committed -
PiperOrigin-RevId: 284776943
ibaker committed -
PiperOrigin-RevId: 284776790
ibaker committed -
PiperOrigin-RevId: 284771928
olly committed -
Remove all generic arrays from this class. FakeAdaptiveMediaPeriod.java:171: warning: [rawtypes] found raw type: ChunkSampleStream return new ChunkSampleStream[length]; ^ missing type arguments for generic class ChunkSampleStream<T> where T is a type-variable: T extends ChunkSource declared in class ChunkSampleStream PiperOrigin-RevId: 284761750ibaker committed
-
- 10 Dec, 2019 2 commits