Monitoring

CrMonitoringDeliverySetting

Class describing Monitoring setting information.

Member Variables

Name

Type([1])

Summary

type

CrMonitoringDeliveryType

Type of delivery format

ipAddress

CrInt8u* (16:10-18)

IP address of host device.

downTime

CrInt32u

Time to check for no delivery data received.
Unit is milliseconds.
For example, if 5000 is set, the OnWarning() callback will notify “CrWarning_ControlMonitoring_LostReceiving” if it detects that the live view image will not be delivered for more than 5 seconds.
When 0 is specified, no delivery check is performed.

videoPort

CrInt32u

Receive port number for image data.

Specify a number between 0 or 49152~65535(Range of ports that users can use for socket communication).
0 means default value specification. In that case, it will be replaced by 55001.
Note:
55003 and 55005 are unavailable due to reserved ports.

metaPort

CrInt32u

Receive port number for meta data at received image data.

Support from setting version is 1.01 at CrDeviceProperty_MonitoringSettingVersion.
Specify a number between 0 or 49152~65535(Range of ports that users can use for socket communication).
0 means default value specification. In that case, it will be replaced by 55005.
Note:
55001 and 55003 are unavailable due to reserved ports.

deliveryImageQualityLevel

CrMonitoringFormat_DeliveryImageQualityLevel

Select quality level of delivery image.
Support from setting version is 1.01 at CrDeviceProperty_MonitoringSettingVersion.

transportProtocol

CrMonitoringTransportProtocol

Select transport protocol.
See:

FootNotes

Member Functions

Signature

Description

Constructor

-

Destructor

-

CrError SetIpAddress(const char* _ipAddress)

Set the ipAddress. String argument must not contain size information.

const char* GetIpAddress()

Get the ipAddress.

CrMonitoringDeliveryType

Enumerate the type of delivery format.

Member Enumerations

Definition

Summary

CrMonitoringDeliveryType_None

-

CrMonitoringDeliveryType_Jpeg

Jpeg

CrMonitoringOperation

Enumerate the type of operation.

Member Enumerations

Definition

Summary

CrMonitoringOperation_Stop

Stop

CrMonitoringOperation_Start

Start

CrMonitoringFormat_DeliveryImageQualityLevel

Enumerate the type of delivery image quality level.

Member Enumerations

Definition

Summary

CrMonitoringFormat_DeliveryImageQualityLevel_Invalid

Invalid

CrMonitoringFormat_DeliveryImageQualityLevel_Level1

Level 1

CrMonitoringFormat_DeliveryImageQualityLevel_Level2

Level 2

CrMonitoringFormat_DeliveryImageQualityLevel_Level3

Level 3

CrMonitoringFormat_DeliveryImageQualityLevel_Level4

Level 4

CrMonitoringFormat_DeliveryImageQualityLevel_Level5

Level 5

CrMonitoringFormat

Struct describing monitoring available format. The following information is included in 64 bits respectively. Undefined bits are Reserved.

Member Variables

Name

Type

Summary

deliveryImageQualityLevel

CrMonitoringFormat_DeliveryImageQualityLevel

Field order bit[0-7]
Image quality level.

videoCodec

CrMonitoringFormat_VideoCodec

Field order bit[8-15]
Video codec.

resolution

CrMonitoringFormat_Resolution

Field order bit[16-23]
Resolution.

framerate

CrMonitoringFormat_FrameRate

Field order bit[24-31]
Frame rate.

bitRate

CrInt16u (15bit)

Field order bit[32-46]
Bitrate.
100 times the real value.

resolutionVariableFlag

CrInt16u (1bit)

Field order bit[47]
If this value is 0b1, resolution is variable. (resolution is not enumerate in CrMonitoringFormat_Resolution)

Example of CrMonitoringFormat:

deliveryImageQualityLevel

videoCodec

resolution

framerate

bitRate

resolutionVariableFlag

Level 1

JPEG

640x360

7.5p

2Mbps

Not Variable

Level 2

JPEG

640x360

30p

8Mbps

Not Variable

Level 3

JPEG

1024x576

30p

24Mbps

Not Variable

CrMonitoringFormat_VideoCodec

Enumerate the type of video codec in CrMonitoringFormat.

Member Enumerations

Definition

Summary

CrMonitoringFormat_VideoCodec_Jpeg

Jpeg

CrMonitoringFormat_VideoCodec_H264

H.264

CrMonitoringFormat_VideoCodec_H265

H.265

CrMonitoringFormat_Resolution

Enumerate the type of resolution in CrMonitoringFormat.

Member Enumerations

Definition

Summary

CrMonitoringFormat_Resolution_480x270

480x270

CrMonitoringFormat_Resolution_640x336

640x336

CrMonitoringFormat_Resolution_640x360

640x360

CrMonitoringFormat_Resolution_1024x544

1024x544

CrMonitoringFormat_Resolution_1024x576

1024x576

CrMonitoringFormat_Resolution_1280x720

1280x720

CrMonitoringFormat_Resolution_1920x1080

1920x1080

CrMonitoringFormat_Resolution_640x480

640x480

CrMonitoringFormat_Resolution_1024x768

1024x768

CrMonitoringFormat_Resolution_320x240

320x240

CrMonitoringFormat_Resolution_320x216

320x216

CrMonitoringFormat_Resolution_320x184

320x184

CrMonitoringFormat_Resolution_320x168

320x168

CrMonitoringFormat_FrameRate

Enumerate the type of frame rate in CrMonitoringFormat.

Member Enumerations

Definition

Summary

CrMonitoringFormat_FrameRate_7_50fps

7.50 fps

CrMonitoringFormat_FrameRate_23_98fps

23.98 fps

CrMonitoringFormat_FrameRate_24_00fps

24.00 fps

CrMonitoringFormat_FrameRate_25_00fps

25.00 fps

CrMonitoringFormat_FrameRate_29_97fps

29.97 fps

CrMonitoringFormat_FrameRate_30_00fps

30.00 fps