|
| | FDirectCameraMediaPlayer (IMediaEventSink &InEventSink) |
| virtual | ~FDirectCameraMediaPlayer () |
| virtual void | OnImageAvailable (DirectCameraImage image) |
| virtual void | Close () override |
| virtual bool | Open (const FString &Url, const IMediaOptions *Options) override |
| virtual void | TickInput (FTimespan DeltaTime, FTimespan Timecode) override |
| virtual FGuid | GetPlayerPluginGUID () const override |
| virtual IMediaSamples & | GetSamples () override |
| virtual FTimespan | GetDuration () const override |
| virtual FTimespan | GetTime () const override |
| bool | GetPlayerFeatureFlag (EFeatureFlag flag) const |
| virtual bool | IsLooping () const override |
| virtual bool | SetLooping (bool Looping) override |
| virtual bool | GetAudioTrackFormat (int32 TrackIndex, int32 FormatIndex, FMediaAudioTrackFormat &OutFormat) const |
| virtual bool | Open (const TSharedRef< FArchive, ESPMode::ThreadSafe > &Archive, const FString &OriginalUrl, const IMediaOptions *Options) |
| virtual FString | GetUrl () const override |
| virtual IMediaTracks & | GetTracks () |
| virtual IMediaView & | GetView () override |
| virtual IMediaControls & | GetControls () override |
| virtual FString | GetTrackName (EMediaTrackType TrackType, int32 TrackIndex) const override |
| virtual FString | GetStats () const override |
| virtual FString | GetInfo () const override |
| virtual IMediaCache & | GetCache () |
| virtual bool | Seek (const FTimespan &Time) override |
| virtual bool | SetRate (float Rate) override |
| virtual bool | CanControl (EMediaControl Control) const override |
| virtual TRangeSet< float > | GetSupportedRates (EMediaRateThinning Thinning) const override |
| virtual EMediaStatus | GetStatus () const override |
| virtual EMediaState | GetState () const override |
| virtual float | GetRate () const override |
| virtual int32 | GetNumTracks (EMediaTrackType TrackType) const override |
| virtual int32 | GetSelectedTrack (EMediaTrackType TrackType) const override |
| virtual int32 | GetNumTrackFormats (EMediaTrackType TrackType, int32 TrackIndex) const override |
| virtual bool | GetVideoTrackFormat (int32 TrackIndex, int32 FormatIndex, FMediaVideoTrackFormat &OutFormat) const override |
| virtual bool | SetVideoTrackFrameRate (int32 TrackIndex, int32 FormatIndex, float FrameRate) override |
| virtual FText | GetTrackDisplayName (EMediaTrackType TrackType, int32 TrackIndex) const override |
| virtual int32 | GetTrackFormat (EMediaTrackType TrackType, int32 TrackIndex) const override |
| virtual FString | GetTrackLanguage (EMediaTrackType TrackType, int32 TrackIndex) const override |
| virtual bool | SelectTrack (EMediaTrackType TrackType, int32 TrackIndex) override |
| virtual bool | SetTrackFormat (EMediaTrackType TrackType, int32 TrackIndex, int32 FormatIndex) override |
| virtual bool | GetCameraSettings (DirectCameraCaptureSettings *settings) |
| virtual bool | SetCameraSettings (const DirectCameraCaptureSettings *settings) |
| UDirectCameraFrameBuffer * | CreateCaptureFrameBuffer (DirectCameraFrameType frameType, int width, int height) |
| bool | CaptureFrame (UDirectCameraFrameBuffer *FrameBuffer, const DirectCameraCaptureSettings *OverrideSettings) |
| bool | StopCapturing (UDirectCameraFrameBuffer *FrameBuffer) |
| bool | DestroyCaptureRequest (int32 CaptureID) |
This class implements the media player interface for DirectCamera on Android, so you can use it with the Unreal media framework. You can open a camera on an Unreal Media Player object either by using a URL like directcamera://t=back&w=1920&h=1080&fps=30 or by using UCameraCaptureSettingsLibrary::OpenDirectCamera, which is exposed in blueprints as Open Direct Camera.
You should never need to create or use this class directly, unless you are reimplementing media handling things done by Unreal for some reason.