brusdev / V380-SDK

74 stars 50 forks source link

Protocol used for streaming? #1

Open sharun-s opened 6 years ago

sharun-s commented 6 years ago

Hi! Thanks for putting this up. Just wondering what is involved, to port the app to windows. Before I go digging around in the code, I thought I'd ask if you know what protocols are in use for camera discovery and streaming? Thanks again!

umar14 commented 5 years ago

@sharun-s Did you find out the protocol used for streaming?

sharun-s commented 5 years ago

nope @umar14 didn't get much time to work on it

Gowresh7 commented 5 years ago

rtsp protocol is used for streaming

alur222 commented 4 years ago

hi @Gowresh7 can you help me pls. I am trying to view my camera from the office using VLC. Should I just use the public IP of my router at home to access it? thanks for the help

Gowresh7 commented 4 years ago

@alur222 You have to port forward the V380's ip address in your office router. Then using your public ip you can live stream in VLC from home

alur222 commented 4 years ago

@Gowresh7 Hmmm how is the app doing it? I mean wherever I am, for example at the park, using mobile data I can access my camera using the App. What I want to achieve is to also be able to view it using VLC while I am in another house (parents')

Gowresh7 commented 4 years ago

To view it in VLC remotely, you have to do the following:-

  1. Connect V380 to internet (Plug Ethernet from Router to V380)
  2. Find the IP Address assigned to V380 by the router.(It is advisable to reserve the IP address in router settings)
  3. Enable Port Forwarding in your Router for the V380's IP Address.
  4. Make note of your Public IP (Just Google it.)
  5. The V380 rtsp url is generally in the format "rtsp:///live/ch00_1". After port forwarding is enabled, the url will change to "rtsp:///live/ch00_1"
  6. Using this IP, you can live stream in VLC. Note: You will not be able to ptz control the camera movements. I have a different method for that purpose. Will upload the source code for that shortly.