Operation sequence and Sample code

This section describes the basic operation sequence of Camera Remote SDK. At the beginning of all camera operations, Init() must be called to initialize Camera Remote SDK, and at the end of the operation, Release() must be called to release all resources. EnumCameraObjects() enumerates connected cameras that can be connected with this Camera.

No.

Operation sequence

Sample code

1

Initialize and Release Camera Remote SDK

sample “connect”

2

Enumerate Cameras

sample “connect”

3

Create a “Camera Object” with information known in advance

sample “CreateCameraObjectInfo”

4

Connect a Camera

sample “connect”

5

Disconnect a Camera

sample “connect”

6

Changes in Camera Remote SDK connection status

sample “connect”

7

Connect/Disconnect multiple cameras

sample “connect to multi-camera”

8

Get the Camera Properties

sample “get/set device property, send command”

9

Get the Live View Properties

10

Device Properties and Live View Properties

sample “get/set device property, send command”

11

Change the Camera Properties

sample “get/set device property, send command”

12

Send a Control Command

sample “get/set device property, send command”

13

Send a Control Code

sample “get/set device property, send command”

14

Get a Live View Image

15

Capture an Image Sequence

sample “AF Shooting”

16

Change the Store Image Folder and the File Name

sample “connect”

17

Get the menu display string

see “execute_xx_displaystringlist” of RemoteCli app.

18

Pull out content stored on media in ContentsTransferMode

sample “Pull out content in ContentsTransferMode”

19

Pull out content stored on media in RemoteTransferMode

sample “Pull/delete/playback content in RemoteTransferMode”

20

Get the MediaProfile

sample “control FTP Job”

21

SDK Properties

22

Download and upload setting files

sample “Download and upload setting files”

23

Control the FTP Jobs

sample “control FTP Job”

24

FTP Server Setting

sample “FTPServerSetting”

25

Control Monitoring

sample “control Monitoring”

26

Memorize Zoom Distance and Focal Distance

see “execute_xx_zoom_and_focus_preset” of RemoteCli app.

27

Get OSD(On-Screen Display) Image

28

Movie Playback

sample “Pull/delete/playback content in RemoteTransferMode”

29

Remote Firmware Update

see “xx_firmware” of RemoteCli app.

30

Lens information and Focus position

sample “get LensInformation”

31

Control Pan/Tilt

see “control_ptzf_xx” of RemoteCli app.

32

Create/Clear Preset PTZF

see “xx_ptzf_preset” of RemoteCli app.

33

Set/Get the TimeZone Setting

see “xx_timezone_setting” of RemoteCli app.

34

Delete Contents from Media by Contents Transfer with remote control mode

sample “Pull/delete/playback content in RemoteTransferMode”

35

upload CustomGridLine

sample “upload CustomGridLine”

36

Set Eframing

sample “set Eframing”

37

Request Operation

sample “Request Operation”

38

PostView image transfer to RAM

sample “Pull/delete/playback content in RemoteTransferMode”