1. 08 Nov, 2021 4 commits
  2. 27 Oct, 2021 12 commits
  3. 26 Oct, 2021 7 commits
  4. 25 Oct, 2021 14 commits
    • Move NAL unit utils to extractor module · 23b46d2e
      PiperOrigin-RevId: 405473686
      olly committed
    • Remove dependency from opus module to extractor module · 101b94f8
      PiperOrigin-RevId: 405429757
      olly committed
    • Fix TrackSelectionOverrides imports · 2ab7f28e
      PiperOrigin-RevId: 405408606
      olly committed
    • Update import scrubbing · 922e5082
      PiperOrigin-RevId: 405396600
      andrewlewis committed
    • Update package name · 4a8f2fc7
      PiperOrigin-RevId: 405394994
      andrewlewis committed
    • Remove jcenter() dependency · 647d69b9
      PiperOrigin-RevId: 405391455
      olly committed
    • Change MediaMetadata update priority to favour MediaItem values. · cd6c2e98
      The static and dynamic metadata now build up in a list, such that when
      the MediaMetadata is built, they are applied in an event order. This
      means that newer/fresher values will overwrite older ones. The MediaItem
      values are then applied at the end, as they take priority over any other.
      
      #minor-release
      
      PiperOrigin-RevId: 405383177
      samrobinson committed
    • Register newly split modules · 2b97455a
      PiperOrigin-RevId: 405379511
      olly committed
    • Rm stray blank line · 988a55db
      PiperOrigin-RevId: 405377964
      olly committed
    • Upgrade RTMP dependency and remove jcenter() · 2dc7ac38
      PiperOrigin-RevId: 405375352
      olly committed
    • Allow output audio MIME type to be set in TranscodingTransformer. · a42d9f36
      This introduces a new option `setAudioMimeType` in `TranscodingTransformer.Builder` and a corresponding check whether the selected type is supported. This check is done using `supportsSampleMimeType` which is now part of the `Muxer.Factory` and `MuxerWrapper` rather than `Muxer`.
      A new field `audioMimeType` is added to `Transformation` and the `TransformerAudioRenderer` uses this instead of the input MIME type if requested.
      
      PiperOrigin-RevId: 405367817
      olly committed
    • Transformer: avoid retrieving the video decoded bytes · 17d2f5a0
      Decoded video frames can be large and there is no need to retrieve the
      corresponding ByteBuffer as we render the decoded frames on a surface
      for better performance.
      
      PiperOrigin-RevId: 405364950
      kimvde committed
    • Encapsulate TrackSelectionOverrides in its own class · 1f3f22a7
      The current API exposes an `ImmutableMap` of
      `TrackGroup` -> `TrackSelectionOverride`.
      This has several disadvantages:
       - A difficult to use API for mutation
         (`ImmutableMap.Builder` doesn't support key removal).
       - There is no track selection specific methods,
         how the generic map API mapps to the selection override is not complex
         but to obvious for a casual reader.
       - The internal data type is exposed, making internal refactor difficult.
      
      This was done to have the API ready as quick as possible.
      
      When transitioning the clients to the map API in <unknown commit>,
      it became clear that the map API was too verbose and not mapping
      to the clients needs, so utility methods
      were added to make operations clearer and more concise.
      
      Nevertheless, having to use utility method to use easily and correctly
      an API is not the sign of a good API.
      
      This cl refactors the track selection API for several improvements:
      
       - Add a type `TrackSelectionParameters` that encapsulate the internal
         data structure (map currently).
       - For iteration, expose as a list.
       - Add a `Builder` for easy mutable operations.
       - Add track selection specific methods to avoid having utilities functions.
       - Those operations are the same as `DefaultTrackSelector.Parameters`
         for easier migration. (`setOverride` was renamed to `addOverride`)
       - Move `TrackSelection` classes outside of `TrackSelectionParameters`
         as their own top level classes.
      
      The migration of the client code is straightforward as most of it
      were already using the previously mentioned utility functions
      that are now native methods.
      
      The full migration has not been done yet, and is pending on this cl approval.
      
      PiperOrigin-RevId: 405362719
      krocard committed
    • Add datasource module · 2ee72076
      PiperOrigin-RevId: 404897119
      olly committed
  5. 21 Oct, 2021 3 commits