I am able to create a miracast receiver, but when trying to cast I get unknown error. #3915
Replies: 1 comment 1 reply
-
Unfortunately, there are some built in Windows Runtime components that don't work well with desktop applications. The Miracast functionality is still one problematic area. |
Beta Was this translation helpful? Give feedback.
-
In WinUI3 I'm able to create a miracast receiver. When I try to cast to it I get an unknown error.
Here is the casting request code:
Some additional debug log info:
From the Caster:
Found MINIME
Casting device properties:
'WinUI3.BarGui.exe' (CoreCLR: clrhost): Loaded 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.12\System.Text.Encoding.Extensions.dll'. Symbols loaded.
Found [TV] Samsung 8 Series (43)
CastingDevice Id: {57258C12-B416-5737-8CB1-4ACD1E53A0C1}
CastingDevice Friendly Name: MINIME
The thread 0x2420 has exited with code 0 (0x0).
PlaybackType Audio: Supported
PlaybackType Picture: Supported
PlaybackType Video: Supported
PlaybackType None: Supported
ImageToCast source URI:
CastingConnection connecting
CastingConnection disconnected
CastingConnection connecting
CastingConnection disconnected
CastingConnection error: An unknown error occurred.
From the other machine (receiver):
Miracast session status: Success
MiracastReceiver.Listening status: Listening
MiracastReceiver.WiFi status: MiracastSupported
The thread 0x2da8 has exited with code 0 (0x0).
Beta Was this translation helpful? Give feedback.
All reactions