SDK documentation available here
The following files should be replaced:
EMP-10652 Player&ChromeCast: Update shaka to v2.2.6
EMP-10615 Player: The player needs to use liveTime instead of LastViewedTime for live bookmarking
EMP-10586 Player: Do not send buffering events before playback starts
EMP-10607 Player: Current Audio language is not playing on CC when start casting or stop casting
EMP-10540 Player: Don't disconnect Chromecast when dispose the EMP-Player EMP-10566 Player: New method on EMP-Player to disconnect Chromecast EMP-10531 Player: Start play from last view point for live streams EMP-10536 ChromeCast: Make shutdownWhenLastSenderDisconnect Configurable
EMP-10565 Player: Exception is thrown when call stop() on Chromecast tech EMP-10573 Player: Bookmarks for live are ignored for Flash
EMP-10431 HTML5 - Send the error to analytics instead of Message: Unknown Error.
EMP-10428 Autoplay is not always responsive with Firefox. EMP-10420 preventing to send analytics events in cached entitlements EMP-10403 selectTextTrack don't work for hls and flash tech. EMP-10382 HTML5 player using NativeHLS doesn't send bitrates. (Limitation: If video tracks have the same RESOLUTION, analytics report the highest bitrate)
EMP-10406 Add method selectAudioTrack() to player. Select bitrate manually for HLS unencrypted and with no subs or no multi audio tracks. Audio and text tracks behavior are consistent between techs.
Adding video.js css file and fonts to the npm package
Added missing airplay files to npm package. EMP-10314 Player: Error in Offset for HLS/FAIRPLAY
EMP-10251 Player: Airplay support in the HTML5 player when using Safari
EMP-10220 Player: unnmute is now working for shaka tech EMP-10290 Player: StartCasting event is only sent if there is a session id. EMP-10221 Reference Player: proper error handling (showing error message). EMP-10221 Player: stoping the chromecast playback now stops in the second sender. EMP-10294 Player: audio tracks are now being shown on all chromecast senders. EMP-10313 Player: Some live streams takes long time to start. EMP-10312 Player: HP2 stream stops at rundom, seems like retry is too short in Shaka.
EMP-10313 Player: Default liveDelay (20sec) in player has been removed, use suggestedPresentationDelay in mpd config instead.
Note Not compatible with shaka-player-emp: "2.0.2", It need 2.2.0-4 or later.
EMP-10238 Player: startTimeLive is now a UNIX time and not ISO date string EMP-10207 Player: HTML Player does not recover gracefully from network_http_error. EMP-10229 Player: HTML Player - Safari: possible cache issue on load asset, wrong value used.
EMP-8686 Player: Update Shaka player from v2.0.2 to v2.2.0 https://github.com/google/shaka-player/releases
Note Only compatible with shaka-player-emp: "2.0.2-28-g1ddf8e3" Cannot be used with later versions of npm-package of shaka-player-emp
EMP-10022 Player: HTML Player fetches all the segments in between (to se if they are available) on scrubbing.
EMP-10058 Player: fixed bug with inaccurate setAbsoluteTime EMP-10060 Player: fixed bug with from and to parameters not being right when fetching current program -> especially when loading a live stream a second/third... time on the same player object.
EMP-10038 Player: 'canPlayEncrypted' bug on Linux was fixed
EMP-10034 Reference: adding support for multi-factor authentication EMP-9420 Reference: adding support to anonymous login
EMP-9898 Reference: log out now send Playback.Aborted to analytics if there is ongoing playback. EMP-9886 Player: player does not get stuck anymore if user seeks when it is on a buffering state. EMP-9927 Player: fixing DRM error playing Shaka tech in Firefox EMP-9913 Player: options now are shared between techs when loading multiple assets EMP-9928 Player: taking back chromecast session with flash tech loaded does not crash anymore. EMP-9934 Player: fixed contract restrictions bug with chromecast sender
EMP-9934 Player: chromecast tech does not need to check for contract restrictions. Restrictions are enforced by the receiver.
EMP-9886 Player: HTML5 player gets unresponsive when stuck in a buffering state (when a segment is not available for instance). For VOD/Catchup, EMP-Player prefetch the segement at the seek point, if the segment is not there, seek is cancel. SEGMENT_MISSING event is raised, that can be used to inform the user that the streams is not ready for seeking yet.
EMP-5998 Player: adding support to multi-device session shifting - added boolean flag 'useLastViewedOffset' which flags the player if it should play from lastViewedOffset or from the beginning of the stream.
EMP-9719 Player: api now exposes 'startTimeLive' method that returns start time of the live stream (milliseconds since 1970/01/01)
EMP-9815 Player: sending live stream ReferenceTime to analytics (time of the beginning of the stream)
EMP-9868 Player: api now exposes 'getAbsoluteTime' method that returns the currenttime for a live stream as a datetime
EMP-9876 Player&Chromecast: Start play live stream from absolute datetime (milliseconds since 1970/01/01)
Dash stream used by Chromecast and HLS live stream used by mobile clients have different startTime and currentTime.
We have introduced absoluteStartTime options for timeshifted live streams, which is a universal way to set start time in order to enable casting a live stream at a specific start time (timeshifted).
IOS and Android Chromecast senders should use this options for timeshifted live streams when casting, othervise the playback will start from the live point and not from the timeshifted position. If the startTime is after the live edge, casting will start from live edge and if before the DASH stream startTime (which is dashed on demand), the casting will start from beginning of the stream. When taking back session, iOS and Android Chromecast senders can calculate the absoluteStartTime and start playback locally from that point.
EMP-9835 Player: errors coming from chromecast were not being shown on the html5 sender EMP-9811 Player: initial subs are now being shown when starting playback on Edge/IE EMP-9489 Player: not sending pause event to analytics if the player is not playing EMP-9634 Player: if fastforward seek point is bigger than duration, then the hls tech plays the last 5 seconds EMP-9867 Player: jump to live if sender tech is not Shaka and jump to live if sender tech is not Shaka when take back the session EMP-9738 Player: entitlement restriction is not in sync with restriction in flash object EMP-9877 Player: joining session after logout and login is now possible EMP-9881 Player: player now enters in an error state if it receives an error message from chromecast EMP-9913 Player: changed the logic of how options are handled internally (allowing consistent options when different techs are loaded in the lifetime of a player object)
EMP-5998 Player: adding support to multi-device session shifting
EMP-9819 Chromecast: chromecast reference app now shows the media metadata when in seeking/waiting state EMP-9823 Player: switching audio tracks is now working on chromecast
EMP-9773 Chromecast: setAbsoluteTime method was added EMP-9633 Player: passing analyticsConfig properties to analytics if they are returned in the entitlement
EMP-9766 Player: passing startTime properly to chromecast for live streams EMP-9747 Player: options.maxBitrate is now working
EMP-9639 Multiviewer: Add maxBitrate to channel settings EMP-9533 Player: Avoid Empty DRM Robustness
EMP-9631 Player: when shaka tech fails to load and flash fallback is triggered, flash analytics are no longer sent in previous shaka session.
EMP-9616 Player: changed retryParameters for segments (shaka tech)
EMP-9557 Chromecast: statusText is now a chromecast initialization option (e.g. options.statusText = 'My Chromecast App') EMP-9537 Chromecast: emp-player options can be set in emp-receiver-app.js
EMP-9565 Player: HLS tech is now displaying subtitles set in options. EMP-8931 Player: casting and clicking on cast icon before the casting starts no longer will interrupt casting. EMP-9518 Chromecast: buffering spinner is now being shown when seeking or buffering. EMP-9226 Analytics: if connection is lost after 1 minute, analytics are not sent after that. EMP-9405 Player: stopping previous playback if an error occurs while loading new media. EMP-9484 Analytics: stopping session no longer sends double playback.aborted analytics. EMP-9487 Player: if the last connected sender logs out, the playback stops on the receiver. EMP-9491 Player: fallback is now working with auto tech on safari. EMP-9344 Player: subs/audio controls properly refreshed after new asset load. EMP-9541 Player: player disconnects from ongoing chromecast session if player logs out (call dispose() method).
Widevine DRM is no longer supported in Chrome v58+ in HTTP (only HTTPS)
EMP-9432 Chromecast: empPlayer errors are now being propagated to the senders. EMP-9488 Player: removing [object Object] from analytics api call when an error occurs.
EMP-9427 Player: ProgramChanged should not be triggered for catchup
EMP-9399 Player: HTML Player doesn't work on Samsung Stock Browser
EMP-9214 Chromecast: showing resolution of the media being played EMP-8895 Player & Analytics: adding custom analytics option that are sent on Playback.Started event EMP-9314 Chromecast: Stop casting if last sender disconnect EMP-9278 Chromecast: Senders are notified on program changed
EMP-9401 Player: canPlayEncrypted() returns false on Safari / OS X EMP-9406 Chromecast: iOS error when casting catchup EMP-9225 Chromecast: error not shown when you play an asset several times in a row EMP-9229 Chromecast: fixed bug causing subitles not to be shown sometimes EMP-9309 Player: shaka tech triggers bitratechanged event when dash adaptation changes EMP-9275 SDK: Don't call stop before load an asset (stop is resource and time consuming task), Chromecast: Faster to cast an asset EMP-9328 Player: cleaned error message on the console: 'this.el_.duration' EMP-9346 Player: race condition fixed in canPlayEncrypted method
EMP-7438 Player: playback DRM support in browsers EMP-9096 Player: timeshift functionality for HLS tech Limitation for timeshift with HLS You can perform a 30 second rewind, but there is no way to navigate to the beginning of the media, the 'seekable' window is 30 second. Set video.currentime always jump within the 'seekable' window (30 sec). Pause working, continue at pause position. Jump to live point working.
EMP-8909 Player: saving assetId from last media sent to chromecast
EMP-8877 Player: enforce timeshift restrictions set by the backend EMP-6303 Player: pause button is replaced by stop button if timeshift is disabled EMP-8887 Player: if timeshift is disabled by the backend, the user is cannot enable it
EMP-9035 Player: FF, RW and SEEK functionalities on dynamic live EMP-9041 Player: fixed flash fallback in Safari EMP-8858 Player: fixed some controls that were not working when startTime > 0 EMP-8859 Player: fixed flash tech bug regarding startTime and bookmarks EMP-9048 Player: removed NPObject video.js error EMP-9043 Player: trackDuration is not a function console error removed EMP-9082 Player: removed console error in safari shaka (evaluating program.programId when loading live)
EMP-8698 Player: Refactoring session management for chromecast session with multi-senders
EMP-7550 Player: if an exception occurs when loading tech, check next tech instead of giving up EMP-8204 Player: ProgramService is properly cleaned up after media playback EMP-8925 Player: The playback does not stop if the program is "black out:ed" in Flash EMP-8819 Chromecast: onStop event in the receiver now completely stops playback session
EMP-8618 Player: chromecast sender now sends image, title and subtitle EMP-6024 Player: sending startTime as flashvar EMP-8626 Player: disconnect from the receiver app and stop it from running if idle for 5 minutes EMP-7327 Player: startTime option should be handled by the techs EMP-6024 Player: implement a startPlayer(int position) API in flash-player EMP-8618 Player: html5 sender: send metadata when casting asset: title, subtitle and image EMP-8630 Player: If timeShift is disabled, the user should not be able to pause the live stream EMP-8751 CC: Support for multi audio and subs with multi period streams (Ads) with Chromecast
EMP-8625 CC: Sender should not send pause and play after video has ended. EMP-8689 Player: instead of picture freeze, now playback stops when license expires EMP-8624 Player: fixed endless loop of tracksupdated notifications EMP-8689 Player: The playback does not stopp for black-out program - error message is shown but the playback continues EMP-8624 CC: Chromecast go into a endless loop of tracksupdated. EMP-8699 CC: Look over message names for Chromecast EMP-8752 CC: Remove too many duration-changed message broadcast from CC receiver
EMP-8557 Player: Handle MovieMediaMetadata on chromecast receiver that enables custom thumbnail for media EMP-8126 Player: Play VoD with multi audio using HLS/Fairplay media in the HTML5 player
EMP-8445 Player: Fairplay error - invalid media rights after the playback has finished EMP-8438 Analytics: Safari - Double analytics pb.PlayerReady/Started EMP-8568 Player: High prio clips bugfix after upgrading Shaka EMP-7460 Player: Shaka tech canplay event triggered twice EMP-8591 Player: Chromecast sender does not switch from live to vod timeline
EMP-7899 Casting takes long time to start and it plays on sender before casting EMP-7987 setAbsoluteTime(Date) method added to the HTML5 player EMP-8330 Recoverable error when playing several assets on chromecast EMP-8271 Cannot read property 'vdata1482315557759' of null EMP-8009 When casting, subtitle off always highlighted in sender subs menu EMP-8388 Null check missing for start time - causing problems for playback EMP-8389 Start over button missing in the ref player in Shaka EMP-8254 IE/EDGE Loading spinner (shaka tech) stays after scrubbing
EMP-8389 MDN integration EMP-7873 HTML5 HLS Fairplay playback for VOD