Trying to connect Wi-Fi camera

SongMom8

New Member
Ok… I am trying to figure out how to use RTSP. I have the format and I get the general idea, but I can’t seem to make it work. Can I go directly from a wireless cam to OBS or does it need an intermediate step? Also, the format I was given says it uses admin as default and the password is blank. Do I use “admin” and skip the password? Or do I use my username and password? The way it’s written is confusing to me.
 

AaronD

Active Member
Where is it written?

As a first guess, you might need something like ...&user="admin"&password="" as part of the URL.
(to read it manually, the &'s separate options in name=value pairs)

That being said, WiFi is notorious for dropping out exactly when you need it, and RTSP is designed to survive the open internet and still be smooth, by sacrificing latency. The robustness of RTSP may somewhat compensate for the unreliability of WiFi, but I still don't think you'll like it because of the latency...and it's still not guaranteed to work at all, when you actually need it. Do you have an option to use a different protocol that assumes a solid local connection, and use a wire instead of WiFi?
 

SongMom8

New Member
Sorry for the delayed reply.

This is for Hiseeeu cameras and this is exactly how it’s written:

rtsp://user:password@ipaddr:port/chN_M.264
user : user name is admin by default
password: The password is empty by default
ipaddr: IP address of the device
port: 80 or 554
N is the channel number: 0 for IPC, 0~3 for 4-way NVR, 0~7 for 8-way NVR, and so on.
M is the stream number: primary stream is 0, secondary stream is 1;

How does this work?

Lag is not an issue with me. Is it possible to connect a Wi-Fi cam without some kind of intermediary step? Is it generally better just to hardwire?

What I am trying to do is livestream an outdoor cam on YouTube.
 

AaronD

Active Member
Picking an IP address at (semi-)random, let's say that your camera is at 192.168.1.12. Then the first URL I'd try is:
rtsp://admin:@192.168.1.12:80/ch0_0.264

See how that goes together? "Empty" is literally nothing.

Try it in a regular web browser first, as that gives you better troubleshooting information. Then when you have something that works, copy it out of the browser and into a browser source in OBS.
 

SongMom8

New Member
Picking an IP address at (semi-)random, let's say that your camera is at 192.168.1.12. Then the first URL I'd try is:
rtsp://admin:@192.168.1.12:80/ch0_0.264

See how that goes together? "Empty" is literally nothing.

Try it in a regular web browser first, as that gives you better troubleshooting information. Then when you have something that works, copy it out of the browser and into a browser source in OBS.
When I put that in a web browser, it says the address is invalid.
 

AaronD

Active Member
When I put that in a web browser, it says the address is invalid.
Hmm... What support does the camera have? Don't mention OBS to them; just make it work in the regular web browser. Then copy what works into a browser source in OBS, and that should "just work" too.

Or, if you're not doing anything to the signal at all, then maybe the camera can go straight to YouTube? Some do that.
 

SongMom8

New Member
How do you "make it work"? Doesn't a web browser only take addresses with http? Sorry, I have no idea what I am doing.
 

AaronD

Active Member
Doesn't a web browser only take addresses with http?
Nope, they'll take a bunch of things. HTTP(S) is only the most common. But if *that one* won't take *that one*, then you might try my guessed URL in a Media source instead, along with the variations that come from the camera's manual. Uncheck the "Local file" box, and put the URL in the Input field.
 
Top