runnane Everything that matters ++


Setting up relay for an Axis IP-camera

I tried googling how to set up a relay for an internal IP-camera on a public webserver.  I have an Axis 211M with username/password root:root on ip The source is MJPEG, and after some packet inspection i identified the boundary to be "--myboundary" for the multipart.

Not much (useful) showed up on google, so I ended up doing this:


header('Content-Type: multipart/x-mixed-replace; boundary=--myboundary');
readfile('http://root:[email protected]/mjpg/video.mjpg');


Keep in mind, this is only a 1:1 relay, and no caching is enabled. It will also choke your webserver if you do a lot (?) of connections.

Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.