OpenVPN Cloud is now CloudConnexa® — learn more here.
Do you have an old smartphone lying around? Don't recycle it or trade it in for a new one for a paltry sum! You can turn it into an Internet Protocol streaming security camera (IP camera) and view the live video stream from anywhere for free. You may get more value from repurposing your smartphone as a security camera than the trade-in value of your old phone.
There are three main components involved in converting your smartphone into an IP streaming security camera that can be accessed securely from anywhere. They are:
The Android or iOS phone provides the camera, operating system, and computing resources to run the streaming application.
You’ll need an application on the smartphone that functions as a Real Time Streaming Protocol (RTSP) server to capture the video feed from the smartphone’s camera, convert it to a video stream, and serve that stream to connected devices on the internet. (For those who may not know, RTSP is a protocol used to stream live video and audio over the internet.)
Your smartphone is connected to your home WiFi network. This network cannot be directly accessed from the internet. We need the means to securely and easily connect to the RTSP server running on the smartphone. This is where our service, CloudConnexa, comes in.
The smartphone creates an always-on secure tunnel to one of the 30+ CloudConnexa locations worldwide. CloudConnexa facilitates authentication, secure connectivity, and routing so that you can view the live stream on a device from anywhere. In order to make connections to CloudConnexa, the smartphone and the device used to view the video stream need to be running our Connect Client software. When the client runs on a device and provides access to applications by creating an unattended always-on connection, that device is called a Connector.
The illustration below shows the smartphone connected to a location in the NY/NJ area while you are connected from a hotel to a Cloud Connexa location in the Los Angeles area.
Here we go! Follow these steps to breathe new life into your smartphone.
Search the app store on your smartphone using “RTSP server” as the search query. Chances are you will find a few free and paid apps. For my iPhone 6 iOS version 12.5.6, I used the free version of Periscope HD. For Android, the RTSP Camera Server Pro app may serve the same purpose.
Before you try to access the video stream from outside your WiFi network, check that it works when you are connected to the same WiFi network as your smartphone. To view the video stream, you need a video player that understands RTSP and the URL being used by your smartphone to serve the video stream.
To find the RTSP URL on the Periscope HD app, select Settings . On the RTSP Camera Server Pro app, the URL is displayed right on the screen. The URL you see should be something like this: rtsp://192.168.1.161:8554/live.sdp.
While there are many free RTSP players, the VLC media player is one of the best ones out there. Install the VLC media player on the device that you want to watch the video stream on. Once installed, follow the steps below to watch the live stream:
Voila! You should be able to see the view from your smartphone’s camera. Now that this works, follow the other steps to watch the video stream from anywhere, any time — not just when you are connected to your home WiFi network.
CloudConnexa has a pricing plan that comes with three free connections; no credit card is required to sign up. So go ahead. Sign up, and create your Wide-area Private Cloud (WPC) today.
You have now converted your smartphone to a server (RTSP server) that needs to be accessed securely from the internet. Next, we need to connect this server to the Cloud Connexa WPC as a Host.
To do this, log in to the administration portal, and add a Host. Provide it with a name and a domain name (camera.home.local). Select one of the Regions closest to your home for the Connector. Select Other for the Connector type during deployment, and then click Next until the setup wizard finishes.
Now, go to the Connector tab of the configured Host, and download the profile in .ovpn format from the Deploy options. Save the .ovpn profile file, and transfer it to your smartphone.
For visual guidance, take a look at this tutorial.
Install the Connect app on your smartphone, import the Connector profile from the prior step, and connect. Now, your RTSP server is part of your WPC and can be accessed from any other device that is connected to your WPC.
To tighten security and ensure that the smartphone is not sending any unauthorized traffic to the internet, set the internet access for the Host to restricted internet. Now, you can be assured that no app is sneakily sending your video feed or other data to any unknown servers on the internet.
Install the Connect app on the device one which you previously installed the RTSP viewer (VLC media player). Import the profile by choosing a CloudConnexa location near you, and connect. (You’ll find these steps in the Administration portal under Documentation > Get Connected).
To access the smartphone using the WPC, you will need to change the RTSP URL by replacing the IP address with the domain name configured for the Host (camera.home.local). For example, rtsp://192.168.1.161:8554/live.sdp will become rtsp://camera.home.local:8554/live.sdp.
Add a new Network stream, with the RTSP URL that uses the domain name, to your VLC media player, and you should be able to view the live video being streamed from your smartphone.
Congrats! All that’s left to do now is boast about your resourcefulness at your next cocktail party.
OpenVPN® is the market-proven leader in secure virtualized networking. Our cloud-based platform enables organizations to maintain secure communication between their distributed workforce, IoT/IIoT devices, and the online services they rely on daily. Built on the market-proven OpenVPN protocol, the solution combines advanced network security, encrypted remote access, and content filtering into a virtualized secure network that provides the best of VPN and ZTNA security.
With over 60 million downloads of our core open-source software and over 20,000 commercial customers, OpenVPN is recognized as a global leader in secure networking.
Ready to take your business to the next level with CloudConnexa? Work from anywhere and from any device with confidence. Create an account today for three free connections and the secure network connectivity your business needs.