# How to get texture view from Bitmovin Player in Android?

**URL:** <https://community.bitmovin.com/t/how-to-get-texture-view-from-bitmovin-player-in-android/2461>\
**Category:** Support\
**Tags:** bitmovin-player, android, bitmovin, java, kotlin\
**Created:** [November 20, 2023, 8:02pm UTC](https://community.bitmovin.com/t/how-to-get-texture-view-from-bitmovin-player-in-android/2461 "2023-11-20T20:02:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamravigautam](https://avatars.discourse-cdn.com/v4/letter/i/f17d59/32.png) [@iamravigautam](https://community.bitmovin.com/u/iamravigautam)\
**Post date:** [November 20, 2023, 8:02pm UTC](https://community.bitmovin.com/t/how-to-get-texture-view-from-bitmovin-player-in-android/2461/1 "2023-11-20T20:02:14Z")

</div>

Hi Team,

I am trying to migrate from ExoPlayer to Bitmovin Player. I was getting the texture view from Exoplayer using the following code block:

```auto
TextureView textureView = (TextureView) exoPlayer.getVideoSurfaceView();

```

Now I need to get the same texture view from the Bitmovin Player.

Any help would be appreciated.

Thanks.

---

<div class="post-metadata">

**Author:** ![Lukas](https://sea1.discourse-cdn.com/flex015/user_avatar/community.bitmovin.com/lukas/32/393_2.png) [@Lukas](https://community.bitmovin.com/u/Lukas)\
**Post date:** [November 24, 2023, 8:58am UTC](https://community.bitmovin.com/t/how-to-get-texture-view-from-bitmovin-player-in-android/2461/2 "2023-11-24T08:58:07Z")

</div>

Hi Ravi,

unfortunately this is currently not possible in the Bitmovin Player as the player uses a `SurfaceView` under the hood for [performance reasons](https://source.android.com/docs/core/graphics/arch-tv#surface_or_texture).

We had similar requirements in the past and will monitoring further interest on this post as well as other channels and will let you know here when there’s any movement.

Can you please outline the use case a bit more, maybe there is a different way of achieving your goal?

Best,  
Lukas

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/bitmovin/original/1X/1ab86334145095b0af9c5b924fa3ae6d920b6482.png) [@system](https://community.bitmovin.com/u/system)\
**Post date:** [March 4, 2024, 2:11pm UTC](https://community.bitmovin.com/t/how-to-get-texture-view-from-bitmovin-player-in-android/2461/3 "2024-03-04T14:11:48Z")

</div>

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.
