# Using VisionLib Tracking on Magic Leap 2 while doing WebRTC

**URL:** <https://forum.magicleap.cloud/t/using-visionlib-tracking-on-magic-leap-2-while-doing-webrtc/2144>\
**Category:** Unity Development\
**Created:** [June 29, 2023, 12:55pm UTC](https://forum.magicleap.cloud/t/using-visionlib-tracking-on-magic-leap-2-while-doing-webrtc/2144 "2023-06-29T12:55:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tokufxug](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/tokufxug/32/172_2.png) [@tokufxug](https://forum.magicleap.cloud/u/tokufxug)\
**Post date:** [June 29, 2023, 12:55pm UTC](https://forum.magicleap.cloud/t/using-visionlib-tracking-on-magic-leap-2-while-doing-webrtc/2144/1 "2023-06-29T12:55:38Z")

</div>

Hi,  
Can I use VisionLib Tracking on Magic Leap 2 or Vuforia while doing WebRTC? Can I use these features to transmit data to WebRTC from the video displayed by the 3D content?

---

<div class="post-metadata">

**Author:** ![kdowney](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kdowney/32/481_2.png) [@kdowney](https://forum.magicleap.cloud/u/kdowney)\
**Post date:** [June 29, 2023, 5:59pm UTC](https://forum.magicleap.cloud/t/using-visionlib-tracking-on-magic-leap-2-while-doing-webrtc/2144/3 "2023-06-29T17:59:34Z")

</div>

Thanks for your question @tokufxug I reached out to Visionlib and will confirm if possible or not asap.

---

<div class="post-metadata">

**Author:** ![mischmit](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@mischmit](https://forum.magicleap.cloud/u/mischmit)\
**Post date:** [June 30, 2023, 8:33am UTC](https://forum.magicleap.cloud/t/using-visionlib-tracking-on-magic-leap-2-while-doing-webrtc/2144/4 "2023-06-30T08:33:46Z")

</div>

I did not try this myself, so I can't say if for sure.

VisionLib uses the Magic Leap 2's "MLCVCamera" component that exposes access to camera images in Unity.

So if the MLWebRTC example is compatible with the MLCVCamera example, it should work.

Adding results from the tracking to the metadata of WebRTC is a separate question.
