Media data in the camera server
class MediaInfo
method getMediaCountRange
long getFileSize();
Description: Obtains the file size.
Input parameter: none.
Output parameter: the file size.
Relevant parameter none.
method getFileTimeString
String getFileTimeString();
Description: Obtains the creation time of a file.
Input parameter: none.
Output parameter: the file creation time.
Relevant parameter none.
method getSmallThumbnail
String getSmallThumbnail();
Description: Obtains small media thumbnail pictures.
Input parameter: none.
Output parameter: small media thumbnail pictures.
Relevant parameter none.
method getLargeThumbnail
String getLargeThumbnail();
Description: Obtains large media thumbnail pictures.
Input parameter: none.
Output parameter: large media thumbnail pictures.
Relevant parameter none.
method getOriginalMedia
String getOriginalMedia();
Description: Obtains the URL of a media file.
Input parameter: none.
Output parameter: the URL of a media file.
Relevant parameter none.
method getVideoResolutionAndFps
VideoResolutionAndFps getVideoResolutionAndFps();
Description: Obtains the video resolution and frames per second (FPS).
Input parameter: none.
Output parameter: the video resolution and frames per second (FPS).
Relevant parameter none.
method getVideoEncodeFormat
VideoEncodeFormat getVideoEncodeFormat();
Description: Obtains the video encoding format if the media file is a video.
Input parameter: none.
Output parameter: the video encoding format.
Relevant parameter none.
method getVideoPlayUrl
String getVideoPlayUrl();
Description: Obtains the playback URL if the media file is a video.
Input parameter: none.
Output parameter: the video playback URL.
Relevant parameter none.