Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

[RN] Fix YouTube channel name list

Bettenbuk Zoltan554974a36d83
diff --git a/react/features/google-api/googleApi.native.js b/react/features/google-api/googleApi.native.js
index f1fcc8f5b2..afbb7b0eaf 100644
--- a/react/features/google-api/googleApi.native.js
+++ b/react/features/google-api/googleApi.native.js
@@ -149,11 +149,12 @@ class GoogleApi {
let title;
// Finding title from the broadcast with the same
- // channelId. If not found (unknown scenario), we use
- // the key as title again.
+ // boundStreamId. If not found (unknown scenario), we
+ // use the key as title again.
for (const broadcast of broadcasts) {
- if (broadcast.snippet.channelId
- === stream.snippet.channelId) {
+ if (broadcast.contentDetails
+ && broadcast.contentDetails.boundStreamId
+ === stream.id) {
title = broadcast.snippet.title;
}
}