Adobe-Runtime-Support icon indicating copy to clipboard operation
Adobe-Runtime-Support copied to clipboard

[Feature Request][Android] `NetStream` media (video) decoder selector

Open itlancer opened this issue 1 year ago • 0 comments

Feature Description

A lot of Android devices (especially TV boxes and Android TV) have issues with default video decoders. Sometimes it cause artifacts with video playback or NetStream.Play.Failed errors. Sometimes video doesn't playback at all or it cause crashes. With most of such "problem" devices there is few video decoders available in firmware. And other decoders could works fine for video playback. Also some video decoders support not just MP4 H.264 but other video formats too.

That's why AIR should have ability to select video decoder for NetStream. It should be available in runtime to avoid problem video decoders per device model or implement fallback on NetStream.Play.Failed error events. https://developer.android.com/reference/android/media/MediaCodecList

Related issues: https://github.com/airsdk/Adobe-Runtime-Support/issues/2402 https://github.com/airsdk/Adobe-Runtime-Support/issues/2268 https://github.com/airsdk/Adobe-Runtime-Support/issues/2125 https://github.com/airsdk/Adobe-Runtime-Support/issues/1174 https://github.com/airsdk/Adobe-Runtime-Support/issues/1159 https://github.com/airsdk/Adobe-Runtime-Support/issues/587 https://github.com/airsdk/Adobe-Runtime-Support/issues/139 https://github.com/airsdk/Adobe-Runtime-Support/issues/93 https://github.com/airsdk/Adobe-Runtime-Support/issues/92 https://github.com/airsdk/Adobe-Runtime-Support/issues/81 https://github.com/airsdk/Adobe-Runtime-Support/issues/2934 https://github.com/airsdk/Adobe-Runtime-Support/issues/2910 https://github.com/airsdk/Adobe-Runtime-Support/issues/180 https://github.com/airsdk/Adobe-Runtime-Support/issues/171 https://github.com/airsdk/Adobe-Runtime-Support/issues/141 https://github.com/airsdk/Adobe-Runtime-Support/issues/68

Known Workarounds

Write own native extension to playback video.

itlancer avatar Mar 14 '24 09:03 itlancer