@Override
 public void setSize(final int width, final int height) {
   view.queueEvent(
       new Runnable() {
         public void run() {
           view.setSize(streamId, width, height);
         }
       });
 }
 @Override
 public void renderFrame(I420Frame frame) {
   view.queueFrame(streamId, frame);
 }