This is a new API that allows for bypassing the slow CPU-copied deferred updates of media textures by writing directly into RHI texture resources. MarcusW already implemented it for PS4; we should implement it for the remaining player plug-ins as well. I added placeholders that you can fill in as needed. When all plug-ins are updated, I will switch UMediaTexture to always use the fast path.
#CodeReview: chris.babcock, michael.trepka
[CL 2624561 by Max Preussner in Main branch]
This is an API breaking change. IMediaTrack has been renamed to IMediaStream. There are three new interfaces for tracks: IMediaAudioTrack, IMediaCaptionTrack and IMediaVideoTrack.
#CodeReview: chris.babcock, marcus.wassmer
[CL 2622306 by Max Preussner in Main branch]
#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]
#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]
#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]
#UpgradeNotes:
- Instead of including Media.h, please include the interface header files that you actually use, i.e. IMediaPlayer.h and/or IMediaTrack.h
[CL 2341697 by Max Preussner in Main branch]
- slightly changed MediaAsset API for Play, Pause and SetRate
- exposed MediaAssets as BP variables
- better logic for MediaAsset toolbar buttons
[CL 2263370 by Max Preussner in Main branch]