You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the issue
The sample code constructs a new AudioVideoFramePlayer but passes null for the videoSocket (second) param. This always causes a null reference exception to be thrown by the AudioVideoFramePlayer constructor as it doesn't allow nulls.
Code Snippet
this.audioVideoFramePlayerSettings =
new AudioVideoFramePlayerSettings(new AudioSettings(20), new VideoSettings(), 1000);
this.audioVideoFramePlayer = new AudioVideoFramePlayer(
(AudioSocket)_audioSocket,
null,
this.audioVideoFramePlayerSettings);
Expected behavior
Should create a new AudioVideoFramePlayer
Additional context
This is in EchoBot project, BotMediaStream.cs class