melihercan / WebRTCme

A cross-platform framework for adding WebRTC support to .NET MAUI, Blazor, and Desktop applications by using a single unified .NET/C# API.
https://github.com/melihercan/WebRTCme
MIT License
232 stars 46 forks source link

Chat Error #31

Open shrhabibi opened 1 year ago

shrhabibi commented 1 year ago

Null Handling
Solution? : producerDataChannel?.Send(object);

image

melihercan commented 8 months ago

On which platform do you observe this? The Android media soup is suffering from this problem and is not working properly at the moment: https://github.com/melihercan/WebRTCme/issues/22

melihercan commented 8 months ago

There is no concept of Producer or Consumer in normal SignalingServer usage (only used in MediaSoup). It seems in this case _peers.Count is 0 and it is trying to use the null _producerDataChannel.