RemoteVideoCam icon indicating copy to clipboard operation
RemoteVideoCam copied to clipboard

App fails to start - I only see the "This app requires WiFi connection" toast.

Open jaimet opened this issue 1 year ago • 4 comments

I'm running RemoteVideoCam on 3 different phones all connected to the same broadcast domain:

Motorola Moto G (XT1032) works perfectly Samsung Galaxy S4 (SGH-M919) works perfectly OnePlus 5T (A5010) fails to start - all I get is the "This app requires WiFi connection..." toast.

All three phones are using v2.7 from f-droid (apk md5sum starts a140...).

Would a logcat help?

jaimet avatar Oct 28 '22 16:10 jaimet

Are you sure your OnePlus is connected to your WiFi network? If it is, maybe the telecom network takes precidence. Can you temporarily disable your telephone network and try again?

On Fri., Oct. 28, 2022, 12:05 p.m. Jaime, @.***> wrote:

I'm running RemoteVideoCam on 3 different phones all connected to the same broadcast domain:

Motorola Moto G (XT1032) works perfectly Samsung Galaxy S4 (SGH-M919) works perfectly OnePlus 5T (A5010) fails to start - all I get is the "This app requires WiFi connection..." toast https://github.com/izivkov/RemoteVideoCam/blob/master/app/src/main/java/org/avmedia/remotevideocam/MainActivity.kt#L44 .

All three phones are using v2.7 from f-droid https://f-droid.org/repo/org.avmedia.remotevideocam_27.apk (apk md5sum starts a140...).

Would a logcat help?

— Reply to this email directly, view it on GitHub https://github.com/izivkov/RemoteVideoCam/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37SOJEXD45OWO664Y5LWFP2TDANCNFSM6AAAAAARRGWMKY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

izivkov avatar Oct 28 '22 17:10 izivkov

One thing you can try is to go the Android Settings -> Apps and Notification -> RemoteVideoCam and Clear Storage. Then run the app again.

I will check why the app does not start after disconnecting and connecting back on WiFi.

Thanks for reporting.

Ivo

On Fri, Oct 28, 2022 at 1:58 PM Ivo Zivkov @.***> wrote:

Are you sure your OnePlus is connected to your WiFi network? If it is, maybe the telecom network takes precidence. Can you temporarily disable your telephone network and try again?

On Fri., Oct. 28, 2022, 12:05 p.m. Jaime, @.***> wrote:

I'm running RemoteVideoCam on 3 different phones all connected to the same broadcast domain:

Motorola Moto G (XT1032) works perfectly Samsung Galaxy S4 (SGH-M919) works perfectly OnePlus 5T (A5010) fails to start - all I get is the "This app requires WiFi connection..." toast https://github.com/izivkov/RemoteVideoCam/blob/master/app/src/main/java/org/avmedia/remotevideocam/MainActivity.kt#L44 .

All three phones are using v2.7 from f-droid https://f-droid.org/repo/org.avmedia.remotevideocam_27.apk (apk md5sum starts a140...).

Would a logcat help?

— Reply to this email directly, view it on GitHub https://github.com/izivkov/RemoteVideoCam/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37SOJEXD45OWO664Y5LWFP2TDANCNFSM6AAAAAARRGWMKY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

izivkov avatar Oct 28 '22 21:10 izivkov

Are you sure your OnePlus is connected to your WiFi network? If it is, maybe the telecom network takes precidence. Can you temporarily disable your telephone network and try again?

This is really weird. I temporarily disabled my telephone network and I was able to start the app successfully. I then thought "Great - that is the solution." But...

Then I re-enabled my telephone network and the app did not start again.

Then I re-disabled my telephone network (hence only wifi now) and still the app did not start. Huh?

Disable and re-enable wifi (telephone network still disabled from previous step hence only wifi is connected) - still the app does not start. Huh?

After a "Clear cache", still the app does not start. After a "Clear storage", the app does start.

Here is a logcat "failure" session (piped through "grep remotevideocam") - hopefully this helps.

jaimet avatar Oct 29 '22 11:10 jaimet

Thanks, I'll look into it, but I am a bit busy at the moment, so not sure when I can get to it. At least you have a workaround.

izivkov avatar Oct 29 '22 13:10 izivkov

