# Screen mirror via UPnP

**URL:** <https://community.yatse.tv/t/screen-mirror-via-upnp/2774>\
**Category:** Feature Requests\
**Created:** [June 26, 2020, 1:49pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774 "2020-06-26T13:49:27Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![ffpp](https://community.yatse.tv/user_avatar/community.yatse.tv/ffpp/32/1664_2.png) [@ffpp](https://community.yatse.tv/u/ffpp)\
**Post date:** [June 26, 2020, 1:49pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/1 "2020-06-26T13:49:27Z")

</div>

Hi, I was wondering if there is a possibility to add screen mirror via UPnP. Like a live stream of my full Android screen. Btw, I’m root, so, I’m open to all kind of methods

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [June 27, 2020, 9:10am UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/2 "2020-06-27T09:10:54Z")

</div>

Sorry no plans for root only features.

---

<div class="post-metadata">

**Author:** ![ffpp](https://community.yatse.tv/user_avatar/community.yatse.tv/ffpp/32/1664_2.png) [@ffpp](https://community.yatse.tv/u/ffpp)\
**Post date:** [June 29, 2020, 2:57am UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/3 "2020-06-29T02:57:06Z")

</div>

There are ways to achieve screen mirror without root. Using root gives better performance, but it’s possible to do it without root

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [June 29, 2020, 6:10am UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/4 "2020-06-29T06:10:19Z")

</div>

Not with sound and most Android devices 😉

---

<div class="post-metadata">

**Author:** ![ffpp](https://community.yatse.tv/user_avatar/community.yatse.tv/ffpp/32/1664_2.png) [@ffpp](https://community.yatse.tv/u/ffpp)\
**Post date:** [June 29, 2020, 12:48pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/5 "2020-06-29T12:48:45Z")

</div>

I think you can. And with sound. Check screen recorder apps. It would be a great addition.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [June 29, 2020, 1:03pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/6 "2020-06-29T13:03:59Z")

</div>

Since you are so good show me the code 😉

Something that works on all Android versions from 5 to 11 and all device manufacturers, then we’ll talk 😉

---

<div class="post-metadata">

**Author:** ![ffpp](https://community.yatse.tv/user_avatar/community.yatse.tv/ffpp/32/1664_2.png) [@ffpp](https://community.yatse.tv/u/ffpp)\
**Post date:** [July 1, 2020, 12:39pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/7 "2020-07-01T12:39:20Z")

</div>

Man, idk how to program Android apps. That’s why I asked for you. There apps that do such a thing, but they are very bad optimised, and have a lot of adds and broken things. If I knew how to program, I’ll probably show you the code, but, since I don’t know how to, I ask you to add this functionality to Yatse. A possibility is to ask people who have coded this into their apps, and see if they can help us, and share with us that tiny part of the code that uses the screen sharing thing of Android.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [July 1, 2020, 12:53pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/8 "2020-07-01T12:53:58Z")

</div>

So you have no idea how things works, but you still know better than me when I tell you that this is not possible for all OS and devices Yatse currently support ?

At some point you may realize there’s something wrong in your actions.

---

<div class="post-metadata">

**Author:** ![ffpp](https://community.yatse.tv/user_avatar/community.yatse.tv/ffpp/32/1664_2.png) [@ffpp](https://community.yatse.tv/u/ffpp)\
**Post date:** [July 3, 2020, 12:35pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/9 "2020-07-03T12:35:13Z")

</div>

Don’t be lazy. Always a little effort helps to achieve goals.

> **[Android - Audio Capture](https://www.tutorialspoint.com/android/android_audio_capture.htm)**
>
> Android Audio Capture - Android has a built in microphone through which you can capture audio and store it , or play it in your phone. There are many ways to do that but the most common way is through MediaRecorder class.

That link explains how MediaRecordrr works on Android, and how you can record screen and audio (idk if it’s internal or not)  
Rn in going to ask to some developers and see if they can help me finding more info.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [July 3, 2020, 12:56pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/10 "2020-07-03T12:56:45Z")

</div>

This is only microphone …

Working API is Android 10 only and many apps can opt out… There’s obvious copyright issues if anyone could record netflix or any spotify music like that.

You are starting to be a little annoying specially since you start to insult me.

Last warning.

---

<div class="post-metadata">

**Author:** ![ffpp](https://community.yatse.tv/user_avatar/community.yatse.tv/ffpp/32/1664_2.png) [@ffpp](https://community.yatse.tv/u/ffpp)\
**Post date:** [July 3, 2020, 2:42pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/11 "2020-07-03T14:42:01Z")

</div>

I’m sorry. I didn’t mean to offend or insult you. It’s just, a lack iniciative from you, but it’s understandable. Afaik, not all apps will let you use the screen record functionality, because it’s secure content that it’s on screen, or apps won’t let you do that. Btw, I think that the default “Miracast” Android function, uses this screen record functionality that it’s present on Android 5 up to Android 10. I’ve already sent emails to 3 different screen record developers, asking them for documentation and information in how to achieve screen recording with internal audio. I apologize for any misunderstandings it may have generated. I hope that we can get this feature soon on yatse

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [July 3, 2020, 2:52pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/12 "2020-07-03T14:52:06Z")

</div>

And you keep going … First I’m lazy, now I lack initiative? What is wrong with you?

Don’t you think I’ve already done my research on this since all those years? What can possibly make you think that you know better than me?  
What you want is not possible before Android 10 just do some simple Google research … And most needs for this features will be blocked by editors.

Android 10 is less than 10% of the devices so no there’s no f…g way to do what you want on all devices that Yatse support. (Yes some specific brand have some random stuff on some versions, but no I won’t do brand specific hacks for no purpose)

No need to answer and try to put some words you do not even understand about technologies you do not understand either.

---

<div class="post-metadata">

**Author:** ![ffpp](https://community.yatse.tv/user_avatar/community.yatse.tv/ffpp/32/1664_2.png) [@ffpp](https://community.yatse.tv/u/ffpp)\
**Post date:** [July 3, 2020, 3:33pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/13 "2020-07-03T15:33:38Z")

</div>

Well, at least I tried. I’m sorry if I got you mad. I was just looking to get a function that it’s present on this app [https://play.google.com/store/apps/details?id=com.mobzapp.screenstream.trial](https://play.google.com/store/apps/details?id=com.mobzapp.screenstream.trial)  
This app, does what I want, but I didn’t know why the performance was bad. I thought that the problem was in how the app was optimised. But I think I cannot confirm that, because I cannot found any other app that does that. Also, the app is full of ads, something that on Yatse I don’t have.  
In case that I receive the emails that I sent to developers, I’ll send here the attachments so you can take a look, and, see if there is something new. I’m pretty sure that it’s completely possible, but don’t bother telling me that it’s possible only on Android 10

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [July 3, 2020, 3:41pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/14 "2020-07-03T15:41:34Z")

</div>

You are incredible, really amazgin 🙂

For the fun extract from their FAQ:

How to mirror with internal audio (entire device system audio) ?

To mirror with internal audio you need to have a ROOTED device with Android 4.4 or higher. Then:

- Go to app preferences, audio preferences
- If you have Android 6 or higher you need to install our [Internal Audio Plugin](https://play.google.com/store/apps/details?id=com.mobzapp.internalaudioplugin&referrer=utm_source%3Dssm_web) app as indicated in settings
- Select the “Internal” audio source or “Mixed” audio source
- Go back from settings and start a new mirroring

So now please stop posting for real, this is no more fun.

---

<div class="post-metadata">

**Author:** ![ffpp](https://community.yatse.tv/user_avatar/community.yatse.tv/ffpp/32/1664_2.png) [@ffpp](https://community.yatse.tv/u/ffpp)\
**Post date:** [July 3, 2020, 3:45pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/15 "2020-07-03T15:45:56Z")

</div>

I wasn’t having fun, but that’s it. It’s impossible. Anyways, thanks for trying.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [July 3, 2020, 4:07pm UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/16 "2020-07-03T16:07:29Z")

</div>

You mean exactly what I’m saying since the first post? 🙂

Thanks for all that time lost not passed on doing something useful for the others.

---

<div class="post-metadata">

**Author:** ![Samare](https://community.yatse.tv/letter_avatar_proxy/v4/letter/s/13edae/32.png) [@Samare](https://community.yatse.tv/u/Samare)\
**Post date:** [June 5, 2022, 11:37am UTC](https://community.yatse.tv/t/screen-mirror-via-upnp/2774/17 "2022-06-05T11:37:13Z")

</div>

Almost two years later, I just tried [the app mentioned above](https://play.google.com/store/apps/details?id=com.mobzapp.screenstream.trial) on an Android 10 phone. It works fine without rooting or any additional app.

Video and sound both work fine, we can mute the sound of the smartphone and the sound still plays on Kodi. Note that by default, the app enables both the internal sound and the microphone sound, so I disabled the microphone.

Here’s the procedure:  
I used the “Lecteurs multimédia” option in the left menu and created a .strm file with

```auto
rtsp://[ip address of the smartphone]:5000/screen

```

as content.  
Then opening the file from Kodi starts the mirroring with sound.

I don’t know what’s the minimal Android version for it to work without root, but given the current [Android versions market shares](https://gs.statcounter.com/android-version-market-share/mobile-tablet/worldwide), it may be worthwhile to look into it for Yatse.
