livekit / client-sdk-react-native

Apache License 2.0
96 stars 26 forks source link

Bug when in a meeting on Android #113

Closed Vaib215 closed 1 month ago

Vaib215 commented 7 months ago

Bug

Sometimes, the meeting ends by itself and suddenly I get loads of logs saying this. No clue what to do. Also it would be great if someone would guide me to the docs for optimized livekit setup on react native app.

 WARN  Possible Unhandled Promise Rejection (id: 737):
Error: PeerConnection ID not found
Error: PeerConnection ID not found
    at promiseMethodWrapper (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:2853:45)
    at getStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:218951:45)
    at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:211694:49)
    at next (native)
    at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:203609:41)
    at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
    at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
    at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
    at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:203588:38)
    at getReceiverStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:211691:20)
    at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:211612:48)
    at next (native)
    at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:203609:41)
    at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
    at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
    at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
    at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:203588:38)
    at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:211610:20)
    at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:211490:44)
    at apply (native)
    at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35012:26)
    at _callTimer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:34909:17)
    at callTimers (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35117:19)
    at apply (native)
    at __callFunction (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3343:36)
    at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3064:31)
    at __guard (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3281:15)
    at callFunctionReturnFlushedQueue (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3063:21)

Expected behavior

Meeting should not stop by itself. Too many logs makes the app laggy.

Screenshots PairDrop Screenshot Nov

Device Info:

Dependencies Info:

URGENT REQUIREMENT

davidzhao commented 7 months ago

Do you recall what the user is doing that would cause this error to appear?

Vaib215 commented 7 months ago

Do you recall what the user is doing that would cause this error to appear?

No, this happens automatically in a meeting

davidliu commented 7 months ago

What versions are you using? Please fill in the versions asked for in the bug template.

Vaib215 commented 6 months ago

package.json

{
  "name": "thefutureuniversity",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "cc": "rimraf node_modules/.cache/babel-loader/*,",
    "android": "react-native run-android",
    "ios": "react-native run-ios",
    "lint": "eslint .",
    "start": "react-native start",
    "test": "jest",
    "postinstall": "patch-package"
  },
  "dependencies": {
    "@azure/core-asynciterator-polyfill": "^1.0.2",
    "@heroicons/react": "^2.0.18",
    "@livekit/react-native": "^1.3.0",
    "@livekit/react-native-webrtc": "^104.0.1",
    "@notifee/react-native": "^7.8.0",
    "@openspacelabs/react-native-zoomable-view": "^2.1.1",
    "@react-native-async-storage/async-storage": "^1.18.2",
    "@react-native-community/cli-plugin-metro": "^11.3.7",
    "@react-native-firebase/analytics": "^18.7.1",
    "@react-native-firebase/app": "^18.7.1",
    "@react-native-firebase/auth": "^18.7.1",
    "@react-native-firebase/messaging": "^18.7.1",
    "@react-navigation/material-bottom-tabs": "^6.2.17",
    "@react-navigation/material-top-tabs": "^6.6.3",
    "@react-navigation/native": "^6.1.6",
    "@react-navigation/native-stack": "^6.9.12",
    "@shopify/flash-list": "^1.6.3",
    "@types/react-native-snap-carousel": "^3.8.5",
    "appcenter": "5.0.0",
    "appcenter-analytics": "5.0.0",
    "appcenter-crashes": "5.0.0",
    "axios": "^1.4.0",
    "dayjs": "^1.11.7",
    "deprecated-react-native-prop-types": "^4.2.1",
    "jetifier": "^2.0.0",
    "mixpanel-react-native": "^2.3.1",
    "nativewind": "^2.0.11",
    "postcss": "^8.4.23",
    "react": "18.2.0",
    "react-hook-form": "^7.44.1",
    "react-native-autolink": "^4.1.0",
    "react-native-code-push": "^8.1.0",
    "react-native-config": "^1.5.1",
    "react-native-confirmation-code-field": "^7.3.1",
    "react-native-gesture-handler": "^2.14.0",
    "react-native-image-picker": "^7.0.1",
    "react-native-keyboard-aware-scroll-view": "^0.9.5",
    "react-native-linear-gradient": "^2.8.2",
    "react-native-pager-view": "^6.2.0",
    "react-native-paper": "^5.10.1",
    "react-native-pip-android": "^1.0.1",
    "react-native-razorpay": "^2.3.0",
    "react-native-render-html": "^6.3.4",
    "react-native-responsive-screen": "^1.4.2",
    "react-native-safe-area-context": "^4.5.3",
    "react-native-screens": "^3.20.0",
    "react-native-share": "^9.4.1",
    "react-native-snap-carousel": "^3.9.1",
    "react-native-vector-icons": "^10.0.0",
    "react-native-webview": "^12.1.0",
    "react-native-youtube-iframe": "^2.3.0",
    "rn-fetch-blob": "^0.12.0",
    "sass": "^1.62.1",
    "swr": "^2.1.5",
    "text-encoding": "^0.7.0"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@babel/preset-env": "^7.20.0",
    "@babel/runtime": "^7.20.0",
    "@react-native-community/cli-platform-android": "^11.3.6",
    "@react-native-community/eslint-config": "^3.2.0",
    "@tsconfig/react-native": "^2.0.2",
    "@types/jest": "^29.2.1",
    "@types/node": "^20.2.5",
    "@types/react": "^18.0.24",
    "@types/react-native-countdown-component": "^2.7.0",
    "@types/react-native-vector-icons": "^6.4.13",
    "@types/react-test-renderer": "^18.0.0",
    "babel-jest": "^29.2.1",
    "eslint": "^8.19.0",
    "jest": "^29.2.1",
    "metro-react-native-babel-preset": "0.73.9",
    "patch-package": "^8.0.0",
    "prettier": "^2.4.1",
    "react-native": "^0.72.3",
    "react-native-dotenv": "^3.4.8",
    "react-native-gradle-plugin": "^0.71.19",
    "react-test-renderer": "18.2.0",
    "tailwindcss": "^3.3.2",
    "typescript": "4.8.4"
  },
  "jest": {
    "preset": "react-native"
  }
}

This is my code for the meeting screen

