Lines Matching refs:castState
1123 void AVSessionItem::DealCastState(int32_t castState)
1125 if (newCastState == castState) {
1131 newCastState = castState;
1154 void AVSessionItem::DealCollaborationPublishState(int32_t castState, DeviceInfo deviceInfo)
1163 if (castState == castConnectStateForConnected_) { // 6 is connected status (stream)
1178 if (castState == castConnectStateForDisconnect_) { // 5 is disconnected status
1184 void AVSessionItem::OnCastStateChange(int32_t castState, DeviceInfo deviceInfo)
1186 SLOGI("OnCastStateChange in with state: %{public}d | id: %{public}s", static_cast<int32_t>(castState),
1188 DealCollaborationPublishState(castState, deviceInfo);
1189 DealCastState(castState);
1190 if (castState == streamStateConnection && counter_ == secondStep) {
1201 if (castState == castConnectStateForConnected_) { // 6 is connected status (stream)
1202 castState = 1; // 1 is connected status (local)
1210 if (castState == castConnectStateForDisconnect_) { // 5 is disconnected status
1211 castState = 6; // 6 is disconnected status of AVSession
1214 HandleOutputDeviceChange(castState, outputDeviceInfo);
1219 controller.second->HandleOutputDeviceChange(castState, outputDeviceInfo);
1225 if (castState == ConnectionState::STATE_DISCONNECTED &&