![]() ![]() ![]() Hopefully it won't get 'fixed' in a future update. Once the connection is made, my whole screen is broadcast. This Image is just used as a casting source. Var image = new Windows.UI.() Īwait connection.RequestStartCastingAsync(image.GetAsCastingSource()) Create a new casting connection to the device that's been selectedĬonnection = () Ĭonnection.ErrorOccurred += Connection_ErrorOccurred Ĭonnection.StateChanged += Connection_StateChangedAsync your Xbox One into an all-in-one AirPlay + Google Cast + Miracast receiver. If (miraDeviceWatcher.Status != DeviceWatcherStatus.Stopped) Windows 10 is all set and ready to work with the Xbox Wireless Adapter. When a device is selected, first thing we do is stop the watcher so it's search doesn't conflict with streaming MiraDeviceWatcher.Added += miraHandlerAdded Ĭonnect to selected device: public async Task StartCasting(CastingDisplay castee) MiraDevices.Add(disp) //ObservableCollection Extract the contents of the PSTools download to a folder on your PC. Download PSTools from the Microsoft Sysinternals page. Anycast Plus HDMI Wireless Display Receiver, SmartSee Airplay MiraCast Adapter DLNA Streaming Stick. MiraScreen D7 5G Wireless WiFi Display Dongle, 1080P HDMI Wireless Display Receiver. ![]() Var disp = new CastingDisplay(addedDevice) //my viewmodel Using PSTools will not remove ScreenBeam profiles from the Bluetooth and Other Devices menu. ScreenBeam 960 Wireless Display Receiver Native Screen Mirroring, Supports Windows/Android/Apple. Add each discovered device to our listboxĬastingDevice addedDevice = await CastingDevice.FromIdAsync(deviceInfo.Id) MiraHandlerAdded = new TypedEventHandler(async (watcher, deviceInfo) =>Īwait dispatcher.RunAsync(Windows.UI., async () => Scan for devices: miraDeviceWatcher = DeviceInformation.CreateWatcher(CastingDevice.GetDeviceSelector(CastingPlaybackTypes.Video)) I'm personally using code like the following, on Windows IoT Core, to cast my whole screen These three sample projects demonstrate various MiraCast source apis that can be used from UWP applications. Windows 10 is one of the most feature-rich operating systems and it’s getting better with time. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |