We often see requests for the ability to add a live preview to the mobile control applications that are available for the PTZOptics cameras and until recently there was no solution we could offer.
Using the Android 7.0, or greater, platform there is a multi-window feature that was added, sometimes referred to as “split-screen,” where you can view two active applications at the same time.
With this feature we can now have a live preview of a PTZOptics camera with P/T/Z control on the same screen at the same time using the proper applications.
- PanTiltZoom - on Google Play Store for P/T/Z control
VLC - on Google Play Store for Live Preview using RTSP
Once you have installed both applications on your Android device you’ll need to open both applications and setup as follows:
Open the PanTiltZoom application
Click the “Setup” gear in the top right corner to setup your camera
Name - use any title that works for you
IP Address - Current IP address of the PTZOptics camera to control
VISCA Port - 5678 (default)
VISCA Address - 1 (default)
Exit this screen, using the back button and the close button that follows, and you should now see your name shown on the first camera selection button
Click that button with the new Name in place and the button should turn green.
You can verify you have control of the camera at this time by moving the joystick around
Your PanTiltZoom Application is now ready to be “split-screened” with VLC… we just have to get VLC setup
Open the VLC application
Click the three (3) bars in the top left of the application
For “Enter network address: e.g…” you’ll need to supply the string used to access the RTSP feed of your PTZOptics camera
HD RTSP Stream - rtsp://<camera ip>:554/1
SD RTSP Stream - rtsp://<camera ip>:554/2
Camera IP = 192.168.100.88
RTSP = rtsp://192.168.100.88:554/1
Click the “Paper Airplane” icon to start streaming a live preview Note: please be aware there may be latency experienced in viewing the stream via VLC
VLC is now setup to be “split-screened” with the PanTiltZoom application
Note: I did not need to enable “split-screen” or multi-window mode on my Android device however with different versions you may need to enable the feature before you can proceed.
Exit to the main Android screen using the “HOME” button
Now use Android to show you all active applications… for me this is done by swiping up from the “HOME” button but differs depending on the manufacturer please see the example screenshot below
You’ll notice each application has a small “bubble,” or circle, with its own icon at the top
Push and hold the “bubble” icon above VLC until a new menu appears
Select “Split-Screen” and the application will lock itself to the top of your screen
Now without exiting the application selection screen, as shown above, simply click on the PanTiltZoom application to make it the second application used with “split-screen” mode.
You can drag the bar in between the two (2) applications to adjust the size of each application until you find a comfortable fit
Please see screen-shot example of the finished solution below