Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program crash problem #19

Open
Hu-Said opened this issue Jan 18, 2024 · 1 comment
Open

Program crash problem #19

Hu-Said opened this issue Jan 18, 2024 · 1 comment

Comments

@Hu-Said
Copy link

Hu-Said commented Jan 18, 2024

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()

@Hu-Said
Copy link
Author

Hu-Said commented Jan 29, 2024

image
Adding exception handling to this method can solve the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant