Merge branch 'main' into ci/gilbok-lee/update_public
[platform/core/multimedia/esplusplayer.git] / src / esplusplayer / include_internal / esplayer / esplayer.h
index 3a4d077..2deec7d 100644 (file)
@@ -5,6 +5,8 @@
 #ifndef __ESPLUSPLAYER_SRC_ESPLAYER_ESPLAYER__H__
 #define __ESPLUSPLAYER_SRC_ESPLAYER_ESPLAYER__H__
 
+#include <IEME.h>
+
 #include <boost/core/noncopyable.hpp>
 #include <future>
 #include <list>
@@ -16,7 +18,9 @@
 #include <vector>
 
 #include "core/decoderinputbuffer.h"
+#ifndef TIZEN_FEATURE_PUBLIC
 #include "core/kpi.h"
+#endif
 #include "core/trackrendereradapter.h"
 #ifdef USE_MIXER
 #include "mixer/mixerticket.h"
@@ -156,6 +160,10 @@ class EsPlayer : public EsPlusPlayer {
   bool GetVideoStreamRotationInfo(VideoRotation* rotation) override;
   bool SetSimpleMixOutBufferLevel(
       const PlayerSimpleMixOutBufferLevel level) override;
+#ifdef TIZEN_FEATURE_PUBLIC
+  bool EnableVideoHole(bool value) override;
+  bool SetSoundStreamInfo(const sound_stream_info_h stream_info) override;
+#endif  // TIZEN_FEATURE_PUBLIC
 
  private:
   using SubmitPacketOperator =
@@ -214,7 +222,9 @@ class EsPlayer : public EsPlusPlayer {
   void ResetContextForStop_();
   void GetSrcQueueCurrentSize_(const TrackType& type, uint64_t* byte_size,
                                uint64_t* time_size);
+#ifndef TIZEN_FEATURE_PUBLIC
   kpi::EsCodecLoggerKeys MakeKpiKeys_();
+#endif
 #ifdef USE_MIXER
   bool PrepareVideoMixingMode_(std::vector<Track>* tracks);
 #endif  // USE_MIXER
@@ -293,6 +303,8 @@ class EsPlayer : public EsPlusPlayer {
   EsStateManager state_manager_;
 
   SubmitDataType submit_data_type_ = SubmitDataType::kCleanData;
+  std::string key_system_;
+  bool key_system_acquired_ = false;
   drm::Property drm_property_;
   std::uint32_t low_latency_mode_ = 0;
   std::uint32_t video_frame_peek_mode_ = 0;