[TIMOB-17555] Android: Implement TextureView Android for Media Streams
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | None |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.3.0 |
Fix Version/s | n/a |
Components | Android |
Labels | TCSupport, android, media, stream, textureview |
Reporter | Patrick van Vuuren |
Assignee | Unknown |
Created | 2014-07-21T08:36:37.000+0000 |
Updated | 2018-02-28T20:04:07.000+0000 |
Description
According to the docs of Android Developers:
??citation??
"A TextureView can be used to display a content stream. Such a content stream can for instance be a video or an OpenGL scene. The content stream can come from the application's process as well as a remote process.
TextureView can only be used in a hardware accelerated window. When rendered in software, TextureView will draw nothing.
Unlike SurfaceView, TextureView does not create a separate window but behaves as a regular View. This key difference allows a TextureView to be moved, transformed, animated, etc. For instance, you can make a TextureView semi-translucent by calling myView.setAlpha(0.5f)."
??citation??
This TextureView allows us to create features like youtube has implemented to drag video's and such.
Also we will be able to (I think) use video's inside scroll views using these TextureViews as they act the same as a normal view, which means they can be transformed and thus scrolled.
Is it possible to add this feature in the future?
No comments