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

录屏推流一到播放视频就卡住不动 #17

Open
Hyingqi opened this issue Jan 18, 2019 · 0 comments
Open

录屏推流一到播放视频就卡住不动 #17

Hyingqi opened this issue Jan 18, 2019 · 0 comments

Comments

@Hyingqi
Copy link

Hyingqi commented Jan 18, 2019

APP普通操作画面的推流是没有问题,但一到播放视频时发现只看到前面几个画面,后面的就卡住无法运行下去了,我打了断点发现是Native方法一直在阻塞,具体出现在RtmpStreamingSender这个类中“
int res = RtmpClient.write(jniRtmpPointer, flvData.byteBuffer, flvData.byteBuffer.length, flvData.flvTagType, flvData.dts)” 执行到这行代码就卡住好久才往下执行。投屏的参数:VIDEO_WIDTH = 1280;VIDEO_HEIGHT = 720; VIDEO_BITRATE = 50010002; FPS = 20; 请问该如何优化?

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