benwtrent / janus-gateway-android

This is an API wrapper that utilizes the native WebRTC build and is made to ease communication with the janus-gateway
MIT License
112 stars 73 forks source link

Create custom ui for localRender and remoteRender #31

Closed antranvn closed 5 years ago

antranvn commented 5 years ago

Hello, Could you help me how to create custom UI for localRender and remoteRender ?

benwtrent commented 5 years ago

You just have to modify the android manifest and define the activity and then paint the screen how you want.

One has to be careful that the UI thread and the background threads are independent. There are plenty of examples around the internet on how to do this correctly.

antranvn commented 5 years ago

Thank you @benwtrent