Getting System.TypeLoadException when running WebRTCGetStarted #736
helu-milestone
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I'm really new to SIP Sorcery and have just cloned the repository. I'm trying to use WebRTC and is looking into the samples.
When I take the WebRTCGetStarted example, I'm able to build and run it, but when I connect from the webpage to the websocket I get the following error:
_System.TypeLoadException: 'Method 'add_OnVideoSourceRawSampleFaster' in type 'SIPSorceryMedia.Windows.WindowsVideoEndPoint' from assembly 'SIPSorceryMedia.Windows, Version=0.0.31.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.'
I've tried 3 different samples, and I get the same error with all of them.
I can't seem to figure out what I'm doing wrong. I've been reading the documentation and can't figure out what I'm missing. Can anyone help?
The stack trace:
at demo.Program.<CreatePeerConnection>d__5.MoveNext() in C:\temp\WebRTC\SIPSorcerySamples\examples\WebRTCExamples\WebRTCWebcamServer\Program.cs:line 149 at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at System.Runtime.CompilerServices.AsyncTaskMethodBuilder1.Start[TStateMachine](TStateMachine& stateMachine) at demo.Program.CreatePeerConnection() at SIPSorcery.Net.WebRTCWebSocketPeer.<OnOpen>d__19.MoveNext() in C:\temp\WebRTC\SIPSorcerySamples\src\net\WebRTC\WebRTCWebSocketPeer.cs:line 120
Beta Was this translation helpful? Give feedback.
All reactions