Home
last modified time | relevance | path

Searched refs:CastEngine (Results 1 - 25 of 282) sorted by relevance

12345678910>>...12

/foundation/multimedia/av_session/services/session/server/
H A Dhw_cast_stream_player.h29 class HwCastStreamPlayer : public IAVCastControllerProxy, public CastEngine::IStreamPlayerListener,
32 explicit HwCastStreamPlayer(std::shared_ptr<CastEngine::IStreamPlayer> streamPlayer) in HwCastStreamPlayer()
50 void OnStateChanged(const CastEngine::PlayerStates playbackState, bool isPlayWhenReady) override;
52 void OnMediaItemChanged(const CastEngine::MediaInfo &mediaInfo) override;
54 void OnLoopModeChanged(const CastEngine::LoopMode loopMode) override;
57 void OnPlaySpeedChanged(const CastEngine::PlaybackSpeed speed) override;
62 void OnPlayRequest(const CastEngine::MediaInfo &mediaInfo) override;
65 void OnAvailableCapabilityChanged(const CastEngine::StreamCapability &streamCapability) override;
72 void checkCmdsFromAbility(const CastEngine::StreamCapability &streamCapability,
75 const std::vector<int32_t>& supportedCastCmds, CastEngine
[all...]
H A Dhw_cast_provider_session.h26 class HwCastProviderSession : public CastEngine::ICastSessionListener,
29 explicit HwCastProviderSession(std::shared_ptr<CastEngine::ICastSession> castSession) : castSession_(castSession) {} in HwCastProviderSession()
32 void OnDeviceState(const CastEngine::DeviceStateInfo &stateInfo) override;
33 void OnEvent(const CastEngine::EventId &eventId, const std::string &jsonParam) override;
39 std::shared_ptr<CastEngine::IStreamPlayer> CreateStreamPlayer();
46 std::shared_ptr<CastEngine::ICastSession> castSession_;
H A Dhw_cast_provider.h30 class HwCastProvider : public AVCastProvider, public CastEngine::ICastSessionManagerListener,
53 void OnDeviceFound(const std::vector<CastEngine::CastRemoteDevice> &deviceList) override;
56 void OnSessionCreated(const std::shared_ptr<CastEngine::ICastSession> &castSession) override;
73 std::map<CastEngine::CapabilityType, int32_t> castPlusTypeToAVSessionType_ = {
74 {CastEngine::CapabilityType::CAST_PLUS, ProtocolType::TYPE_CAST_PLUS_STREAM},
75 {CastEngine::CapabilityType::DLNA, ProtocolType::TYPE_DLNA},
76 {CastEngine::CapabilityType::CAST_AND_DLNA, ProtocolType::TYPE_CAST_PLUS_STREAM | ProtocolType::TYPE_DLNA}
H A Dhw_cast_provider_session.cpp20 using namespace OHOS::CastEngine;
74 std::shared_ptr<CastEngine::IStreamPlayer> HwCastProviderSession::CreateStreamPlayer() in CreateStreamPlayer()
82 std::shared_ptr<CastEngine::IStreamPlayer> streamPlayerPtr = nullptr; in CreateStreamPlayer()
165 void HwCastProviderSession::OnDeviceState(const CastEngine::DeviceStateInfo &stateInfo) in OnDeviceState()
193 void HwCastProviderSession::OnEvent(const CastEngine::EventId &eventId, const std::string &jsonParam) in OnEvent()
H A Dhw_cast_stream_player.cpp27 using namespace OHOS::CastEngine;
133 streamPlayer_->SetSpeed(static_cast<CastEngine::PlaybackSpeed>(speed)); in SendControlCommandWithParams()
187 CastEngine::MediaInfo mediaInfo; in Start()
238 CastEngine::MediaInfo mediaInfo; in Prepare()
305 CastEngine::PlayerStates castPlayerStates; in GetCastAVPlaybackState()
310 CastEngine::PlaybackSpeed castPlaybackSpeed; in GetCastAVPlaybackState()
320 CastEngine::LoopMode castLoopMode; in GetCastAVPlaybackState()
417 CastEngine::StreamCapability streamCapability; in GetValidAbility()
430 CastEngine::StreamCapability streamCapability; in SetValidAbility()
436 void HwCastStreamPlayer::OnStateChanged(const CastEngine
[all...]
/foundation/multimedia/av_session/services/session/server/test/
H A Dhw_cast_test.cpp355 OHOS::CastEngine::PlayerStates playbackState = OHOS::CastEngine::PlayerStates::PLAYER_STATE_ERROR; in HWTEST()
448 OHOS::CastEngine::MediaInfo mediaInfo; in HWTEST()
483 OHOS::CastEngine::LoopMode loopMode = OHOS::CastEngine::LoopMode::LOOP_MODE_SINGLE; in HWTEST()
532 OHOS::CastEngine::PlaybackSpeed speed = OHOS::CastEngine::PlaybackSpeed::SPEED_FORWARD_1_00_X; in HWTEST()
619 OHOS::CastEngine::MediaInfo mediaInfo; in HWTEST()
642 class StreamPlayerImpl : public OHOS::CastEngine::IStreamPlayer {
654 int SetSpeed(const OHOS::CastEngine
[all...]
H A Dhw_cast_stream_player_test.cpp29 using namespace OHOS::CastEngine::CastEngineClient;
30 using namespace OHOS::CastEngine;
66 CastSessionProperty property = {CastEngine::ProtocolType::CAST_PLUS_STREAM, CastEngine::EndType::CAST_SOURCE}; in CreateSession()
412 hwCastStreamPlayer->OnStateChanged(CastEngine::PlayerStates::PLAYER_INITIALIZED, true); in HWTEST_F()
460 CastEngine::MediaInfo mediaInfo; in HWTEST_F()
525 hwCastStreamPlayer->OnLoopModeChanged(CastEngine::LoopMode::LOOP_MODE_SINGLE); in HWTEST_F()
541 hwCastStreamPlayer->OnPlaySpeedChanged(CastEngine::PlaybackSpeed::SPEED_FORWARD_2_00_X); in HWTEST_F()
622 CastEngine::MediaInfo mediaInfo; in HWTEST_F()
690 CastEngine in HWTEST_F()
[all...]
/foundation/CastEngine/castengine_cast_framework/common/include/private/
H A Dcast_engine_log.h28 namespace CastEngine { namespace
36 static constexpr HiLogLabel CAST_ENGINE_LABEL = { LOG_CORE, OHOS::CastEngine::CAST_ENGINE_LOG_ID, name }
61 } // namespace CastEngine
H A Dcast_service_common.h27 namespace CastEngine { namespace
67 } // namespace CastEngine
71 using namespace OHOS::CastEngine;
H A Dconnection_manager_listener.h24 namespace CastEngine { namespace
34 } // namespace CastEngine
H A Di_cast_session_listener_impl.h27 namespace CastEngine { namespace
30 DECLARE_INTERFACE_DESCRIPTOR(u"OHOS.CastEngine.ICastSessionListenerImpl");
45 } // namespace CastEngine
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/player/include/
H A Dcast_stream_player_utils.h23 namespace CastEngine { namespace
31 } // namespace CastEngine
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/player/include/
H A Dcast_stream_player_utils.h23 namespace CastEngine { namespace
31 } // namespace CastEngine
/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/include/
H A Dnapi_castengine_enum.h26 namespace CastEngine { namespace
30 } // namespace CastEngine
H A Dnapi_errors.h26 namespace CastEngine { namespace
38 } // namespace CastEngine
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/include/
H A Di_data_listener.h23 namespace CastEngine { namespace
31 } // namespace CastEngine
H A Di_cast_local_file_channel.h25 namespace CastEngine { namespace
36 } // namespace CastEngine
/foundation/CastEngine/castengine_cast_framework/client/src/
H A Dcast_engine_service_load_callback.cpp25 namespace CastEngine { namespace
52 } // namespace CastEngine
/foundation/CastEngine/castengine_cast_framework/client/include/
H A Dcast_engine_service_load_callback.h24 namespace CastEngine { namespace
32 } // namespace CastEngine
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/include/
H A Di_data_listener.h23 namespace CastEngine { namespace
31 } // namespace CastEngine
/foundation/CastEngine/castengine_cast_framework/service/src/session/include/
H A Dcast_session_common.h27 namespace CastEngine { namespace
52 } // namespace CastEngine
H A Dcast_session_enums.h23 namespace CastEngine { namespace
53 } // namespace CastEngine
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/
H A Drtsp_listener_inner.h24 namespace CastEngine { namespace
40 } // namespace CastEngine
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/
H A Drtsp_listener_inner.h24 namespace CastEngine { namespace
40 } // namespace CastEngine
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/include/
H A Di_cast_stream_listener.h25 namespace CastEngine { namespace
35 } // namespace CastEngine

Completed in 8 milliseconds

12345678910>>...12