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

java nio 底层sdk 缓冲区溢出,不定期出现。kit生命周期正常 #17

Open
zcwfeng opened this issue Jun 7, 2017 · 0 comments

Comments

@zcwfeng
Copy link

zcwfeng commented Jun 7, 2017

java.lang.NullPointerException: Attempt to invoke virtual method 'int java.nio.ByteBuffer.limit()' on a null object reference
at com.ksyun.media.rtc.kit.RtcWrapper.sendAudio(RtcWrapper.java:88)
at com.ksyun.media.rtc.kit.RTCIO$RTCAudioSinkPin.onFrameAvailable(RTCIO.java:78)
at com.ksyun.media.rtc.kit.RTCIO$RTCAudioSinkPin.onFrameAvailable(RTCIO.java:66)
at com.ksyun.media.streamer.framework.SrcPin.onFrameAvailable(SrcPin.java:44)
at com.ksyun.media.streamer.filter.audio.b.a(AudioBufSrcPin.java:20)
at com.ksyun.media.streamer.filter.audio.b.onFrameAvailable(AudioBufSrcPin.java:16)
at com.ksyun.media.streamer.framework.PinAdapter$1.onFrameAvailable(PinAdapter.java:20)
at com.ksyun.media.streamer.framework.SrcPin.onFrameAvailable(SrcPin.java:44)
at com.ksyun.media.streamer.filter.audio.b.a(AudioBufSrcPin.java:20)
at com.ksyun.media.streamer.filter.audio.b.onFrameAvailable(AudioBufSrcPin.java:16)
at com.ksyun.media.streamer.framework.PinAdapter$1.onFrameAvailable(PinAdapter.java:20)
at com.ksyun.media.streamer.framework.SrcPin.onFrameAvailable(SrcPin.java:44)
at com.ksyun.media.streamer.filter.audio.b.a(AudioBufSrcPin.java:20)
at com.ksyun.media.streamer.filter.audio.b.onFrameAvailable(AudioBufSrcPin.java:16)
at com.ksyun.media.streamer.capture.AudioCapture$a.run(AudioCapture.java:345)

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