- 15 Jun, 2016 40 commits
-
-
- Event listener is now at the SampleSource level, since the individual ChunkTrackStream instances are created internally. - Event listener receives events corresponding to loads made at the SampleSource level (e.g. manifest fetches) in addition to those made by the ChunkTrackStream instances. - Added ability for FormatEvaluators to propagate arbitrary information (as an Object) through to the listeners. This was a request from YouTube. - Added significantly more information to each event, for example the DataSpec that defines the load being made is now passed, as is timing information. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124732984
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124724113
eguven committed -
DashTest will be migrated separately, since it's a little more work. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124722462
olly committed -
If the same instance is reset then rapidly re-enabling the renderer after disabling it can prevent an application from reading the final values at the time when the renderer was disabled. Hence we now instantiate a new CodecCounters each time. This is needed to migrate DashTest to V2. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124721106
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124713796
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124712775
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124705921
andrewlewis committed -
This is basically clone of [] for Exo V2. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124682237
sharjeel committed -
TextTrackRenderer would unconditionally flip input buffers read from its source TrackStream, but the data could be null in the case where the buffer signaled end of stream. Only flip if the corresponding flag is not set. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124559077
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124556278
eguven committed -
This allows better decoding support checking. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124550351
aquilescanta committed -
Things like manifests are loaded not in the context of a Chunk, but we want to eventually be reporting all loading events. So it makes senes to define data types at a global level. Also added {@code} in a few places for consistency. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124549737olly committed -
So dump files can be created easily. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124455709
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124446331
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124374161
tasnimsunny committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124357946
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124355441
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124346810
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124344637
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124335837
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124335597
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124333753
eguven committed -
These methods call read(...) method which may throw these exceptions. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124332828
eguven committed -
ExtractorInput.setRetryPosition(): Called when reading fails and the required retry position is different from the last position. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124242428
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124225444
olly committed -
DASH and SS manifests define potentially useful information that isn't present in the actual media streams. Primarily the representation id, but bitrate, fps and language may also be defined only at the manifest leve. This change merges the information into the sample format that's propagated to the renderers. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124225175
olly committed -
- Parse APIC and TextInformation frames. - In MPEG-TS, don't mind if packets contain end padding. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124079930
olly committed -
On older devices getCapabilitiesForType calls fail for some secondary codecs. We didn't used to call getCapabilitiesForType on secondary codecs, and so avoided this issue. This change suppresses any exceptions encountered when querying secondary decoders on API levels prior to N, to restore previous behavior when a failure occurs. Issue: #1534 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124010242
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123991352
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123982330
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123977520
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123976645
olly committed -
This allows the TrackRenderer superclass to do things when the renderer is reset, and makes resetting consistent with other 'events' on renderers. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123974633
andrewlewis committed -
The allocator and buffering policy (e.g. how large the buffer is) is moving to the top level as part of playlist support, so it no longer makes sense to inject these parameters as args into ExtractorSampleSource's constructor. Instantiating the allocator and buffer size inside of the source is temporary and only until they're moved up. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123968976
olly committed -
It is possible to add use of this feature in the demo app, restricting the selected tracks to the viewport size. But it should be added in a future CL. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123965232
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123964784
eguven committed -
The bug this cl fixes is basically an uncaught case of [] Issue: #1567 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123963779
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123958609
olly committed -
This removes "message sent on dead thread" warnings in nearly all cases, and guarantees delivery of load cancelation to event listeners. Issue: #426 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123957691
olly committed -
- The main goal of this change is to remove the need for discardSamplesForDisabledTracks() in continueBuffering in HlsTrackStreamWrapper and ExtractorSampleSource. As a result we'll also save one Allocation per disabled track. - Another benefit of this change is that Allocator.trim calls can no longer be dropped. This could previously happen on player release if the playback thread's Looper quit before delivery of onLoadCanceled which performed the trim in the case that a load needed to be canceled at the time of the release. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=123957434
olly committed
-