Elektroda.com
Elektroda.com
X

Search our partners

Find the latest content on electronic components. Datasheets.com
Elektroda.com

IP camera preview on an Android smartphone

9123 11
This content has been translated » The original version can be found here
  • Level 10  
    Hello dear group.

    I used to ask here how to get a preview from an IP camera from anywhere, not just from an internal network or via WiFi.

    The answer I received was very ... general and did not solve the problem in any way.

    I answered myself :) , i.e. ..... I found a solution, and in general it was about port forwarding in the router, i.e. now by entering the domain name or directly the IP address + port number in the web browser, I can easily connect to the camera.
    What's more, I described here on the electrode quite exactly how I did it and .... someone benefited, that is ... I helped not only myself.

    Everything OK but ..... I wanted to preview through a smartphone (Samsung Galaxy S7) with Android Oreo.

    I probably installed from 40 different applications to connect to cameras and ...... NOTHING, i.e. whatever I do and I don't use any settings, it's ZERO connection.

    I found ONLY ONE application (some Chinese) that connects, but .... the quality of the message is so tragic that it has no use, but ..... connect.

    Of course, I can simply launch the web browser and ... how to connect to a computer and .... I connect without a problem, i.e. the login panel is shown and you can log in normally, and after logging in you can set everything you want.
    So what if ..... there is no preview, and there is not, because for it to be, the browser (as on a Windows computer) needs a plugin so that the webcam preview is visible and here is the problem, because ..... browsers mobile simply do not support plugins.

    Of course, you can always connect through the cloud, but ...... the manufacturer of the webcam, i.e. Dahua, admittedly gives such an opportunity and it even worked.
    It worked (briefly) until I used the free limit.
    Now the attempt to use the producer's cloud ends with nothing, i.e. zero of any transfer.

    Either way, I am not able to preview the webcam on my smartphone in any way by connecting outside the local network.

    The ideal would be if there was an application to which I simply enter the IP address + port (as in the case of a web browser) and ... that's all, but ... NO application simply has such possibilities beyond the above:
    https://play.google.com/store/apps/details?id=com.zexu.ipcamera

    If someone has survived to this place and would like to help, then ..... please write quite simply what should be done to get a preview of the webcam on your smartphone without using the cloud.

    I will add that I am so-called a festivity when it comes to computer networks.
  • Automation specialist
    I will try to make it short and clear without details.
    1. Have internet with public IP. This IP can be dynamic.
    2. This internet has to have upload minimum 2Mb. Where the recorder is, of course.
    3. In case of poor upload limit the image quality (bitrate, resolution, number of frames, etc.)
    4. Have port forwarding on the router. Usually it's 554, 37777,37778 but I recommend you to forward them to other numbers.
    5. Set everything in gDMSS or similar application from Dahua
    And that's it...
  • Level 10  
    @xury

    Thank you for the quick reply, but .....:

    Quote:
    1. Have internet with public IP. This IP can be dynamic.

    I do not know if I wrote it correctly, but .... since I enter into the web browser run on a computer with Windows the IP address in the form 45.67.265.85:3456 and everything works as it should, then probably the address is public if it works ...

    What's more, on my smartphone, in the browser (Chrome) I also (as I wrote) connect to the webcam without a problem, i.e. I can control (PTZ) and set it as I want, but .... DO NOT SEE ANYTHING ON THE SCREEN because the plug is missing, and its installation does not do anything, because mobile browsers do not support plugins.

    Quote:
    2. This internet will have a minimum 2Mb upload.

    Download 504.28 Mb / s
    Upload 26.09 Mb / s

    These are REAL transfers.
    So ..... rather not bad, right?

    Quote:
    3. Have port forwarding on the router. Usually it's 554, 37777,37778 but I recommend you to forward them to other numbers.

    It seemed to me that I wrote that they are redirected.
    Anyway, if they were not, then there would be no connection from the outside, right? And it is on the computer.
    It is not on the smartphone using the application.
    It's on the smartphone using the browser, but .... no image for the above reasons.

    Quote:
    4. Set everything in gDMSS or similar application from Dahua
    And that's it...

    Well, I'm setting and ..... NOTHING, i.e. ZERO connections.
  • Automation specialist
    Well, if it doesn't work for you, I don't know. Because it ALWAYS works. Maybe you have some rubbish pseudo-antivirus on your smartphone?
    The only alternative is to hack the rtsp stream address and try to load it into some onvifer app.
  • Level 10  
    xury wrote:
    Well, if it doesn't work for you, I don't know. Because it ALWAYS works. Maybe you have some rubbish pseudo-antivirus on your smartphone?

    The phone is brand new and only 2 days old.
    There is nothing on it yet, of course, what Samsung has set up there.

    xury wrote:
    The only alternative is to hack the rtsp stream address and try to load it into some onvifer app.

    As I wrote, I am a layman in these matters and I try to do everything on logic, but .... this does not always lead to solving the problem, especially if I do not move efficiently on the topic.
    That is why I decided to seek the advice of the more "learned scholars".
    Of course, I realize that help would be much more effective if the helper could sit at the computer to whom he helps than guessing "what the poet had in mind" by writing a post :)

    Despite everything, thank you for trying to help me and best regards.
  • Automation specialist
    And by any chance you're not trying to get to the cameras via the internet from your phone and is it Play?
  • Level 10  
    It is not PLAY and ... it is nothing at all, so the phone is without a SIM card yet.

    Attempts are via WiFi.

    The Internet is hulking nice and as I wrote, i.e. I CONNECT to the webcam through the web browser on the phone and the webcam responds to commands, i.e. rotates left, right, up, down.
    The problem is the lack of preview, i.e. black on the screen.
    Let me remind you that this is not a LOCAL connection, but a remote one.
    In other words, the cam is at home, and I'm at work (15 km away) using a smartphone using WiFi, I connect to it without a problem, but I can't see anything on the screen.

    I thought that an application would do the trick, but no application, except the one I mentioned in the first post, simply does not connect.

    I have run out of ideas about what might be wrong.

    I don't know .... maybe these applications do not work properly with the newly released Android Oreo?

    Well, if I deal with the problem, I will write what was wrong, because maybe it will be useful to someone, and if I can't manage it ..... it's hard, I will survive it somehow :)
  • Network and Internet specialist
    Check tinycam monitor application. It works well for me, but not with Dahua.
  • Level 10  
    Welcome back.

    Everything is OK, i.e. FINALLY WORKS .

    The case turned out to be very simple, but ... I did not come to this myself despite very intense and long attempts.

    I called a company that sells IP cameras and installs them.
    They offer a support service for customers who bought equipment from them.

    I did not buy the equipment (as it turned out) from them, but ..... as they are the official distributor of the Dahua company (i.e. my webcam), a very nice Lord agreed to help .... for free and .... he helped.
    >>> Really, I bow my head
  • Network and Internet specialist
    lajosz3 wrote:
    the connection MUST be to the COMPUTER, not to the router, i.e. .... not completely useful for me, but ... maybe I just don't know how to use it properly.

    Definitely second :) But how it works already well :D
  • Level 10  
    @makosuu

    So .... I just don't know what and how :D ?

    makosu, if this is not a problem, and you would have ... inspiration, maybe you would write briefly what you need to do to have a webcam preview in TinyCAM?

    I am asking because I like this TinyCAM much more than the dedicated Dahua (i.e. Lechange) software, and besides it has much more possibilities (saving recordings to FTP and other such).
    Besides, I paid for it (stupidly, I admit it :) ), so it's a shame to waste it :)
  • Network and Internet specialist
    You slide out the menu on the left> camera management> + at the bottom of the screen and click add camera, NVR, DVR> configure your camera, i.e. make model, model, IP address, port etc.
    If your webcam is not present then you can try adding it. You choose settings> author settings> about custom providers. Everything is quite described there.