import {AudioSession, useParticipant, useRoom} from '@livekit/react-native';
import AsyncStorage from '@react-native-async-storage/async-storage';
import {createMaterialTopTabNavigator} from '@react-navigation/material-top-tabs';
import axios from 'axios';
import type {LocalParticipant} from 'livekit-client';
import {
  DataPacket_Kind,
  RemoteParticipant,
  Room,
  RoomEvent,
  TrackPublication,
} from 'livekit-client';
import React, {useEffect, useRef, useState} from 'react';
import {
  BackHandler,
  Keyboard,
  ScrollView,
  useWindowDimensions,
  View,
} from 'react-native';
import {
  ActivityIndicator,
  Button,
  Card,
  Chip,
  IconButton,
  SegmentedButtons,
  Text,
} from 'react-native-paper';
import {TouchableWithoutFeedback} from 'react-native-gesture-handler';
import RenderHTML from 'react-native-render-html';
import ADIcon from 'react-native-vector-icons/AntDesign';
import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
import ChatView from '../../components/layout/ChatView';
import ExitDialog from '../../components/layout/ExitDialog';
import ParticipantCard from '../../components/layout/ParticipantCard';
import TopChip from '../../components/layout/TopChip';
import {StageView} from '../../components/StageView';
import RazorpayInit from '../../lib/razorpay';
// @ts-ignore
import {API_URL} from '@env';
import analytics from '@react-native-firebase/analytics';
import swr from 'swr';
import mixpanel, {mixpanelBtnClick} from '../../lib/mixpanel';
import {
  widthPercentageToDP as w,
  heightPercentageToDP as h,
} from 'react-native-responsive-screen';
// import PIPCard from '../../lib/PIPCard';
import MessageInput, {
  MessageReceiverInputMenu,
} from '../../components/layout/MessageInput';
import MeetingLoading from '../../components/ui/MeetingLoading';
import {
  displayPersistantNotification,
  initForegroundService,
} from '../../lib/notifee';
import notifee from '@notifee/react-native';

const fetcher = async (url: string) => {
  const token = await AsyncStorage.getItem('token');

  return axios
    .get(url, {
      headers: {
        Authorization: `Bearer ${token}`,
      },
    })
    .then(res => res.data)
    .catch(err => err.response.data);
};

type DataSendOptions = {
  kind?: DataPacket_Kind;
  destination?: string[];
};

