Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG #62

Open
smadabat1 opened this issue Jan 19, 2025 · 1 comment
Open

BUG #62

smadabat1 opened this issue Jan 19, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@smadabat1
Copy link

Expected behavior

When using getInputDevices, it should provide the result of the current input devices.

Describe the bug (unexpected behavior)

I tried to list the current input devices but it is stuck without proceeding further. Required permissions were given to the app on the respective device.

const devicesInUse = await meetingObject?.getInputDevices();

System information

Framework - Expo
Host Machine - Mac OS 15.1.1
NewArch - false

Node Modules Versions:
"@config-plugins/react-native-webrtc": "^10.0.0",
"@daily-co/config-plugin-rn-daily-js": "^0.0.7",
"@daily-co/react-native-daily-js": "^0.71.0",
"@daily-co/react-native-webrtc": "118.0.3-daily.2",
"expo": "~52.0.24",
"react": "18.3.1",
"expo-web-browser": "~14.0.1",
"@react-native-async-storage/async-storage": "^1.15.7",
"react-native-get-random-values": "^1.10.0",

Device: Iphone 16 pro

OS, version: IOS 18.1

Browser, version: None

Device: Pixel 7

OS, version: Android 15, (API 35)

Browser, version: None

Additional context

@smadabat1 smadabat1 added the bug Something isn't working label Jan 19, 2025
@filipi87
Copy link
Contributor

Hi @smadabat1 ,

I just tried reproducing the issue using our Expo demo (https://github.com/daily-demos/daily-expo-demo), and everything seems to be working as expected.

To test, I invoked the following function to load the devices after joining the call:

const loadDevicesInfo = async () => {
  const selectedDevices = await callObject?.getInputDevices();
  console.log("selectedDevices", selectedDevices);
};

If the issue persists on your end, it would be helpful if you could share a code snippet so we can reproduce the issue, along with the full log.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants