Closed BALUSANGEM closed 6 years ago
VideoView can not be supported by Sceneform 1.0. We're looking into a way support this use case for an upcoming release.
If VideoView is not supported, this would also include TextureView and SurfaceView i.e. any way of streaming anchored video content?
We will not be adding support for using VideoView (Or any other SurfaceView) as part of a ViewRenderable, it is a current technical constraint.
However, we just released Sceneform 1.4 that adds the ability to display an android SurfaceTexture on a 3D object in Sceneform using the Sceneform class ExternalTexture. This is a new sample here that shows how to use this to play chroma keyed videos.
Please feel welcome to open new issues for any problems you run into with the new API.
Hi @dsternfeld7, The link you posted for the new sample is broken. Could you repost it? Thanks,
Thanks, the directory structure changed a bit - new link is here.
Hello there, I am trying to develop an AR app to help visual impaired people, so, my main idea is to use WebRTC in order to project computer desktop to an augmented environment where users can easily adjust size of the screen as well proximity to it.
SurfaceViewRenderer is the object used by WebRTC native API, but, as I understand it is an inherit of VidewView witch is not supported.
Would you help me with some hints to achieve this goal? I will really appreciate it
Iam using ViewRenderable with this Layout
TextView's and Button is coming properly in ARScene, but VideoView is moving along with Camera.
My final goal is to play Video with chroma key.but iam unable to play video also