Hello, Welcome to Microsoft Q&A,
In my test, when just running this sample, the frame rate (about 50) and CPU usage are in a reasonable range. And you can try to choose a lower resolution Media format to reduce consumption. Also, are you running the application in debug mode? This will cost more performance.
----
If the response is helpful, please click "Accept Answer" and upvote it.
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.