audiocodec : audio codec type to check
"MPEG" The audio codec type for MPEG
"MPEG-H" The audio codec type for MPEG-H
"AC3" The audio codec type for AC3
"E-AC3" The audio codec type for E-AC3
"AC4" The audio codec type for AC4
"TrueHD" The audio codec type for TrueHD
"Vorbis" The audio codec type for Vorbis
"G2Cook" The audio codec type for G2Cook
"AAC" The audio codec type for AAC
"HE-AAC" The audio codec type for HE-AAC
"WMA" The audio codec type for WMA
"ADPCM" The audio codec type for ADPCM
"OPUS" The audio codec type for OPUS
"PCM" The audio codec type for PCM
Return Value :
boolean : value to indicate whether the audio codec is supported or not
true: supported
false: unsupported
Exceptions :
WebAPIException
with error type TypeMismatchError, if an input parameter is not compatible with its expected type.
Since : 6.0
Code Example :
try {
var audiocodec = "MPEG";
var value = webapis.systeminfo.isSupportedAudioCodec(audiocodec);
} catch(error) {
console.log("error code = " + error.code);
}
isSupportedVideoCodec
This method check whether the video codec is supported or not
videocodec : video codec type to check
"MPEG1" The video codec type for MPEG1
"MPEG2" The video codec type for MPEG2
"MPEG4" The video codec type for MPEG4
"H263" The video codec type for H263
"H264" The video codec type for H264
"HEVC" The video codec type for HEVC
"VP8" The video codec type for VP8
"VP9" The video codec type for VP9
"RV" The video codec type for RV
"WMV" The video codec type for WMV
"AVS" The video codec type for AVS
"AVS_PLUS" The video codec type for AVS_PLUS
"MJPEG" The video codec type for MJPEG
"JPEG" The video codec type for JPEG
"H264_MVC" The video codec type for H264
"HEIC" The video codec type for HEIC
"AVS2" The video codec type for AVS2
"HEVC_VR360" The video codec type for HEVC_VR360
"H264_VR360" The video codec type for H264_VR360
"VP9_VR360" The video codec type for VP9_VR360
"HEVC_SHVC" The video codec type for HEVC_SHVC
"AV1" The video codec type for AV1
"AV1_VR360" The video codec type for AV1_VR360
Return Value :
boolean : value to indicate whether the video codec is supported or not
true: supported
false: unsupported
Exceptions :
WebAPIException
with error type TypeMismatchError, if an input parameter is not compatible with its expected type.
Since : 6.0
Code Example :
try {
var videocodec = "MPEG4";
var value = webapis.systeminfo.isSupportedVideoCodec(videocodec);
} catch(error) {
console.log("error code = " + error.code);
}
We use cookies to improve your experience on our website and to show you relevant
advertising. Manage you settings for our cookies below.
Essential Cookies
These cookies are essential as they enable you to move around the website. This
category cannot be disabled.
Company
Domain
Samsung Electronics
.samsungdeveloperconference.com
Analytical/Performance Cookies
These cookies collect information about how you use our website. for example which
pages you visit most often. All information these cookies collect is used to improve
how the website works.
Company
Domain
LinkedIn
.linkedin.com
Meta (formerly Facebook)
.samsungdeveloperconference.com
Google Inc.
.samsungdeveloperconference.com
Functionality Cookies
These cookies allow our website to remember choices you make (such as your user name, language or the region your are in) and
tailor the website to provide enhanced features and content for you.
Company
Domain
LinkedIn
.ads.linkedin.com, .linkedin.com
Advertising Cookies
These cookies gather information about your browser habits. They remember that
you've visited our website and share this information with other organizations such
as advertisers.
Company
Domain
LinkedIn
.linkedin.com
Meta (formerly Facebook)
.samsungdeveloperconference.com
Google Inc.
.samsungdeveloperconference.com
Preferences Submitted
You have successfully updated your cookie preferences.