thecowan / wallpanel-android

WallPanel is an Android application for Web Based Dashboards and Home Automation Platforms
https://wallpanel.app
Apache License 2.0
750 stars 103 forks source link

Wrong stream with 320x240 cam #182

Open urbatecte opened 4 years ago

urbatecte commented 4 years ago

Describe the bug Stream send as 800x600 whereas the camera is 320x240. Camera resolution is well detected by wall-panel as 320x240.

To Reproduce Steps to reproduce the behavior:

  1. Camera setting => Selected camera
  2. Click on '1: Front Camera 320x240 0°'
  3. Camera test : work perfectly !
  4. see video flow on http://IP:2971/camera/stream and see green nearly empty picture (expect 5 frame in the uper side, with motion corresponding to what camera is seeing) 5 : motion detection is working

Expected behavior Mmmm, see the picture is the expected video format ;o)

Screenshots If applicable, add screenshots to help explain your problem. image

Smartphone (please complete the following information):

Additional context try with IP CAM app. in the app both video flow seems to be selectable but warning message whatever resolution I pick saying the flow is unavailable. Nevertheless, if I check the URL, I have both choice and : 800x600 wich lead to the same green screen 320x240 with perfectly work ;o)

Tell me if I can provide any log file or other... Thanks for your handy app ;o)

thanksmister commented 4 years ago

Thanks, I will have to test this. What you are saying is the camera test is working, but the MJPEG images are not generated at the correct size to match the camera settings?

urbatecte commented 4 years ago

Excatly 👍

Le 4 mai 2020 14:59:25 GMT+02:00, Michael Ritchie notifications@github.com a écrit :

Thanks, I will have to test this. What you are saying is the camera test is working, but the MJPEG images are not generated at the correct size to match the camera settings?

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/thanksmister/wallpanel-android/issues/182#issuecomment-623448508

-- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.

X015 commented 4 years ago

I have the green Screen with the 320x240 cam. Device: Samsung Galaxy Tab 8.9 (P7310) OS: AOSP 7.1.2

Test also working Perfectly