# RTMP into Video Texture

**URL:** <https://forum.babylonjs.com/t/rtmp-into-video-texture/21110>\
**Category:** Questions\
**Created:** [May 25, 2021, 1:29pm UTC](https://forum.babylonjs.com/t/rtmp-into-video-texture/21110 "2021-05-25T13:29:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![VtuberFan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vtuberfan/32/11322_2.png) [@VtuberFan](https://forum.babylonjs.com/u/VtuberFan)\
**Post date:** [May 25, 2021, 1:29pm UTC](https://forum.babylonjs.com/t/rtmp-into-video-texture/21110/1 "2021-05-25T13:29:33Z")

</div>

Hi Everyone is it possible to use a RTMP as a video texture ??

---

<div class="post-metadata">

**Author:** ![Deltakosh](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/deltakosh/32/26635_2.png) [@Deltakosh](https://forum.babylonjs.com/u/Deltakosh)\
**Post date:** [May 25, 2021, 3:12pm UTC](https://forum.babylonjs.com/t/rtmp-into-video-texture/21110/2 "2021-05-25T15:12:39Z")

</div>

I don’t know for sure but the only thing needed by Babylonjs is a videoElement. So if your videoElement is connected to source through RTMP I see no reason for it to fail

---

<div class="post-metadata">

**Author:** ![VtuberFan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vtuberfan/32/11322_2.png) [@VtuberFan](https://forum.babylonjs.com/u/VtuberFan)\
**Post date:** [May 26, 2021, 10:12am UTC](https://forum.babylonjs.com/t/rtmp-into-video-texture/21110/3 "2021-05-26T10:12:42Z")

</div>

Okay I will try it and let you know here!

---

<div class="post-metadata">

**Author:** ![VtuberFan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vtuberfan/32/11322_2.png) [@VtuberFan](https://forum.babylonjs.com/u/VtuberFan)\
**Post date:** [May 29, 2021, 10:29am UTC](https://forum.babylonjs.com/t/rtmp-into-video-texture/21110/4 "2021-05-29T10:29:11Z")

</div>

I’m still planning to test it out with an RTMP link (for testing purposes, I was planning to use a youtube link or some mp4 video link) but I want to ask (out of topic question). Theoretically speaking, if I use a video element will it be possible to use the video player controls as well?

---

<div class="post-metadata">

**Author:** ![labris](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/labris/32/12576_2.png) [@labris](https://forum.babylonjs.com/u/labris)\
**Post date:** [May 29, 2021, 11:41am UTC](https://forum.babylonjs.com/t/rtmp-into-video-texture/21110/5 "2021-05-29T11:41:20Z")

</div>

If you want video controls like Youtube you may use it like [Youtube videos on a mesh (port of CSS3DRenderer.js)](https://forum.babylonjs.com/t/youtube-videos-on-a-mesh-port-of-css3drenderer-js/10600).

---

<div class="post-metadata">

**Author:** ![VtuberFan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/vtuberfan/32/11322_2.png) [@VtuberFan](https://forum.babylonjs.com/u/VtuberFan)\
**Post date:** [May 29, 2021, 8:40pm UTC](https://forum.babylonjs.com/t/rtmp-into-video-texture/21110/6 "2021-05-29T20:40:37Z")

</div>

I might not be able to use this. primarily due to 2 reasons. First, I actually struggled to implement this (somehow, the iframe is not rendering properly to the mesh) Second, I actually notice that if you have a model that has walls/doors(like a house mesh) the video can be seen thru walls.
