You.i Engine
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
12 class CYIUWPVideoPlayerPriv;
15 {
16  friend class CYIUWPVideoPlayerPriv;
18 public:
20  virtual ~CYIUWPVideoPlayer();
22  virtual CYIString GetName_() const override;
23  virtual CYIString GetVersion_() const override;
24  virtual Statistics GetStatistics_() const override;
25  virtual bool SupportsFormat_(StreamingFormat format, DRMScheme drmScheme) const override;
26  virtual std::unique_ptr<CYIVideoSurface> CreateSurface_() override;
27  virtual void Prepare_(const CYIUrl &videoURI, StreamingFormat formatHint) override;
28  virtual void Play_() override;
29  virtual void Pause_() override;
30  virtual void Stop_() override;
31  virtual uint64_t GetDurationMs_() const override;
32  virtual uint64_t GetCurrentTimeMs_() const override;
33  virtual bool HasNativeSeekEventHandling_() const override;
35  virtual std::vector<SeekableRange> GetLiveSeekableRanges_() const override;
36  virtual void Seek_(uint64_t seekPositionMS) override;
38  virtual bool IsMuted_() const override;
39  virtual void Mute_(bool mute) override;
40  virtual bool SelectAudioTrack_(uint32_t id) override;
42  virtual std::vector<CYIAbstractVideoPlayer::AudioTrackInfo> GetAudioTracks_() const override;
44  virtual void DisableClosedCaptions_() override;
45  virtual bool SelectClosedCaptionsTrack_(uint32_t id) override;
46  virtual std::vector<ClosedCaptionsTrackInfo> GetClosedCaptionsTracks_() const override;
49  virtual void SetMaxBitrate_(uint64_t maxBitrate) override;
50  virtual void SetUserAgent_(const CYIString &userAgent) override;
52  virtual TimedMetadataInterface *GetTimedMetadataInterface_() const override;
54 private:
55  virtual bool HasNativeBitrateEventHandling_() const override;
57  std::unique_ptr<CYIUWPVideoPlayerPriv> m_pPriv;
58 };
64 #endif
Definition: YiAbstractVideoPlayer.h:210
virtual CYIAbstractVideoPlayer::ClosedCaptionsTrackInfo GetActiveClosedCaptionsTrack_() const override
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:36
virtual bool IsMuted_() const override
virtual CYIString GetName_() const override
virtual uint64_t GetCurrentTimeMs_() const override
virtual bool SupportsFormat_(StreamingFormat format, DRMScheme drmScheme) const override
virtual void Play_() override
virtual bool SelectClosedCaptionsTrack_(uint32_t id) override
virtual std::vector< SeekableRange > GetLiveSeekableRanges_() const override
virtual CYIString GetVersion_() const override
virtual bool SelectAudioTrack_(uint32_t id) override
virtual void Mute_(bool mute) override
An abstract video player that provides a basic interface that all subclasses must implement...
Definition: YiAbstractVideoPlayer.h:56
virtual void SetMaxBitrate_(uint64_t maxBitrate) override
Definition: YiUWPVideoPlayer.h:14
virtual void Pause_() override
virtual void SetUserAgent_(const CYIString &userAgent) override
friend class CYIUWPVideoPlayerPriv
Definition: YiUWPVideoPlayer.h:16
virtual void Seek_(uint64_t seekPositionMS) override
virtual std::unique_ptr< CYIVideoSurface > CreateSurface_() override
virtual void Stop_() override
virtual std::vector< ClosedCaptionsTrackInfo > GetClosedCaptionsTracks_() const override
virtual bool HasNativeSeekEventHandling_() const override
A class used to encapsulate an URL.
Definition: YiUrl.h:24
virtual Statistics GetStatistics_() const override
Definition: YiAbstractVideoPlayer.h:479
Definition: YiAbstractVideoPlayer.h:110
Definition: YiAbstractVideoPlayer.h:581
virtual uint64_t GetDurationMs_() const override
virtual CYIAbstractVideoPlayer::AudioTrackInfo GetActiveAudioTrack_() const override
virtual std::vector< CYIAbstractVideoPlayer::AudioTrackInfo > GetAudioTracks_() const override
virtual ~CYIUWPVideoPlayer()
virtual TimedMetadataInterface * GetTimedMetadataInterface_() const override
Definition: YiAbstractVideoPlayer.h:123
Definition: YiAbstractVideoPlayer.h:234
virtual void DisableClosedCaptions_() override
virtual void Prepare_(const CYIUrl &videoURI, StreamingFormat formatHint) override