@GUIOT DU DOIGNON Quentin, Thanks for posting in Q&A. Based on my researching, I find some links describe to create Firewall rules to allow PC to connect to miracast. Here are the rules for the reference. you can create to see if it can help.
If there's any update, feel free to let us know.
If the answer is helpful, 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.