Skip to content

Releases: veeplay/android-media-player

1.9.9

04 Dec 15:56
Compare
Choose a tag to compare
  • Added a metadata field (HashMap<String, Object>) for APSVastAdbreak object (should be constructed before usage). If used, it will add any keys set to the metadata of each APSMediaUnit generated by the adbreak object
  • APSMediaPlayer._overlaysDisplayed is now a public field
  • Unit metadata keys now contain integers exclusively for determining the offset. The values for prerolls and postrolls are static (0 and Integer.MAX_VALUE)

1.9.8

02 Dec 11:38
Compare
Choose a tag to compare
  • Modified the onTrackingReceived header, it now only accepts two parameters: MediaEventType type and Bundle additionalInfo. The additionalInfo bundle contains by default the old parameters received by onTrackingReceived, on the "urls" and "description" keys.
  • Added the CLOCK_TICK event, an event that is fired every second the player is active.
  • Added two keys to the additionalInfo Bundle for the CLOCK_TICK event: "position" and "duration", containing two integers (the current position in seconds, and the current content duration, in milliseconds)
  • Added two events for detecting user interaction for pausing and resuming playback. The two events are USER_PAUSE and USER_UNPAUSE and are triggered by interacting with the pause button in the controls overlay
  • Fixed detecting the content position an adbreak has started at. Each ad content unit contains a metadata key called "aps_vast_adbreak_offset" that holds the offset the ad break has actually started at.

1.9.7

01 Dec 14:21
Compare
Choose a tag to compare
  • Bugfix for statically positioned midrolls
  • Bugfix for detecting playback state after seek (the player always returned false)

1.9.6

01 Dec 08:07
Compare
Choose a tag to compare
  • Bugfix for a crash during player finish
  • Bugfix for midrolls, where the user would be returned at the initial preload time of the adbreak, instead of the actual playback time the ad break had started.
  • Added seek handling support: by default, the player will only play the last scheduled adbreak, when seeking. This can be configured via the APSMediaUnit#seekHandling field, or using the JSON configuration, on the content unit: "seekAdHandling": "last" (/first/all)
  • Added automatic ad breaks positioning: a minimum initial offset, minimum final offset and minimum interval between ad-breaks can be set (all default to 300 seconds). Ad breaks that are not configured with an offset will be automatically scheduled based on these three parameters.
  • Added the FORWARD event, for detecting forward seeks
  • The SurfaceView is now secure, by default, on devices with API level > 17. This behaviour can be changed by calling APSMediaPlayer#setSecureSurfaceView(false) before initializing the player.

1.9.5

20 Nov 12:40
Compare
Choose a tag to compare
  • Added unit and overlay metadata keys for current adbreak offset
  • Unit metadata is now copied for unit clones

1.9.4

19 Nov 09:51
Compare
Choose a tag to compare
  • Added a bugfix preventing seeking past the end of a video unit
  • Added the PLAYLIST_FINISHED trackable event for detecting the end of the playback of the last unit in the playlist

1.9.3

16 Nov 15:03
Compare
Choose a tag to compare
  • Re-implemented full-screen mode toggling
  • Bug fixes for text and skip overlays
  • Bugfixes affecting multiple ads in an adbreak

1.9.2

20 Oct 16:11
Compare
Choose a tag to compare

Addressing a bug when toggling full screen mode

1.9.1

14 Oct 08:24
Compare
Choose a tag to compare

Added a more detailed error message for invalid licenses.

1.9.0

13 Oct 10:08
Compare
Choose a tag to compare
  • Units, Overlays and AdBreaks are now APSMediaEvents instances. This allows just-in-time VAST/VMAP feed retrieval, as well as banner preloading on Image overlays
  • APSMediaBuilder#mediaUnits and APSMediaPlayer#playMediaUnits now accept ArrayList
  • APSMediaUnit, APSMediaOverlay and APSVastAdBreak are now members of the com.appscend.media.events package
  • APSMediaEvents has ben renamed to APSMediaTrackingEvents