CastingDevicePicker doesn't find the emulator

Denys Huska 0 Reputation points

I want to stream video to the remote device in UWP C#. I use a MediaElement and CastDevicePicker. I did everything following the article - CastDevicePciker doesn't find the emulator (screenshot - Ping to the device with the application is successful, and ping to the emulator is successful as well. So, I think that the Device with the application and the emulator is on the same local network.

What I am doing wrong?

I try to get a connection with the emulator, but nothing happened.

I use a Microsoft Emulator -

Universal Windows Platform (UWP)
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,233 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Li - MSFT 31,766 Reputation points Microsoft Vendor


    Welcome to Microsoft Q&A!

    This is expected behavior. Based on the document- CastingDevice object represents a physical device that is capable of supporting casting connections and rendering media content sent to it. When you are trying to use CastingDevicePicker to pick an emulator, it is not considered as a CastingDevice object. So the emulator is not listed. Please try to use a physical device to test.

    Thank you.

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments