-
Notifications
You must be signed in to change notification settings - Fork 49
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
App doesn't work on sdk versions > 29 #17
Comments
Failing to load the favicon is just noise. Likely the issue is found from the logs on the android device. This might help too #15 (comment) Try starting the android app before opening the link in Chrome. If that doesn’t work feel free to post the Android Studio logs and I can take a look |
Yeah I've been starting the app before the browser, killing the processes each time. Logcat doesn't show that CompleteActivity is logging anything (set on verbose) so it appears that the client isn't connecting at all. The url I've set the app is http://my-pc-ip:3000 |
The app has all of the requested permissions as well |
Interesting, so the app works fine when compileSdkVersion is <29. There are no errors in logcat when I set it to 30, so it might be some socket security changes with those versions of android. |
Found the issue, it's related to security changes in android pie as discussed here: pchab/AndroidRTC#189 these changes fix the issue. |
Setup:
I run the signaling server first, then launch and start the app, then open the browser. The browser cam opens and the app's cam runs, but the stream does not start on the respective devices. The browser's console prints:
Attempted to create or join room foo
main.js:121 Getting user media with constraints Object
main.js:59 Message from server: Received request to create or join room foo
main.js:59 Message from server: Room foo now has 0 client(s)
main.js:59 Message from server: Client ID MfqG6Zhr2mE2HLgJAAAA created room foo
main.js:39 Created room foo
main.js:108 Adding local stream.
main.js:65 Client sending message: got user media
main.js:130 >>>>>>> maybeStart() false MediaStream false
main.js:59 Message from server: Client said: got user media
:3000/favicon.ico:1 Failed to load resource: the server responded with a status of 404 (Not Found)
The text was updated successfully, but these errors were encountered: