EasyManua.ls Logo

SIYI HM30 - Gimbal Camera Control via SIYI FPV;QGC App

SIYI HM30
157 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
HM30 User Manual v1.3
102
2024 SIYI Technology Copyright
mSurfaceView.getHolder().addCallback(new SurfaceHolder.Callback() {
@Override
public void surfaceCreated(SurfaceHolder holder) {
Logcat.d(TAG, "onSurfaceCreated...");
mConnectionManager.notifySurfaceCreate(holder.getSurface());
}
@Override
public void surfaceChanged(SurfaceHolder holder, int format, int width
, int height) {
}
@Override
public void surfaceDestroyed(SurfaceHolder holder) {
mConnectionManager.notifySurfaceDestroy(holder.getSurface());
}
});
⚫ Dual-Channel FPV Display:
Dual-channel FPV display supports Ethernet connection only. It does not support AOA or USB
connection. For dual-channel FPV display, we should configure the IP addresses first, then create
two “SurfaceView” for image display. Whether the second video stream is required or not can be
judged by the connection type through connection status. You can refer to “demo” for detail.
⚫ When you quit the application, please do not forget to call the
“UsbConnectionManager.release()” method.
For more detail, please refer to the codes in “demo”.
5.6.2 Interface Instructions
ConnectionManager
Name
Description
getInstance(Context context)
Single case method for
“ConnectionManager”
setWirelessUrl(String url1, String url2)
Set the addresses for video stream.
checkConnectWithIntent(Intent intent)
Initial the connection.
notifySurfaceCreate(Surface surface)
Notify that the first “Surface” is
created, the “Surface” is for video
display.
notifySurfaceDestroy(Surface surface)
Notify that the first “Surface” is
destroyed.

Table of Contents

Other manuals for SIYI HM30