You.i Engine
YiBlueskyVideoPlayer.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
2 #ifndef _YI_BLUESKY_VIDEO_PLAYER_H_
3 #define _YI_BLUESKY_VIDEO_PLAYER_H_
4 
6 
12 class CYIBlueskyVideoPlayerPriv;
13 
15 {
17 
18 public:
20  virtual ~CYIBlueskyVideoPlayer();
21 
22 private:
23  virtual CYIString GetName_() const override;
24  virtual CYIString GetVersion_() const override;
25  virtual CYIAbstractVideoPlayer::Statistics GetStatistics_() const override;
26  virtual std::unique_ptr<CYIVideoSurface> CreateSurface_() override;
27  virtual bool SupportsFormat_(StreamingFormat format, DRMScheme drmScheme) const override;
28  virtual void Prepare_(const CYIUrl &videoURI, CYIAbstractVideoPlayer::StreamingFormat format) override;
29  virtual void Play_() override;
30  virtual void Pause_() override;
31  virtual void Stop_() override;
32  virtual std::vector<SeekableRange> GetLiveSeekableRanges_() const override;
33  virtual void Seek_(uint64_t seekPositionMs) override;
34  virtual uint64_t GetDurationMs_() const override;
35  virtual uint64_t GetCurrentTimeMs_() const override;
36  virtual bool IsMuted_() const override;
37  virtual void Mute_(bool mute) override;
38  virtual bool SelectAudioTrack_(uint32_t id) override;
39  virtual std::vector<AudioTrackInfo> GetAudioTracks_() const override;
40  virtual CYIAbstractVideoPlayer::AudioTrackInfo GetActiveAudioTrack_() const override;
41  virtual void DisableClosedCaptions_() override;
42  virtual bool SelectClosedCaptionsTrack_(uint32_t id) override;
43  virtual std::vector<ClosedCaptionsTrackInfo> GetClosedCaptionsTracks_() const override;
44  virtual CYIAbstractVideoPlayer::ClosedCaptionsTrackInfo GetActiveClosedCaptionsTrack_() const override;
45  virtual void SetMaxBitrate_(uint64_t maxBitrate) override;
46  virtual CYIAbstractVideoPlayer::TimedMetadataInterface *GetTimedMetadataInterface_() const override;
47  virtual bool HasNativeStartTimeHandling_() const override;
48  virtual bool HasNativeBitrateEventHandling_() const override;
49  virtual bool HasNativeSeekEventHandling_() const override;
50  virtual void SetUserAgent_(const CYIString &userAgent) override;
51 
52  std::unique_ptr<CYIBlueskyVideoPlayerPriv> m_pPriv;
53 
55 
57 };
58 
63 #endif
#define YI_DISALLOW_COPY_AND_ASSIGN(TypeName)
Delete the copy constructor and assignment operator (and consequently the move constructor as well) ...
Definition: YiPredef.h:122
Definition: YiAbstractVideoPlayer.h:210
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:36
Definition: YiBlueskyVideoPlayer.h:14
An abstract video player that provides a basic interface that all subclasses must implement...
Definition: YiAbstractVideoPlayer.h:56
virtual ~CYIBlueskyVideoPlayer()
A class used to encapsulate an URL.
Definition: YiUrl.h:24
friend class CYIBlueskyVideoPlayerPriv
Definition: YiBlueskyVideoPlayer.h:16
Definition: YiAbstractVideoPlayer.h:479
StreamingFormat
Definition: YiAbstractVideoPlayer.h:110
Definition: YiAbstractVideoPlayer.h:581
#define YI_TYPE_BASES(CLASS, BASES...)
Definition: YiRtti.h:257
DRMScheme
Definition: YiAbstractVideoPlayer.h:123
Definition: YiAbstractVideoPlayer.h:234