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

预览和推流分离出来? #35

Closed
androidwzq opened this Issue Jul 18, 2016 · 6 comments

Comments

Projects
None yet
4 participants
@androidwzq

androidwzq commented Jul 18, 2016

你好 如何将预览和推流分离出来?
比如我预览的时候先不推流,点击开始在推流。谢谢

@lakeinchina

This comment has been minimized.

Show comment
Hide comment
@lakeinchina

lakeinchina Jul 18, 2016

Owner

现在没这个功能,如果要加的话,不是特别容易

Owner

lakeinchina commented Jul 18, 2016

现在没这个功能,如果要加的话,不是特别容易

@androidwzq

This comment has been minimized.

Show comment
Hide comment
@androidwzq

androidwzq Jul 18, 2016

嗯 目前能预览注释掉rtmpSender.start()。
然后要推流直播先stop 再start。不过会卡一下,体验不好。

androidwzq commented Jul 18, 2016

嗯 目前能预览注释掉rtmpSender.start()。
然后要推流直播先stop 再start。不过会卡一下,体验不好。

@skybdemq

This comment has been minimized.

Show comment
Hide comment
@skybdemq

skybdemq Jul 19, 2016

我也要做这个,预览与推流分离是基本需求。
在软编模式,我通过提取RESSoftVideoCore类start方法videoFilterHandlerThread初始化代码加在自已定义的startPreview方法实现,但硬编太复杂,无从下手。
用预览注释掉rtmpSender.start()方法,硬编推流出报错,软编推流成功

skybdemq commented Jul 19, 2016

我也要做这个,预览与推流分离是基本需求。
在软编模式,我通过提取RESSoftVideoCore类start方法videoFilterHandlerThread初始化代码加在自已定义的startPreview方法实现,但硬编太复杂,无从下手。
用预览注释掉rtmpSender.start()方法,硬编推流出报错,软编推流成功

@flyminiboy

This comment has been minimized.

Show comment
Hide comment
@flyminiboy

flyminiboy Jul 27, 2016

你们分离开了吗?

flyminiboy commented Jul 27, 2016

你们分离开了吗?

@lakeinchina

This comment has been minimized.

Show comment
Hide comment
@lakeinchina

lakeinchina Aug 12, 2016

Owner

这个特性在dev_split_preview_stream分支,hard已经分开,现在还有bug

Owner

lakeinchina commented Aug 12, 2016

这个特性在dev_split_preview_stream分支,hard已经分开,现在还有bug

@flyminiboy

This comment has been minimized.

Show comment
Hide comment
@flyminiboy

flyminiboy Aug 14, 2016

使用分离的分支 每次 stop 的时候都奔溃
java.lang.RuntimeException: eglSwapBuffers,failed!
at me.lake.librestreaming.core.RESHardVideoCore$VideoGLHandler.drawMediaCodec(RESHardVideoCore.java:387)
at me.lake.librestreaming.core.RESHardVideoCore$VideoGLHandler.drawFrame(RESHardVideoCore.java:302)
at me.lake.librestreaming.core.RESHardVideoCore$VideoGLHandler.handleMessage(RESHardVideoCore.java:266)

flyminiboy commented Aug 14, 2016

使用分离的分支 每次 stop 的时候都奔溃
java.lang.RuntimeException: eglSwapBuffers,failed!
at me.lake.librestreaming.core.RESHardVideoCore$VideoGLHandler.drawMediaCodec(RESHardVideoCore.java:387)
at me.lake.librestreaming.core.RESHardVideoCore$VideoGLHandler.drawFrame(RESHardVideoCore.java:302)
at me.lake.librestreaming.core.RESHardVideoCore$VideoGLHandler.handleMessage(RESHardVideoCore.java:266)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment