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

PublisherView disappear after resume #130

Closed
mstar0125 opened this issue Jun 8, 2017 · 1 comment
Closed

PublisherView disappear after resume #130

mstar0125 opened this issue Jun 8, 2017 · 1 comment

Comments

@mstar0125
Copy link

Publisher view is showing initially when creating and publishing stream. But after activity resume from sleep mode, it is disappeared.

Please tell me how to set order for each view to keep publisher view show always

@marinaserranomontes
Copy link
Contributor

marinaserranomontes commented Jun 9, 2017

@mstar0125 with the current samples, I am not able to reproduce your case. But please note, if you use GLSurfaceView, you need to set the order of each view:
if (mPublisher.getView() instanceof GLSurfaceView) {
((GLSurfaceView)(mPublisher.getView())).setZOrderOnTop(true);
}

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

2 participants