export default function LiveClass({navigation, route}: any) {
  const [showOptions, setShowOptions] = useState(true);
  const [message, setMessage] = useState('');
  const [messages, setMessages] = useState<any[]>([]);
  const [unreadMessages, setUnreadMessages] = useState(0);
  const [dialogVisible, setDialogVisible] = useState(false);
  const [isScrolling, setIsScrolling] = useState(false);
  const [pipDelay, setPipDelay] = useState(false);
  const [messageRecipient, setMessageRecipient] = useState<string>('public');
  const [messageLoading, setMessageLoading] = useState(false);
  const [isMuteButtonVisible, setIsMuteButtonVisible] = useState(false);
  const Tab = createMaterialTopTabNavigator();
  const {url, token, masterclassId, masterclassInfo} = route.params;
  const localInputRef = useRef<any>();

  const {data: metaData, mutate} = swr(
    `${API_URL}/masterclasses/app/get-masterclass-metadata?mid=${masterclassId}`,
    fetcher,
    {
      refreshInterval: 10000,
    },
  );

  const [room] = useState(
    () =>
      new Room({
        adaptiveStream: true,
        dynacast: true,
        audioCaptureDefaults: {
          autoGainControl: true,
          deviceId: '',
          echoCancellation: true,
          noiseSuppression: true,
        },
        videoCaptureDefaults: {
          deviceId: '',
          facingMode: 'user',
        },
        reconnectPolicy: {
          nextRetryDelayInMs: (context): number | null => {
            if (context.retryCount > 10) {
              return null;
            }

            console.log(
              `retrying connection: retries: ${context.retryCount} sec: ${
                context.elapsedMs / 1000
              } `,
            );
            return 3000; //retry every 3 seconds
          },
        },
      }),
  );

  const keyboardDidHideCallback = () => {
    localInputRef.current?.blur?.();
  };

  useEffect(() => {
    const keyboardDidHideSubscription = Keyboard.addListener(
      'keyboardDidHide',
      keyboardDidHideCallback,
    );

    return () => {
      keyboardDidHideSubscription?.remove();
    };
  }, []);

  const {participants} = useRoom(room);

  const {cameraPublication, microphonePublication} = useParticipant(
    room.localParticipant,
  );

  function isTrackEnabled(pub?: TrackPublication): boolean {
    return !(pub?.isMuted ?? true);
  }

  const DataTopic = {
    CHAT: 'lk-chat-topic',
  } as const;

  async function sendMessageToClient(
    localParticipant: LocalParticipant,
    payload: Uint8Array,
    topic?: string,
    options: DataSendOptions = {},
  ) {
    const {kind, destination} = options;
    try {
      await localParticipant.publishData(
        payload,
        kind ?? DataPacket_Kind.RELIABLE,
        {
          destination,
          topic,
        },
      );
    } catch (e) {
      console.log(e);
    }
  }

  async function sendMessage() {
    if (!message) {
      return;
    }
    setShowOptions(true);
    setMessageLoading(true);
    try {
      let encoder = new TextEncoder();
      const timestamp = Date.now();
      const encodedMsg = encoder.encode(JSON.stringify({timestamp, message}));
      const adminRecipients = participants.filter(p => {
        const metaData = JSON.parse(p.metadata!);
        return (
          metaData.isAdmin && p.identity !== room.localParticipant.identity
        );
      });
      if (messageRecipient == 'admin') {
        await sendMessageToClient(
          room.localParticipant,
          encodedMsg,
          DataTopic.CHAT,
          {
            kind: DataPacket_Kind.RELIABLE,
            destination: adminRecipients.map(p => p.sid),
          },
        );
        setMessages(messages => [
          ...messages,
          {sender: 'You (to admins)', message: message},
        ]);
      } else {
        await sendMessageToClient(
          room.localParticipant,
          encodedMsg,
          DataTopic.CHAT,
          {
            kind: DataPacket_Kind.RELIABLE,
          },
        );
        setMessages(messages => [
          ...messages,
          {sender: 'You', message: message},
        ]);
      }
      setMessage('');
    } catch (e) {
      console.log(e);
    } finally {
      setMessageLoading(false);
    }
  }

  async function sendLike() {
    setMessageLoading(true);
    try {
      mixpanelBtnClick({
        btnType: 'thumbs_up',
        app: masterclassInfo?.data?.masterclass?.title,
      });
      let encoder = new TextEncoder();
      const timestamp = Date.now();
      const encodedMsg = encoder.encode(
        JSON.stringify({timestamp, message: '👍🏻'}),
      );
      await sendMessageToClient(
        room.localParticipant,
        encodedMsg,
        DataTopic.CHAT,
        {
          kind: DataPacket_Kind.RELIABLE,
        },
      );
      setMessages(messages => [...messages, {sender: 'You', message: '👍🏻'}]);
      setIsScrolling(false);
      setUnreadMessages(unreadMessages + 1);
    } catch (e) {
      console.log(e);
    } finally {
      setMessageLoading(false);
    }
  }

  useEffect(() => {
    let connect = async () => {
      try {
        await AudioSession.startAudioSession();
        await room.connect(url, token, {
          autoSubscribe: true,
          maxRetries: 9,
        });
      } catch (error: any) {
        console.log(
          'Error in connect() in LiveClass.tsx at line 262: ' + error,
        );
      }
    };
    connect();
    return () => {
      room.disconnect();
      AudioSession.stopAudioSession();
    };
  }, [url, token, room]);

  useEffect(() => {
    if (room.localParticipant.metadata) {
      const metadata = JSON.parse(room.localParticipant.metadata);
      if (metadata?.isAdmin || metadata?.canSpeak) {
        setIsMuteButtonVisible(true);
      }
      if (!metadata.canSpeak) {
        setIsMuteButtonVisible(false);
      }
    }
  }, [room?.localParticipant?.metadata]);

  // useEffect(() => {
  //   if (room.metadata) {
  //     const pinnedMessages = JSON.parse(room.metadata).pinnedMessages;
  //   }
  // }, [room.metadata]);
  const width = useWindowDimensions().width;

  useEffect(() => {
    const dataReceived = (
      payload: Uint8Array,
      participant?: RemoteParticipant,
    ) => {
      //@ts-ignore
      let decoder = new TextDecoder('utf-8');
      let data = JSON.parse(decoder.decode(payload));
      // if (data?.type == 'pin') {
      //   return;
      // }
      if (data?.type == 'action') {
        if (data?.payload.id == room.localParticipant.identity) {
          if (data?.payload?.action == 'mute') {
            setIsMuteButtonVisible(false);
            room.localParticipant.setMicrophoneEnabled(false);
          }
          if (data?.payload?.action == 'unmute') {
            setIsMuteButtonVisible(true);
          }
        }
        return;
      }

      setMessages(messages => [
        ...messages,
        {sender: participant?.name ?? 'You', message: data.message},
      ]);
      setUnreadMessages(unreadCnt => unreadCnt + 1);
    };
    room.on(RoomEvent.DataReceived, dataReceived);

    return () => {
      room.off(RoomEvent.DataReceived, dataReceived);
    };
  }, [room]);

  useEffect(() => {
    const backHandler = BackHandler.addEventListener(
      'hardwareBackPress',
      () => {
        setDialogVisible(true);
        return true;
      },
    );
    return () => {
      backHandler.remove();
    };
  }, []);

  useEffect(() => {
    initForegroundService()
      .then(async () => {
        await displayPersistantNotification({
          title: 'Live Class',
          body: 'You are in a live class',
        });
      })
      .catch(err => console.log(err));
    return () => {
      notifee.stopForegroundService();
    };
  }, []);

  const buttons = masterclassInfo?.data?.bootcamp?.bundleBootcamp
    ? [
        {
          value: masterclassInfo?.data?.bootcamp?.id,
          label: `Enroll Now - ₹${masterclassInfo?.data?.bootcamp?.discountedPrice?.toLocaleString(
            'en-IN',
          )}`,
          labelStyle: {
            color: 'white',
          },
        },
        {
          value: masterclassInfo?.data?.bootcamp?.bundleBootcamp?.id,
          label: `Enroll Now - ₹${masterclassInfo?.data?.bootcamp?.bundleBootcamp?.discountedPrice?.toLocaleString(
            'en-IN',
          )}`,
          labelStyle: {
            color: 'white',
          },
        },
      ]
    : [
        {
          value: masterclassInfo?.data?.bootcamp?.id,
          label: `Enroll Now - ₹${masterclassInfo?.data?.bootcamp?.discountedPrice?.toLocaleString(
            'en-IN',
          )}`,
          labelStyle: {
            color: 'white',
          },
          style: {
            borderWidth: 0,
          },
        },
      ];

  if (participants.length === 0 || participants.length === 1) {
    return (
      <MeetingLoading
        room={room}
        title={masterclassInfo?.data?.masterclass?.title}
        navigation={navigation}
        dialogVisible={dialogVisible}
        setDialogVisible={setDialogVisible}
      />
    );
  }

  return (
    // <PIPCard
    // pipComponent={<StageView participants={participants} isPIP={true} />}>
    <TouchableWithoutFeedback
      className="h-screen bg-white"
      onPress={() => Keyboard.dismiss()}>
      <TopChip showDialog={() => setDialogVisible(true)}>
        {(masterclassInfo?.data?.masterclass?.title.split('Masterclass on')[1]
          ?.length > 30
          ? masterclassInfo?.data?.masterclass?.title
              .split('Masterclass on')[1]
              ?.slice(0, 30) + '...'
          : masterclassInfo?.data?.masterclass?.title
              .split('Masterclass on')[1]
              ?.slice(0, 30)) ?? masterclassInfo?.data?.masterclass?.title}
      </TopChip>
      <View className="flex-0 relative w-screen">
        <ScrollView horizontal className="flex-row mx-auto">
          {participants.slice(0, 3).map((participant, index) => (
            <ParticipantCard key={index} participant={participant} inList />
          ))}
        </ScrollView>
      </View>
      <View
        className={`w-full relative transition-all duration-500 z-10 h-72 mt-2`}>
        <View className="flex-row absolute top-2 px-2 w-full justify-between z-20">
          <Chip
            icon={() => <Icon name="account-outline" size={12} color="red" />}
            className="bg-white/60 rounded-full w-fit h-6 items-center justify-center"
            textStyle={{color: 'black', marginVertical: 0, fontSize: 12}}
            compact>
            {participants.length * 2}
          </Chip>
          <Chip
            icon={() => <Icon name="record" size={12} color="red" />}
            className="bg-white/60 rounded-full w-fit h-6 items-center justify-center"
            textStyle={{color: 'black', marginVertical: 0, fontSize: 12}}
            compact>
            LIVE
          </Chip>
        </View>

        <StageView participants={participants} />
      </View>
      {metaData?.data?.isEnrollNowButtonVisible ? (
        <Tab.Navigator
          initialRouteName="Chat"
          screenOptions={{
            tabBarActiveTintColor: '#000000',
            tabBarLabelStyle: {fontSize: 12, textTransform: 'none'},
            tabBarIndicatorStyle: {backgroundColor: '#000000'},
          }}>
          <Tab.Screen
            name="Chat"
            children={() => (
              <ChatView
                unreadMessages={unreadMessages}
                setUnreadMessages={setUnreadMessages}
                messages={messages}
                isScrolling={isScrolling}
                setIsScrolling={setIsScrolling}
              />
            )}
          />
          <Tab.Screen
            name="Overview"
            children={() => (
              <ScrollView className="bg-white flex-1 p-4">
                <RenderHTML
                  source={{
                    html: masterclassInfo?.data?.bootcamp?.longDescription,
                  }}
                  contentWidth={width}
                  baseStyle={{
                    color: '#000',
                    fontSize: 16,
                  }}
                />
              </ScrollView>
            )}
          />
          <Tab.Screen
            name="Curriculum"
            children={() => (
              <ScrollView className="bg-white flex-1 p-4">
                {masterclassInfo?.data?.sessions?.map(
                  (
                    session: {
                      title: string;
                      description: string;
                    },
                    index: React.Key | null | undefined,
                  ) => {
                    return (
                      <Card className="bg-white shadow-none" key={index}>
                        <Card.Title
                          titleStyle={{color: '#000'}}
                          title={session.title}
                        />
                        <Card.Content>
                          <Text className="text-black">
                            {session.description}
                          </Text>
                        </Card.Content>
                      </Card>
                    );
                  },
                )}
              </ScrollView>
            )}
          />
          <Tab.Screen
            name="Teacher"
            children={() => (
              <ScrollView className="bg-white flex-1 p-4">
                <RenderHTML
                  source={{
                    html: masterclassInfo?.data?.teacher?.bio,
                  }}
                  contentWidth={width}
                  baseStyle={{
                    color: '#000',
                    fontSize: 16,
                  }}
                />
              </ScrollView>
            )}
          />
        </Tab.Navigator>
      ) : (
        <ChatView
          unreadMessages={unreadMessages}
          setUnreadMessages={setUnreadMessages}
          messages={messages}
          isScrolling={isScrolling}
          setIsScrolling={setIsScrolling}
        />
      )}
      <View
        className={`bg-black z-50 ${
          masterclassInfo?.data?.metaData?.isEnrollNowButtonVisible
            ? 'border-2'
            : ''
        } rounded-t-3xl ${!showOptions ? '-mt-24' : ''}`}>
        {masterclassInfo?.data?.metaData?.isEnrollNowButtonVisible && (
          <View
            style={{
              width: width - 4,
            }}
            className="items-center justify-center mx-auto px-4 pt-4 pb-2 space-y-2">
            {!metaData?.data?.userPurchasedBootcamp ? (
              <SegmentedButtons
                value={''}
                onValueChange={value => {
                  mixpanel.track('payment_initiate', {
                    app: 'bootcamp purchase',
                    bootcampId: value,
                    amount:
                      masterclassInfo?.data?.bootcamp?.id === value
                        ? masterclassInfo?.data?.bootcamp?.discountedPrice
                        : masterclassInfo?.data?.bootcamp?.bundleBootcamp
                            ?.discountedPrice,
                    source: 'liveclass',
                    bootcampName:
                      masterclassInfo?.data?.bootcamp?.id === value
                        ? masterclassInfo?.data?.bootcamp?.title
                        : masterclassInfo?.data?.bootcamp?.bundleBootcamp
                            ?.title,
                  });
                  RazorpayInit(
                    {
                      bootcampId: value,
                      amount:
                        masterclassInfo?.data?.bootcamp?.id === value
                          ? masterclassInfo?.data?.bootcamp?.discountedPrice
                          : masterclassInfo?.data?.bootcamp?.bundleBootcamp
                              ?.discountedPrice,
                      others: {
                        app: 'bootcamp purchase',
                        source: 'Tradewise App',
                        bootcampName:
                          masterclassInfo?.data?.bootcamp?.id === value
                            ? masterclassInfo?.data?.bootcamp?.title
                            : masterclassInfo?.data?.bootcamp?.bundleBootcamp
                                ?.title,
                      },
                    },
                    null,
                    () => {
                      mutate();
                    },
                  );
                }}
                style={{
                  backgroundColor: '#2C2C8C',
                  borderRadius: 20,
                }}
                buttons={buttons}
              />
            ) : (
              <Button
                mode="contained"
                className="w-full rounded-xl bg-green-500">
                <Text className="font-bold text-xl text-white">
                  🎉 You have enrolled 🎉
                </Text>
              </Button>
            )}
            {/* <Text className="text-black">REMAINING SLOTS: 10</Text> */}
          </View>
        )}
        {!showOptions && (
          <MessageReceiverInputMenu
            messageRecipient={messageRecipient}
            setMessageRecipient={setMessageRecipient}
          />
        )}
        <View
          style={{
            width: w(102),
            marginHorizontal: -4,
            marginBottom: -4,
          }}
          className={`flex-row items-center justify-center p-1 rounded-b bg-black`}>
          {showOptions && (
            <>
              <Button
                onPress={() => {
                  mixpanelBtnClick({
                    btnType:
                      'mic_' + isTrackEnabled(microphonePublication)
                        ? 'off'
                        : 'on',
                    app: masterclassInfo?.data?.masterclass?.title,
                  });
                  room.localParticipant.setMicrophoneEnabled(
                    !isTrackEnabled(microphonePublication),
                  );
                }}
                labelStyle={{
                  color: 'white',
                }}
                icon={() => (
                  <Icon
                    name={
                      isTrackEnabled(microphonePublication)
                        ? 'microphone'
                        : 'microphone-off'
                    }
                    size={24}
                    color="white"
                  />
                )}
                style={{
                  display: isMuteButtonVisible ? 'flex' : 'none',
                }}>
                {isTrackEnabled(microphonePublication) ? 'Mute' : 'Unmute'}
              </Button>
              <Button
                onPress={() => {
                  mixpanelBtnClick({
                    btnType:
                      'cam_' + isTrackEnabled(cameraPublication) ? 'off' : 'on',
                    app: masterclassInfo?.data?.masterclass?.title,
                  });
                  room.localParticipant.setCameraEnabled(
                    !isTrackEnabled(cameraPublication),
                  );
                }}
                labelStyle={{
                  color: 'white',
                }}
                icon={() => (
                  <Icon
                    name={
                      isTrackEnabled(cameraPublication)
                        ? 'video-outline'
                        : 'video-off-outline'
                    }
                    size={24}
                    color="white"
                  />
                )}>
                {isTrackEnabled(cameraPublication)
                  ? 'Stop Video'
                  : 'Start Video'}
              </Button>
              <Button
                onPress={() => {
                  mixpanelBtnClick({
                    btnType: 'chat_open',
                    app: masterclassInfo?.data?.masterclass?.title,
                  });
                  setShowOptions(false);
                  setTimeout(() => {
                    localInputRef?.current?.focus();
                  }, 10);
                }}
                labelStyle={{
                  color: 'white',
                }}
                icon={() => <Icon name={'chat'} size={24} color="white" />}>
                Chat
              </Button>
              <ActivityIndicator
                style={{
                  height: h(6),
                  width: h(6),
                  display: messageLoading ? 'flex' : 'none',
                }}
              />
              <IconButton
                onPress={sendLike}
                style={{
                  display: !messageLoading ? 'flex' : 'none',
                }}
                icon={() => <ADIcon size={24} name="like1" color="#FFCA28" />}
              />
            </>
          )}
          {!showOptions && (
            <MessageInput
              forwardedRef={localInputRef}
              message={message}
              setMessage={setMessage}
              sendMessage={sendMessage}
              setShowOptions={setShowOptions}
              messageRecipient={messageRecipient}
              messageLoading={messageLoading}
              setIsScrolling={setIsScrolling}
              setUnreadMessages={setUnreadMessages}
              unreadMessages={unreadMessages}
            />
          )}
        </View>
      </View>
      <ExitDialog
        exitFn={() => {
          mixpanelBtnClick({
            btnType: 'leave_meeting',
            app: masterclassInfo?.data?.masterclass?.title,
          });
          room.disconnect();
          analytics().logEvent('leave_meeting', {
            title: masterclassInfo?.data?.masterclass?.title,
          });
          setDialogVisible(false);
          navigation.pop();
        }}
        visible={dialogVisible}
        setVisible={setDialogVisible}
        title="Leave Meeting"
        content="Are you sure you want to leave the meeting?"
      />
    </TouchableWithoutFeedback>
    // </PIPCard>
  );
}
Vaib215 commented 6 months ago

