SteeBono / airplayreceiver

Open source implementation of AirPlay 2 Mirroring / Audio protocol.
MIT License
190 stars 36 forks source link

How to view incoming video #3

Closed tech234a closed 3 years ago

tech234a commented 3 years ago

I have managed to successfully compile this software and dependencies, and I have been able to connect my device to this software. How would I view the incoming video/audio?

SteeBono commented 3 years ago

That project decrypt the video stream in H256 codec and Audio stream in PCM.

You need to develop an additional piece of code to stream the video to VLC for example.

If you search on the internet I think you will find a library that allows you to send a video/audio stream to an external player.

You can use the 'OnH264DataReceived' and 'OnPCMDataReceived' events for the decoded video and audio stream.

Check the 'AirPlayService.cs' class.

tech234a commented 3 years ago

Makes sense, thank you!