This happens when the phone is using its mobile connection instead of the WiFi connection. It is different for different phones, but maybe disabling your mobile connection temporary will solve the problem. The app has no control over that, so I am closing this issue.

izivkov avatar Dec 20 '22 14:12 izivkov

I have the same problem on a Xiaomi Mi 9 Lite (Android 9). I have only WiFi active. Cellular data is not active and also disabled on the properties of the app (No mobile data usage).

Quantum-Future avatar Jun 06 '24 11:06 Quantum-Future

Is it working with other phones for you?

On Thu, Jun 6, 2024 at 7:14 AM Quantum-Future @.***> wrote:

I have the same problem on a Xiaomi Mi 9 Lite (Android 9). I have only WiFi active. Cellular data is not active and also disabled on the properties of the app (No mobile data usage).

— Reply to this email directly, view it on GitHub https://github.com/izivkov/RemoteVideoCam/issues/8#issuecomment-2152072207, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37QEJIV6KXBJBM5RJVLZGBAAVAVCNFSM6AAAAABI4QICWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJSGA3TEMRQG4 . You are receiving this because you modified the open/close state.Message ID: @.***>

izivkov avatar Jun 07 '24 22:06 izivkov

I tested on a newer Xiaomi phone with Android 13 and yes, it works. Well, at least the error message does not appears, but I couldn't test video functionality because I had no other phone available at that moment.

Quantum-Future avatar Jul 08 '24 04:07 Quantum-Future

I upgraded to Ver 3.2 and noticed this:

  • When the app starts with WiFi disabled, the message about WiFi required appears.
  • Then I enabled WiFi and started the app again, but the same message appears (does not detect that WiFi is active).
  • I forced the stop of the app and then re-startet it. Now it detects that WiFi is active and works as expected.

I hope this helps to solve the problem in the next version.

Quantum-Future avatar Jul 21 '24 07:07 Quantum-Future

Is the OnePlus connected to WiFi? Are you running only 2 phones at a time?

On Sun, Jul 21, 2024, 3:58 AM Quantum-Future @.***> wrote:

I upgraded to Ver 3.2 and noticed this:

  • When the app starts with WiFi disabled, the message about WiFi required appears.
  • Then I enabled WiFi and started the app again, but the same message appears (does not detect that WiFi is active).
  • I forced the stop of the app and then re-startet it. Now it detects that WiFi is active and works as expected.

I hope this helps to solve the problem in the next version.

— Reply to this email directly, view it on GitHub https://github.com/izivkov/RemoteVideoCam/issues/8#issuecomment-2241516936, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37VT7KSIWE7IFRS2EEDZNNS3VAVCNFSM6AAAAABI4QICWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBRGUYTMOJTGY . You are receiving this because you modified the open/close state.Message ID: @.***>

izivkov avatar Jul 21 '24 15:07 izivkov

I don't have a OnePlus, I have a Xiaomi. The comment about the OnePlus and other 2 phones, was from another user (jaimet). I started to comment in this thread, because I had the same problem as Jaimet.

My previous post was using only the Xiaomi.

Quantum-Future avatar Jul 22 '24 20:07 Quantum-Future

I'm not sure how to reproduce the issue. I'll live it open for a while, to see if anyone can pick it up and try to address it.

On Mon, Jul 22, 2024, 4:47 PM Quantum-Future @.***> wrote:

I don't have a OnePlus, I have a Xiaomi. The comment about the OnePlus and other 2 phones, was from another user (jaimet). I started to comment in this thread, because I had the same problem as Jaimet.

My previous post was using only the Xiaomi.

— Reply to this email directly, view it on GitHub https://github.com/izivkov/RemoteVideoCam/issues/8#issuecomment-2243786370, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7M37VWQTRUQTVAZJJGMBDZNVVVBAVCNFSM6AAAAABI4QICWKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENBTG44DMMZXGA . You are receiving this because you modified the open/close state.Message ID: @.***>

izivkov avatar Jul 23 '24 03:07 izivkov

I think the problem does not happen on all Android versions. As I said before, I tested it on another Xiaomi phone with Android 13, and this message doesn't appear. The problem happens on a Xiaomi with Android 9. Can you obtain a phone with android 9 to test it?

PS: This issue is not open.

Quantum-Future avatar Jul 23 '24 05:07 Quantum-Future