OpenXbox / xbox-smartglass-csharp

🎮.NET Standard client library for the Xbox One SmartGlass protocol
MIT License
67 stars 20 forks source link

Handle ChatAudio #40

Open tuxuser opened 5 years ago

tuxuser commented 5 years ago

Opening the channel is implemented via: https://github.com/OpenXbox/xbox-smartglass-csharp/blob/master/SmartGlass.Nano/NanoClient.cs#L150 https://github.com/OpenXbox/xbox-smartglass-csharp/blob/master/SmartGlass.Nano/Channels/ChatAudioChannel.cs#L46

Now, the Producer needs to call nano.ChatAudio.SendChatAudioData(byte[]) to send opus audio samples to the console