mirror of
https://github.com/samsonjs/media.git
synced 2026-04-01 10:35:48 +00:00
Update PlayerView javadoc
Added a note about using TextureView only on hardware accelerated window. Issue: #3901 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187498594
This commit is contained in:
parent
a3c8062e52
commit
380ec82881
1 changed files with 3 additions and 1 deletions
|
|
@ -111,7 +111,9 @@ import java.util.List;
|
|||
* <li><b>{@code surface_type}</b> - The type of surface view used for video playbacks. Valid
|
||||
* values are {@code surface_view}, {@code texture_view} and {@code none}. Using {@code none}
|
||||
* is recommended for audio only applications, since creating the surface can be expensive.
|
||||
* Using {@code surface_view} is recommended for video applications.
|
||||
* Using {@code surface_view} is recommended for video applications. Note, TextureView can
|
||||
* only be used in a hardware accelerated window. When rendered in software, TextureView will
|
||||
* draw nothing.
|
||||
* <ul>
|
||||
* <li>Corresponding method: None
|
||||
* <li>Default: {@code surface_view}
|
||||
|
|
|
|||
Loading…
Reference in a new issue