CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
H.264 playback (Android)
Supported Android OS
To use H.264 playback, you need a device running Android OS 4.1 (API level 16) or later.
(If you don't need H.264 playback, Android OS 2.3 or later is fine.)
Limitations
There are some limitations when using H.264 playback on Android, as shown below.
About correspondence to unsupported terminal
Depending on the Android OS version and the Graphics API selected in Unity, display problems may occur.
Whether or not the device supports rendering of H.264 movies can be determined by calling the following function:
bool isH264CodecSupported = CriManaPlugin.IsCodecSupported(CriMana.CodecType.H264);
If this function returns false, the display of a H.264 movie can not be performed on the current device.
In this case, it is recommended to check when the application is first launched and download Sofdec.Prime movie data instead, or notify the user that the device is unsupported, or offer to skip movie playback, etc.
If the function above returns true without rendering the video, please try with the latest version of the SDK.
Here is the list of the non-compliant devices that we have confirmed so far.
Device (model number) OS Remarks
Zenfone2 (ASUS_Z00AD) 5.0 It is not supported only when the graphics API is OpenGLES3.
Galaxy A8(SCV32) 5.1.1 It is not supported only when the graphics API is OpenGLES3. Resolved by OS update.
Galaxy S6 edge (SCV31) 5.0.2 It is not supported only when the graphics API is OpenGLES3. Resolved by OS update.
ZenFone Zoom(ZX551ML) 5.0 It is not supported only when the graphics API is OpenGLES3. Resolved by OS update.
Nexus 9 7.1.1 It is not supported only when the graphics API is OpenGLES3.
XPERIA (so-01G) 6.0 It is not supported only when the graphics API is OpenGLES3.
d-02H 5.1.1 It is not supported only when the graphics API is OpenGLES3.
dtab d-01h 5.1.1 It is not supported only when the graphics API is OpenGLES3.