Commit Graph

12 Commits

Author SHA1 Message Date
Max Preussner
5e7a0d565a Media: Added support for tracks changing during playback or asynchronously after opening media
[CL 2603263 by Max Preussner in Main branch]
2015-06-27 09:08:05 -04:00
Max Preussner
dbfec7de75 Media: Refactored IMediaPlayer.Open to take an FArchive instead of byte array; removed pre-caching of media into memory
#UpgradeNotes: This is an API breaking change. If you implemented a plug-in for the Media Framework then you have to update your media player's Open() method to match the new signature. Take a look at the changes in the WmfMedia plug-in to see the differences between loading from a buffer and an archive.

[CL 2603213 by Max Preussner in Main branch]
2015-06-26 21:42:39 -04:00
Max Preussner
ecf866c330 Media: Buffer parameter in IMediaPlayer::Open is now thread-safe
#UpgradeNotes: If you implement the IMediaPlayer interface, make sure to update the function signature of the Open() method.

[CL 2595884 by Max Preussner in Main branch]
2015-06-22 14:51:17 -04:00
Ben Marsh
cbf8b979ed First pass on tidying up all the plugin categories. Reduced everything to a single-level hierarchy, and attempt to group things by broad categories rather than implementation details.
[CL 2521430 by Ben Marsh in Main branch]
2015-04-22 14:40:16 -04:00
Max Preussner
5188655a35 Media: Removed unused dependencies from player plug-ins
[CL 2475305 by Max Preussner in Main branch]
2015-03-11 13:02:04 -04:00
Max Preussner
5b5c04d01d Media: Removed deprecated file Media.h
[CL 2473065 by Max Preussner in Main branch]
2015-03-09 17:20:45 -04:00
Max Preussner
643ba3cea8 Media: Added support for extension-less streaming media URI schemes by removing assumptions about media URL formats
#UpgradeNotes
- IMediaModule::GetSupportedFormats() has been renamed to IMediaModule::GetSupportedFileTypes()
- FMediaFormats has been renamed to FMediaFileTypes
- IMediaPlayerFactory::GetSupportedFormats() has been renamed to IMediaPlayerFactory::GetSupportedFileTypes()
- IMediaPlayerFactory::SupportsFile() has been replaced with IMediaPlayerFactory::SupportsUrl(), which must now be implemented by media plug-ins

[CL 2466800 by Max Preussner in Main branch]
2015-03-02 15:37:53 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Marc Audy
a78c7b0377 Replace deprecated OVERRIDE with override
[CL 2376065 by Marc Audy in Main branch]
2014-12-04 10:46:04 -05:00
Chris Babcock
7693375ed4 Close movie between queued movies and stop before reset to prevent possible runtime exception. Disable audio for media player plugin.
#android
#ue4
#codereview Josh.Adams,Rene.Rivera

[CL 2370349 by Chris Babcock in Main branch]
2014-11-25 18:01:58 -05:00
Rene Rivera
fafd9abca8 Refactor media player to use common Java binding.
[CL 2366458 by Rene Rivera in Main branch]
2014-11-20 13:01:32 -05:00
Rene Rivera
ffde9aa6b7 [UE-4398] Implement Android Media plugin, for API 14 an onwards, and packaging changes to support it. Changes include:
Fixed JavaVM so it is automatically detached from a thread when thread exits (stops VM crash on thread exit ever happening)
Move JavaVM access into the application code.
Add utility Java call-in class to make it easier to use Java objects from C++ side.
Implement GetSystemErrorMessage to aid in debugging.
Expose some internal Android EGL data for use in plugins (i.e. the movie plugin).
Add access to Java AssetManager object.
Change Android OBBs from plain PAKs to uncompressed ZIPs of the staged content to allow both multiple PAKs and to allow non-PAK content. In particular this allow movies to be in the OBB as they need to be directly accessed.

#codereview Josh.Adams, Chris.Babcock

[CL 2362008 by Rene Rivera in Main branch]
2014-11-17 11:31:49 -05:00