Skip to content
  • Thomas Guillem's avatar
    java_sample: handle OpenGL ES2 vout layouts · 5c9c1ccd
    Thomas Guillem authored
    When OpenGL ES2 is used (for software decoding, or when we need to do a
    transformation like 360 videos), OnNewVideoLayoutListener won't be triggered
    and mVideoWidth/Height will be 0. In that case, we should change the surface
    layout using the MediaPlayer API.
    5c9c1ccd