You.i Engine
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
7 class CYIExoPlayerVideoPlayerPriv;
8 class CYIString;
19 {
22 public:
24  virtual ~CYIExoPlayerVideoPlayer();
31  void SetLivePresentationDelay(uint64_t presentationDelayMs, bool overridesManifest);
33  virtual std::unique_ptr<CYIVideoSurface> CreateSurface_() override;
34  virtual CYIString GetName_() const override;
35  virtual CYIString GetVersion_() const override;
36  virtual Statistics GetStatistics_() const override;
37  virtual bool SupportsFormat_(StreamingFormat format, DRMScheme drmScheme) const override;
38  virtual void Prepare_(const CYIUrl &videoURI, StreamingFormat formatHint) override;
39  virtual void Play_() override;
40  virtual void Pause_() override;
41  virtual std::vector<SeekableRange> GetLiveSeekableRanges_() const override;
42  virtual void Seek_(uint64_t seekPositionMs) override;
43  virtual void Stop_() override;
44  virtual uint64_t GetDurationMs_() const override;
45  virtual uint64_t GetCurrentTimeMs_() const override;
46  virtual bool IsMuted_() const override;
47  virtual void Mute_(bool mute) override;
48  virtual bool SelectAudioTrack_(uint32_t id) override;
49  virtual std::vector<AudioTrackInfo> GetAudioTracks_() const override;
50  virtual AudioTrackInfo GetActiveAudioTrack_() const override;
51  virtual void DisableClosedCaptions_() override;
52  virtual bool SelectClosedCaptionsTrack_(uint32_t id) override;
53  virtual std::vector<ClosedCaptionsTrackInfo> GetClosedCaptionsTracks_() const override;
55  virtual void SetMaxBitrate_(uint64_t maxBitrate) override;
57  virtual HeadphoneJackInterface *GetHeadphoneJackInterface_() const override;
58  virtual BufferingInterface *GetBufferingInterface_() const override;
59  virtual TimedMetadataInterface *GetTimedMetadataInterface_() const override;
61  virtual bool HasNativeStartTimeHandling_() const override;
62  virtual bool HasNativeBitrateEventHandling_() const override;
63  virtual bool HasNativeSeekEventHandling_() const override;
64  virtual bool HasInitialBandwidthHintHandling_() const override;
65  virtual void SetUserAgent_(const CYIString &userAgent) override;
67 private:
68  std::unique_ptr<CYIExoPlayerVideoPlayerPriv> m_pPriv;
71 };
77 #endif //ifndef _YI_EXOPLAYER_VIDEO_PLAYER_H_
virtual void Prepare_(const CYIUrl &videoURI, StreamingFormat formatHint) override
virtual std::unique_ptr< CYIVideoSurface > CreateSurface_() override
virtual CYIAbstractVideoPlayer::ClosedCaptionsTrackInfo GetActiveClosedCaptionsTrack_() const override
Definition: YiAbstractVideoPlayer.h:203
virtual bool HasNativeBitrateEventHandling_() const override
Definition: YiAbstractVideoPlayer.h:384
virtual std::vector< SeekableRange > GetLiveSeekableRanges_() const override
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:36
void SetLivePresentationDelay(uint64_t presentationDelayMs, bool overridesManifest)
virtual void Play_() override
virtual CYIString GetVersion_() const override
virtual BackgroundPlaybackInterface * GetBackgroundPlaybackInterface_() const override
virtual CYIString GetName_() const override
virtual MediaPlaybackControlsInterface * GetMediaPlaybackControlsInterface_() const override
virtual void SetMaxBitrate_(uint64_t maxBitrate) override
virtual Statistics GetStatistics_() const override
Definition: YiAbstractVideoPlayer.h:290
virtual uint64_t GetDurationMs_() const override
virtual void DisableClosedCaptions_() override
virtual TimedMetadataInterface * GetTimedMetadataInterface_() const override
An abstract video player that provides a basic interface that all subclasses must implement...
Definition: YiAbstractVideoPlayer.h:56
virtual void SetUserAgent_(const CYIString &userAgent) override
virtual void Mute_(bool mute) override
virtual std::vector< ClosedCaptionsTrackInfo > GetClosedCaptionsTracks_() const override
virtual bool SupportsFormat_(StreamingFormat format, DRMScheme drmScheme) const override
The ExoPlayer video player object.
Definition: YiExoPlayerVideoPlayer.h:18
friend class CYIExoPlayerVideoPlayerPriv
Definition: YiExoPlayerVideoPlayer.h:20
virtual bool HasInitialBandwidthHintHandling_() const override
Definition: YiAbstractVideoPlayer.h:249
virtual void Stop_() override
virtual bool SelectAudioTrack_(uint32_t id) override
A class used to encapsulate an URL.
Definition: YiUrl.h:24
virtual void Pause_() override
Definition: YiAbstractVideoPlayer.h:472
Definition: YiAbstractVideoPlayer.h:103
Definition: YiAbstractVideoPlayer.h:574
Definition: YiRtti.h:257
virtual void Seek_(uint64_t seekPositionMs) override
virtual AudioTrackInfo GetActiveAudioTrack_() const override
Definition: YiAbstractVideoPlayer.h:490
virtual std::vector< AudioTrackInfo > GetAudioTracks_() const override
virtual bool IsMuted_() const override
virtual bool SelectClosedCaptionsTrack_(uint32_t id) override
virtual ~CYIExoPlayerVideoPlayer()
virtual HeadphoneJackInterface * GetHeadphoneJackInterface_() const override
Definition: YiAbstractVideoPlayer.h:116
virtual BufferingInterface * GetBufferingInterface_() const override
virtual uint64_t GetCurrentTimeMs_() const override
virtual bool HasNativeSeekEventHandling_() const override
Definition: YiAbstractVideoPlayer.h:227
virtual bool HasNativeStartTimeHandling_() const override