android-webrtc-tutorial icon indicating copy to clipboard operation
android-webrtc-tutorial copied to clipboard

VideoRendererGui.setView

Open PeterPan355 opened this issue 9 years ago • 2 comments

Hello, I followed the whole tutorial, but I really have no idea why the application is not working.. it returns mi NullPointerException on this line:

// Then we set that view, and pass a Runnable to run once the surface is ready VideoRendererGui.setView(mVideoView, null);

I tried to modify it, but not successfuly.

Have you got an idea why is this error returning? Thank you! Best regards

PeterPan355 avatar Jan 19 '16 22:01 PeterPan355

Post the exact stacktrace. Just telling you get NPE on this line won't allow us to help you.

However in the mean time, check if VideoRendererGui or mVideoView is valid/not null or not.

wingoku avatar Feb 08 '16 07:02 wingoku

@PeterPan355 allow permission AndroidRTC on your device manually

mkmlh avatar Mar 15 '17 13:03 mkmlh