getMediaInfo
Requires:
@ray-js/lock-sdk≥1.2.0
Method signature
getMediaInfo()Description
Get device camera data
Parameters
None
Return Value
Type: MediaInfo
Data
MediaInfo
| Property | Type | Description |
|---|---|---|
imageAngle | number | Image rotation angle |
videoAngle | number | Video rotation angle |
mediaWidth | number | Resolution width |
mediaHeight | number | Resolution height |
isSEI | boolean | Whether to use the SEI-based angle solution |
supportTalk | boolean | Whether intercom is supported |
isTwoWayTalk | boolean | Whether two-way talk is supported |