Searched refs:sourceInfos (Results 1 – 2 of 2) sorted by relevance
486 napi_value* value, const std::vector<std::shared_ptr<NWebMediaSourceInfo>>& sourceInfos) in ConstructSourceInfos() argument488 NAPI_CALL_RETURN_VOID(env_, napi_create_array_with_length(env_, sourceInfos.size(), value)); in ConstructSourceInfos()490 for (unsigned int i = 0; i < sourceInfos.size(); i++) { in ConstructSourceInfos()491 if (!sourceInfos[i]) { in ConstructSourceInfos()499 …NAPI_CALL_RETURN_VOID(env_, napi_create_int32(env_, static_cast<int>(sourceInfos[i]->GetType()), &… in ConstructSourceInfos()503 std::string mediaSource = sourceInfos[i]->GetSource(); in ConstructSourceInfos()508 std::string mediaFormat = sourceInfos[i]->GetFormat(); in ConstructSourceInfos()
120 …urceInfos(napi_value* value, const std::vector<std::shared_ptr<NWebMediaSourceInfo>>& sourceInfos);