sipsorcery icon indicating copy to clipboard operation
sipsorcery copied to clipboard

add_OnVideoSourceRawSampleFaster not implemented when cloning and running WebRTCGetStarted

Open danjford opened this issue 2 years ago • 6 comments

When cloning the repo and running the WebRTCGetStarted example, if you press 'start' in the web page it causes the below exception:

"Method 'add_OnVideoSourceRawSampleFaster' in type 'SIPSorceryMedia.Encoders.VideoEncoderEndPoint' from assembly 'SIPSorceryMedia.Encoders, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.":"SIPSorceryMedia.Encoders.VideoEncoderEndPoint"

danjford avatar Jun 22 '22 13:06 danjford

Samples are perhaps not all updated in each release. Use last version of packages.

If you use SIPSorceryMedia.Windows: use at least v6.0.3-pre

ChristopheI avatar Aug 23 '22 09:08 ChristopheI

After upgrading this package in WebRTCWebcamServer, it still doesn't work with :

Unhandled exception. System.TypeLoadException: Method 'EncodeVideoFaster' in type 'SIPSorceryMedia.Encoders.VpxVideoEncoder' from assembly 'SIPSorceryMedia.Encoders, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.

The WebRTCGetStarted project doesn't use that package at all, but it seems like the SIPSorcercyMedia.Encoders has been stuck to 0.0.10-pre for a while.

jeremyVignelles avatar Aug 25 '22 10:08 jeremyVignelles

HI I want to try SipSorcery library to use manage WebRTC into asp net application, clearly i want to build server that handle each peerConnection in may future project. I tried WebRTCGetStarted from examples and i got an error Method 'add_OnVideoSourceRawSampleFaster' in type 'SIPSorceryMedia.Encoders.VideoEncoderEndPoint' from assembly 'SIPSorceryMedia.Encoders, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation My OS Windows 11. I will be very grateful, if you help me for solving this problem

Shaxzod1311 avatar Jan 11 '23 05:01 Shaxzod1311

Having same issue as @Shaxzod1311, trying to run one of the video examples and I am getting the same error. Help appreciated.

maticcavalleri avatar Jan 27 '23 13:01 maticcavalleri

Hey, I'm having the same issue with EncodeVideoFaster missing an implementation.

I've tried targeting .net6.0 and .netcore3.1 but still having the same issue.

ekwus avatar Feb 03 '23 11:02 ekwus

At the very least, the packages should be updated to include supported version ranges.

lostmsu avatar Mar 02 '23 19:03 lostmsu