Open Hu-Said opened 10 months ago
During the process of sending the video, decoding failed and the program crashed. The following is the error stack information:
System.ApplicationException: VP8 encode attempt failed, Unspecified internal error. at SIPSorceryMedia.Encoders.Codecs.Vp8Codec.Encode(Byte[] frame, VpxImgFmt inputPixelFormat, Boolean forceKeyFrame) at SIPSorceryMedia.Encoders.VpxVideoEncoder.EncodeVideo(Int32 width, Int32 height, Byte[] sample, VideoPixelFormatsEnum pixelFormat, VideoCodecsEnum codec) at SIPSorceryMedia.Windows.WindowsVideoEndPoint.FrameArrivedHandler(MediaFrameReader sender, MediaFrameArrivedEventArgs e) at System.Threading.Tasks.Task.<>c.b__128_1(Object state) at System.Threading.ThreadPoolWorkQueue.Dispatch() at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() at System.Threading.Thread.StartCallback()
Adding exception handling to this method can solve the problem
During the process of sending the video, decoding failed and the program crashed. The following is the error stack information:
System.ApplicationException: VP8 encode attempt failed, Unspecified internal error. at SIPSorceryMedia.Encoders.Codecs.Vp8Codec.Encode(Byte[] frame, VpxImgFmt inputPixelFormat, Boolean forceKeyFrame) at SIPSorceryMedia.Encoders.VpxVideoEncoder.EncodeVideo(Int32 width, Int32 height, Byte[] sample, VideoPixelFormatsEnum pixelFormat, VideoCodecsEnum codec) at SIPSorceryMedia.Windows.WindowsVideoEndPoint.FrameArrivedHandler(MediaFrameReader sender, MediaFrameArrivedEventArgs e) at System.Threading.Tasks.Task.<>c.b__128_1(Object state)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart()
at System.Threading.Thread.StartCallback()