setting appropriate width height of publisher
add event listeners - java
ios event handlers