# RTSP streaming from device

**URL:** <https://forum.magicleap.cloud/t/rtsp-streaming-from-device/5235>\
**Category:** Remote Rendering\
**Tags:** feature-request\
**Created:** [February 20, 2025, 12:06pm UTC](https://forum.magicleap.cloud/t/rtsp-streaming-from-device/5235 "2025-02-20T12:06:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhakkis](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@mhakkis](https://forum.magicleap.cloud/u/mhakkis)\
**Post date:** [February 20, 2025, 12:06pm UTC](https://forum.magicleap.cloud/t/rtsp-streaming-from-device/5235/1 "2025-02-20T12:06:32Z")

</div>

Hi,

Is it possible to stream camera (mixed reality) view from the device using e.g. VideoLAN? RTSP? I would like to use streaming option like in MagicLeap Hub, but without hub itself. Or even integrate the streaming feature in my PC application.

---

<div class="post-metadata">

**Author:** ![kbabilinski](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kbabilinski/32/19_2.png) [@kbabilinski](https://forum.magicleap.cloud/u/kbabilinski)\
**Post date:** [February 20, 2025, 4:54pm UTC](https://forum.magicleap.cloud/t/rtsp-streaming-from-device/5235/2 "2025-02-20T16:54:23Z")

</div>

You may want to look at using miracast:

> **[Miracast](https://www.magicleap.care/hc/en-us/articles/29475312984461-Miracast)**
>
> Miracast allows you to wirelessly mirror content from one screen to another. It supports streaming content from your Magic Leap 2 headset to remote displays like a TV or other type of monitor via M...

If you need a more tailored solution you would need to create that yourself however building encoders/decoders for media streams is non-trivial so I recommend taking a look at existing solutions like Unity’s WebRTC package.

---

<div class="post-metadata">

**Author:** ![mhakkis](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@mhakkis](https://forum.magicleap.cloud/u/mhakkis)\
**Post date:** [February 24, 2025, 8:16am UTC](https://forum.magicleap.cloud/t/rtsp-streaming-from-device/5235/3 "2025-02-24T08:16:24Z")

</div>

Miracast is not option. I am familiar with Unity’s WebRTC, but that is not an option either in my case.

My solution is OpenXR with Remote Rendering and, as far as I understand, this does not allow the access the raw camera data.

I am able to use MagicLeap Hub to stream the video. However, for some reason controller’s beam is slightly broken while streaming. I did try the VLC, and ML2 recognized the incoming request but that was all (no stream). Ultimate solution would have my own RTSP stream, because then I would be able to access to the camera data and have some other features as well.

---

<div class="post-metadata">

**Author:** ![kbabilinski](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kbabilinski/32/19_2.png) [@kbabilinski](https://forum.magicleap.cloud/u/kbabilinski)\
**Post date:** [February 24, 2025, 4:42pm UTC](https://forum.magicleap.cloud/t/rtsp-streaming-from-device/5235/4 "2025-02-24T16:42:36Z")

</div>

That is correct, it does not allow for raw camera data access. Unfortunately we do not have a built in solution for this. However, I have sent your feedback to our voice of customer team.

---

<div class="post-metadata">

**Author:** ![mhakkis](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@mhakkis](https://forum.magicleap.cloud/u/mhakkis)\
**Post date:** [February 25, 2025, 8:42am UTC](https://forum.magicleap.cloud/t/rtsp-streaming-from-device/5235/5 "2025-02-25T08:42:10Z")

</div>

I could be able to manage with Magic Leap Hub streaming, but as I wrote earlier, the streaming “breaks” the controller’s beam (that’s why looking alternative options at this point). Controller’s beam is ok on right eye view, but it is “bended” or has “angles” on the left eye view. It is very hard and inconvenient try to use the controller. The beam is ok, if I stream only real view, not virtual element. And the beam is correct in the streamed video on PC, the problems is only visible in the ML2 (left eye).