Please help as this is of urgent need

Vaib215 commented 6 months ago

Here are logs from adb logcat if in case it helps

react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at getReceiverStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:215023:20)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214944:48)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214942:20)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214822:44)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35014:26)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at _callTimer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:34911:17)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at callTimers (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35119:19)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at __callFunction (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3345:36)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3066:31)
12-09 13:35:50.950 19068 19247 W ReactNativeJS:     at __guard (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3283:15)
12-09 13:35:50.951 19068 19247 W ReactNativeJS:     at callFunctionReturnFlushedQueue (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.th
12-09 13:35:50.952 19068 19247 W ReactNativeJS: Possible Unhandled Promise Rejection (id: 61):
12-09 13:35:50.952 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:50.952 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at promiseMethodWrapper (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:2855:45)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at getStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:222283:45)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:215026:49)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at getReceiverStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:215023:20)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214944:48)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214942:20)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214822:44)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35014:26)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at _callTimer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:34911:17)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at callTimers (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35119:19)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at __callFunction (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3345:36)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3066:31)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at __guard (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3283:15)
12-09 13:35:50.952 19068 19247 W ReactNativeJS:     at callFunctionReturnFlushedQueue (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.th
12-09 13:35:50.969  1235  3088 D audio_hw_primary: adev_set_mode: mode 0 , prev_mode 3 
12-09 13:35:50.969  1235  3088 D audio_hw_primary: adev_set_mode: exit
12-09 13:35:50.970  1235  3088 D DlbEffectDap: setAudioMode(mode = 0)
12-09 13:35:50.970  1299  3489 D APM_AudioPolicyManager: setPhoneState() state 0
12-09 13:35:50.971  1299  3489 D APM::AudioPolicyEngine/Base: will not apply voice curve to dtmf curve
12-09 13:35:51.001  1239 23210 D vendor.qti.bluetooth@1.0-wake_lock: Release wakelock is released 
12-09 13:35:51.009  1235  3088 D DlbDlbEffect: handle_EFFECT_CMD_SET_DEVICE(device=0x00000002)
12-09 13:35:51.009  1235  3088 D DlbDapEndpointParamCache: setDevice(device=0x00000002)
12-09 13:35:51.009  1264  1264 D DMSService: setActiveDevice called with device = 0x2 (original 0x2)
12-09 13:35:51.010  1235  4726 D audio_hw_primary: adev_create_audio_patch: enter: num sources 1, num_sinks 1, handle 148
12-09 13:35:51.010  1235  4726 D audio_hw_primary: adev_create_audio_patch: Playback patch from mix handle 13 to device 2
12-09 13:35:51.010  1235  4726 D audio_hw_primary: route_output_stream: enter: usecase(1: low-latency-playback) devices 2
12-09 13:35:51.010  1235  4726 V ext_speaker: usecase 23: out_snd_device 0 is NOT active
12-09 13:35:51.010  1235  4726 D audio_hw_primary: adev_create_audio_patch: exit, ret 0
12-09 13:35:51.015  1847  6857 D TelephonyManager: requestModemActivityInfo: Sending result to app: ModemActivityInfo{ mTimestamp=131671919 mSleepTimeMs=92765179 mIdleTimeMs=22544352 mActivityStatsTechSpecificInfo=[{mRat=UNKNOWN,mFrequencyRange=UNKNOWN,mTxTimeMs[]=[40530, 19976, 26448, 77781, 189622],mRxTimeMs=15904298}]}
12-09 13:35:51.027  1239 23338 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_WAKE_IND: 0xFD
12-09 13:35:51.027  1239 23338 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK ON
12-09 13:35:51.027  1239 23338 D vendor.qti.bluetooth@1.0-wake_lock: Acquire wakelock is acquired 
12-09 13:35:51.027  1239 23338 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Writing IBS_WAKE_ACK
12-09 13:35:51.068  1239 23338 I vendor.qti.bluetooth@1.0-ibs_handler: ProcessIbsCmd: Received IBS_SLEEP_IND: 0xFE
12-09 13:35:51.068  1239 23338 D vendor.qti.bluetooth@1.0-ibs_handler: SerialClockVote: vote for UART CLK OFF
12-09 13:35:51.069 19068 19247 W ReactNativeJS: Possible Unhandled Promise Rejection (id: 62):
12-09 13:35:51.069 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:51.069 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at promiseMethodWrapper (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:2855:45)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at getStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:222283:45)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:215026:49)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at getReceiverStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:215023:20)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214944:48)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214942:20)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214822:44)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35014:26)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at _callTimer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:34911:17)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at callTimers (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35119:19)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at __callFunction (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3345:36)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3066:31)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at __guard (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3283:15)
12-09 13:35:51.069 19068 19247 W ReactNativeJS:     at callFunctionReturnFlushedQueue (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.th
12-09 13:35:51.075  1555  1555 D AudioAnalytics: gc(1700, 2000): log size:1700 item map size:63, item map items:1700
12-09 13:35:51.076 22017 23993 D TrafficStats: tagSocket(135) with statsTag=0x1065fff, statsUid=10204
12-09 13:35:51.083  1847  3873 V AS.AudioDeviceBroker: requestedCommunicationDevice, device: AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[] mode owner pid: 0
12-09 13:35:51.083  1847  3873 V AS.AudioDeviceBroker: onUpdateCommunicationRoute, preferredCommunicationDevice: AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[] eventSource: setNewModeOwner
12-09 13:35:51.084  1235  4726 D audio_hw_primary: adev_set_parameters: enter: BT_SCO=off
12-09 13:35:51.084  1235  4726 D audio_hw_primary: adev_set_parameters: exit with code(0) takes 0.25 ms
12-09 13:35:51.087  1847  3873 I AS.AudioDeviceInventory: setPreferredDevicesForStrategySync, strategy: 14 devices: [AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]]
12-09 13:35:51.098  1235  3088 D audio_hw_primary: adev_create_audio_patch: enter: num sources 1, num_sinks 1, handle 158
12-09 13:35:51.098  1235  3088 D audio_hw_primary: adev_create_audio_patch: Capture patch from device 80000004 to mix 1238
12-09 13:35:51.098  1235  3088 D audio_hw_primary: select_devices for use case (audio-record)
12-09 13:35:51.098  1235  3088 D audio_hw_primary: select_devices: use case audio-record crystalk state is -1
12-09 13:35:51.098  1235  3088 D audio_hw_primary: select_devices: changing use case audio-record input device from(155: speaker-mic, acdb 304) to (222: voice-rec-mic, acdb 62)
12-09 13:35:51.098  1235  3088 D audio_hw_primary: disable_audio_route: reset and update mixer path: audio-record
12-09 13:35:51.123  1235  3088 D soundtrigger: audio HAL using same device 155 as ST
12-09 13:35:51.123  1235  3088 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 23 of type 1 for Event 2, with Raise=1
12-09 13:35:51.123  1235  3088 D soundtrigger: audio_extn_sound_trigger_update_stream_status: send event 12: usecase id 23, type 1
12-09 13:35:51.123  1235  3088 I sound_trigger_platform: platform_stdev_check_and_update_concurrency: Received CAPTURE_STREAM event, event type 12, usecase type 1
12-09 13:35:51.124  1235  3088 D sound_trigger_platform: platform_stdev_get_capture_device: Device = 0x80000004
12-09 13:35:51.124  1235  3088 D sound_trigger_platform: platform_stdev_get_capture_device: Available device = 0x80000004
12-09 13:35:51.124  1235  3088 D sound_trigger_platform: platform_stdev_check_and_update_concurrency: dedicated path 0, reset backend 1, tx 1, rx 0, concurrency session not allowed
12-09 13:35:51.124  1235  3088 D hardware_info: hw_info_append_hw_type : device_name = speaker-mic
12-09 13:35:51.124  1235  3088 D audio_hw_primary: disable_snd_device: snd_device(155: speaker-mic)
12-09 13:35:51.129  1235  3088 D soundtrigger: audio HAL using same device 155 as ST
12-09 13:35:51.129  1235  3088 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x9b of type 1 for Event 0, with Raise=1
12-09 13:35:51.129  1235  3088 I sound_trigger_platform: platform_stdev_check_and_update_concurrency: Received DEVICE event, event type 0, usecase type 1
12-09 13:35:51.129  1235  3088 D sound_trigger_platform: platform_stdev_get_capture_device: Device = 0x80000004
12-09 13:35:51.129  1235  3088 D sound_trigger_platform: platform_stdev_get_capture_device: Available device = 0x80000004
12-09 13:35:51.129  1235  3088 D sound_trigger_platform: platform_stdev_check_and_update_concurrency: dedicated path 0, reset backend 1, tx 0, rx 0, concurrency session allowed
12-09 13:35:51.129  1235  3088 D sound_trigger_platform: platform_stdev_get_capture_device: Device = 0x80000004
12-09 13:35:51.129  1235  3088 D sound_trigger_platform: platform_stdev_get_capture_device: Available device = 0x80000004
12-09 13:35:51.129  1235  3088 D audio_hw_utils: audio_extn_utils_release_snd_device:snd_device =155
12-09 13:35:51.129  1235  3088 I msm8974_platform: platform_check_and_set_capture_codec_backend_cfg:txbecf: afe: bitwidth 16, samplerate 16000, channel 1 format 1, backend_idx 8 usecase = 23 device (voice-rec-mic)
12-09 13:35:51.129  1235  3088 I msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Codec selected backend: 8 current bit width: 16 and sample rate: 16000, channels 1 format 1
12-09 13:35:51.129  1235  3088 I msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: current backend bit_width 16 sample_rate 48000 channels 1, format 0
12-09 13:35:51.129  1235  3088 I msm8974_platform: platform_check_capture_codec_backend_cfg:txbecf: afe: Codec backend needs to be updated. new bit width: 16 new sample rate: 16000 new channel: 1 new format: 1
12-09 13:35:51.129  1235  3088 I msm8974_platform: platform_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 16000 channels 1 format 1, backend_idx 8 device (voice-rec-mic)
12-09 13:35:51.129  1235  3088 E msm8974_platform: platform_set_codec_backend_cfg:becf: afe: Could not get ctl for mixer command - SLIM_0_TX SampleRate
12-09 13:35:51.129  1235  3088 D audio_hw_primary: check_usecases_capture_codec_backend:becf: force routing 0
12-09 13:35:51.129  1235  3088 D hardware_info: hw_info_append_hw_type : device_name = voice-rec-mic
12-09 13:35:51.129  1235  3088 D audio_hw_primary: enable_snd_device: snd_device(222: voice-rec-mic)
12-09 13:35:51.129  1235  3088 D msm8974_platform: platform_get_island_cfg_on_device:island cfg status on snd_device = (voice-rec-mic 0)
12-09 13:35:51.130  1235  3088 D soundtrigger: audio HAL using same device 222 as ST
12-09 13:35:51.130  1235  3088 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0xde of type 1 for Event 1, with Raise=1
12-09 13:35:51.130  1235  3088 I sound_trigger_platform: platform_stdev_check_and_update_concurrency: Received DEVICE event, event type 1, usecase type 1
12-09 13:35:51.130  1235  3088 D sound_trigger_platform: platform_stdev_get_capture_device: Device = 0x80000004
12-09 13:35:51.130  1235  3088 D sound_trigger_platform: platform_stdev_get_capture_device: Available device = 0x80000004
12-09 13:35:51.130  1235  3088 D sound_trigger_platform: platform_stdev_check_and_update_concurrency: dedicated path 0, reset backend 1, tx 1, rx 0, concurrency session not allowed
12-09 13:35:51.130  1235  3088 D audio_route: Apply path: voice-rec-mic
12-09 13:35:51.140  1235  3088 W audio_hw_utils: audio_extn_utils_update_stream_input_app_type_cfg: App type could not be selected. Falling back to default
12-09 13:35:51.140  1235  3088 D ACDB-LOADER: acdb_set_fluence_nn_state: fnn usecase state 1
12-09 13:35:51.140  1235  3088 D msm8974_platform: platform_set_fluence_nn_state: set fluence nn state 1
12-09 13:35:51.140  1235  3088 D audio_hw_primary: enable_audio_route: set fluence nn capture state
12-09 13:35:51.140  1235  3088 D soundtrigger: audio HAL using same device 222 as ST
12-09 13:35:51.140  1235  3088 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 23 of type 1 for Event 3, with Raise=1
12-09 13:35:51.140  1235  3088 D soundtrigger: audio_extn_sound_trigger_update_stream_status: send event 13: usecase id 23, type 1
12-09 13:35:51.140  1235  3088 I sound_trigger_platform: platform_stdev_check_and_update_concurrency: Received CAPTURE_STREAM event, event type 13, usecase type 1
12-09 13:35:51.140  1235  3088 D sound_trigger_platform: platform_stdev_get_capture_device: Device = 0x80000004
12-09 13:35:51.140  1235  3088 D sound_trigger_platform: platform_stdev_get_capture_device: Available device = 0x80000004
12-09 13:35:51.140  1235  3088 D sound_trigger_platform: platform_stdev_check_and_update_concurrency: dedicated path 0, reset backend 1, tx 1, rx 0, concurrency session not allowed
12-09 13:35:51.140  1235  3088 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->in_snd_device voice-rec-mic
12-09 13:35:51.141  1235  3088 I audio_hw_utils: send_app_type_cfg_for_device CAPTURE app_type 69938, acdb_dev_id 62, sample_rate 48000, snd_device_be_idx 194
12-09 13:35:51.141  1235  3088 D ACDB-LOADER: ACDB -> send_audio_cal, acdb_id = 62, path = 1, app id = 0x11132, sample rate = 48000, use_case = 0,buffer_idx_w_path =1, afe_sample_rate = 48000, cal_mode = 1, offset_index = 0
12-09 13:35:51.141  1235  3088 D ACDB-LOADER: ACDB -> send_asm_topology
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_STREAM_TOPOLOGY_ID
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> send_adm_topology
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_COMMON_TOPOLOGY_ID
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> send_audtable
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_COMMON_TABLE
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> AUDIO_SET_AUDPROC_CAL cal_type[11] acdb_id[62] app_type[69938]
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: check_fnn_usecase_status: fnn usecase active 1
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_PERSISTENT_AUDPROC_INSTANCE_COMMON_TABLE_SIZE
12-09 13:35:51.142  1235  3088 D android.hardware.audio.service: [Data Manager]-> No data found
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: Error: ACDB_CMD_GET_PERSISTENT_AUDPROC_INSTANCE_COMMON_TABLE_SIZE returned -18
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> send_audproc_persist_table -18 
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: Error: Invalid Audproc persist size = -18
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE_SIZE
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> send_audstrmtable
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AUDPROC_INSTANCE_STREAM_TABLE
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> audstrm_cal->cal_type.cal_data.cal_size = 20
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> send_afe_topology
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_TOPOLOGY_ID
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> GET_AFE_TOPOLOGY_ID for adcd_id 62, Topology Id 112fb
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> send_afe_cal
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE_SIZE
12-09 13:35:51.142  1235  3088 D android.hardware.audio.service: Failed to fetch the lookup information of the device 0000003E 
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: Error: ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE_SIZE Returned = -19
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> ACDB_CMD_GET_AFE_INSTANCE_COMMON_TABLE
12-09 13:35:51.142  1235  3088 D android.hardware.audio.service: Failed to fetch the lookup information of the device 0000003E 
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: Error: ACDB AFE returned = -19
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> AUDIO_SET_AFE_CAL cal_type[17] acdb_id[62]
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> send_hw_delay : acdb_id = 62 path = 1
12-09 13:35:51.142  1235  3088 D ACDB-LOADER: ACDB -> ACDB_AVSYNC_INFO: ACDB_CMD_GET_DEVICE_PROPERTY
12-09 13:35:51.143  1235  3088 D audio_hw_primary: enable_audio_route: apply mixer and update path: audio-record
12-09 13:35:51.143  1235  3088 D audio_route: Apply path: audio-record
12-09 13:35:51.162 19068 19663 D com.oney.WebRTCModule.WebRTCModule: peerConnectionGetStats() peerConnection is null
12-09 13:35:51.168 19068 19663 D com.oney.WebRTCModule.WebRTCModule: peerConnectionGetStats() peerConnection is null
12-09 13:35:51.189  1235  3088 D audio_hw_primary: select_devices: done
12-09 13:35:51.190  1235  3088 D audio_hw_primary: adev_create_audio_patch: exit, ret 0
12-09 13:35:51.192 14086 15496 D GmsGcmMcsSvc: Heartbeat initiated, reason: Intent { act=org.microg.gms.gcm.mcs.HEARTBEAT flg=0x4 cmp=com.mgoogle.android.gms/org.microg.gms.gcm.McsService (has extras) }
12-09 13:35:51.201  1847  3873 I AS.AudioDeviceInventory: setPreferredDevicesForStrategySync, strategy: 17 devices: [AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]]
12-09 13:35:51.204 14086 15496 D GmsGcmMcsSvc: Scheduling heartbeat in 60 seconds...
12-09 13:35:51.206 14086 17929 D GmsGcmMcsOutput: Outgoing message: HeartbeatPing{last_stream_id_received=4}
12-09 13:35:51.211  1847  3873 V AS.AudioDeviceBroker: requestedCommunicationDevice, device: AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[] mode owner pid: 0
12-09 13:35:51.217  1299  3217 D APM_AudioPolicyManager: setForceUse() usage 7, config 0, mPhoneState 0
12-09 13:35:51.219  1239 23210 D vendor.qti.bluetooth@1.0-wake_lock: Release wakelock is released 
12-09 13:35:51.224  1847  4867 I AudioService.RecordingActivityMonitor: rec update riid:19551 uid:10178 session:6345 src:HOTWORD not silenced pack:com.google.android.googlequicksearchbox
12-09 13:35:51.225  1847  3873 V AS.AudioDeviceBroker: onUpdateCommunicationRouteClient, crc: com.android.server.audio.AudioDeviceBroker$CommunicationRouteClient@72382b9 eventSource: setNewModeOwner
12-09 13:35:51.225  1847  3873 V AS.AudioDeviceBroker: setCommunicationRouteForClient: device: AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]
12-09 13:35:51.225  1847  3873 I AS.AudioDeviceBroker: setCommunicationRouteForClient for pid: 19068 device: AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[] from API: setNewModeOwner
12-09 13:35:51.225  1847  3873 V AS.AudioDeviceBroker: requestedCommunicationDevice, device: AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[] mode owner pid: 0
12-09 13:35:51.225  1847  3873 V AS.AudioDeviceBroker: saveCallingPackageInfo mCallingPackageName = university.thefuture pid = 19068 mModeOwnerPackageName = university.thefuture mModeOwnerPid = 0
12-09 13:35:51.225  1847  3873 V AS.AudioDeviceBroker: requestedCommunicationDevice, device: AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[] mode owner pid: 0
12-09 13:35:51.225  1847  3873 W AS.AudioDeviceBroker: setCommunicationRouteForClient: wasBtScoRequested:false isBtScoRequested:false isBluetoothScoActive:false
12-09 13:35:51.225  1847  3873 V AS.AudioDeviceBroker: requestedCommunicationDevice, device: AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[] mode owner pid: 0
12-09 13:35:51.225  1847  3873 V AS.AudioDeviceBroker: onUpdateCommunicationRoute, preferredCommunicationDevice: AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[] eventSource: setNewModeOwner
12-09 13:35:51.226  1235  3088 D audio_hw_primary: adev_set_parameters: enter: BT_SCO=off
12-09 13:35:51.226  1235  3088 D audio_hw_primary: adev_set_parameters: exit with code(0) takes 0.09 ms
12-09 13:35:51.228  1847  3873 I AS.AudioDeviceInventory: setPreferredDevicesForStrategySync, strategy: 14 devices: [AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]]
12-09 13:35:51.236  1847  3873 I AS.AudioDeviceInventory: setPreferredDevicesForStrategySync, strategy: 17 devices: [AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[]]
12-09 13:35:51.241  1847  3873 V AS.AudioDeviceBroker: requestedCommunicationDevice, device: AudioDeviceAttributes: role:output type:speaker addr: name: profiles:[] descriptors:[] mode owner pid: 0
12-09 13:35:51.251  1299 19422 D APM_AudioPolicyManager: setForceUse() usage 7, config 0, mPhoneState 0
12-09 13:35:51.251  1299  4992 D APM_AudioPolicyManager: setForceUse() usage 7, config 0, mPhoneState 0
12-09 13:35:51.257 19068 19663 D com.oney.WebRTCModule.WebRTCModule: peerConnectionGetStats() peerConnection is null
12-09 13:35:51.309 19068 19247 W ReactNativeJS: Possible Unhandled Promise Rejection (id: 63):
12-09 13:35:51.309 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:51.309 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at promiseMethodWrapper (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:2855:45)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at getStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:222283:45)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:215026:49)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at getReceiverStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:215023:20)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214944:48)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214942:20)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214822:44)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35014:26)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at _callTimer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:34911:17)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at callTimers (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35119:19)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at __callFunction (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3345:36)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3066:31)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at __guard (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3283:15)
12-09 13:35:51.309 19068 19247 W ReactNativeJS:     at callFunctionReturnFlushedQueue (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.th
12-09 13:35:51.312 19068 19247 W ReactNativeJS: Possible Unhandled Promise Rejection (id: 64):
12-09 13:35:51.312 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:51.312 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at promiseMethodWrapper (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:2855:45)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at getStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:222283:45)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214916:49)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at getReceiverStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214913:20)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214837:48)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214835:20)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214822:44)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35014:26)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at _callTimer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:34911:17)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at callTimers (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35119:19)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at __callFunction (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3345:36)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3066:31)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at __guard (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3283:15)
12-09 13:35:51.312 19068 19247 W ReactNativeJS:     at callFunctionReturnFlushedQueue (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.th
12-09 13:35:51.343 19068 19247 W ReactNativeJS: Possible Unhandled Promise Rejection (id: 65):
12-09 13:35:51.343 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:51.343 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at promiseMethodWrapper (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:2855:45)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at getStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:222283:45)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:215026:49)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at getReceiverStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:215023:20)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214944:48)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214942:20)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214822:44)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35014:26)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at _callTimer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:34911:17)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at callTimers (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35119:19)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at __callFunction (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3345:36)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3066:31)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at __guard (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3283:15)
12-09 13:35:51.343 19068 19247 W ReactNativeJS:     at callFunctionReturnFlushedQueue (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.th
12-09 13:35:51.360 19068 21711 I org.webrtc.Logging: EglRenderer: Duration: 4007 ms. Frames received: 0. Dropped: 0. Rendered: 0. Render fps: .0. Average render time: NA. Average swapBuffer time: NA.
12-09 13:35:51.360 19068 19663 D com.oney.WebRTCModule.WebRTCModule: peerConnectionGetStats() peerConnection is null
12-09 13:35:51.395 14086 17928 D GmsGcmMcsInput: Incoming message: HeartbeatAck{last_stream_id_received=4}
12-09 13:35:51.399 14086 17928 D GmsGcmPrefs: learnReached: gcm_network_wifi / 60035
12-09 13:35:51.418 19068 19247 W ReactNativeJS: Possible Unhandled Promise Rejection (id: 66):
12-09 13:35:51.418 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:51.418 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at promiseMethodWrapper (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:2855:45)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at getStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:222283:45)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:215026:49)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at getReceiverStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:215023:20)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214944:48)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214942:20)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214822:44)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35014:26)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at _callTimer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:34911:17)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at callTimers (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35119:19)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at __callFunction (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3345:36)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3066:31)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at __guard (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3283:15)
12-09 13:35:51.418 19068 19247 W ReactNativeJS:     at callFunctionReturnFlushedQueue (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.th
12-09 13:35:51.457 19068 19663 D com.oney.WebRTCModule.WebRTCModule: peerConnectionGetStats() peerConnection is null
12-09 13:35:51.535 22017 23993 D TrafficStats: tagSocket(310) with statsTag=0x1065fff, statsUid=10178
12-09 13:35:51.635 19068 19247 W ReactNativeJS: Possible Unhandled Promise Rejection (id: 67):
12-09 13:35:51.635 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:51.635 19068 19247 W ReactNativeJS: Error: PeerConnection ID not found
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at promiseMethodWrapper (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:2855:45)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at getStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:222283:45)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214916:49)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at getReceiverStats (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214913:20)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at ?anon_0_ (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214837:48)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at next (native)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206941:41)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at tryCallTwo (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:61:9)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at doResolve (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:216:25)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at Promise (/root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/Release/4i495j47/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:82:14)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at gt (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:206920:38)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214835:20)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:214822:44)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35014:26)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at _callTimer (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:34911:17)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at callTimers (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:35119:19)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at apply (native)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at __callFunction (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3345:36)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at anonymous (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3066:31)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at __guard (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.thefuture&modulesOnly=false&runModule=true:3283:15)
12-09 13:35:51.635 19068 19247 W ReactNativeJS:     at callFunctionReturnFlushedQueue (http://localhost:8081/index.bundle//&platform=android&dev=true&minify=false&app=university.th
davidzhao commented 6 months ago

you are running 1.3.0 (took me awhile to find it). In the future, please follow the bug report template to make it easier for those reading the issue. You should update to the latest version below.

    "@livekit/react-native": "^1.4.1",
    "@livekit/react-native-webrtc": "^114.0.0",
Vaib215 commented 6 months ago

I have updated both of them. Still no effect