Examples of VideoMediaStream


Examples of org.jitsi.service.neomedia.VideoMediaStream

  public JPanel getVisualComponent() {
    if( visualComponent != null )
      return visualComponent;
    if( mediaStream instanceof VideoMediaStream ) {
      visualComponent = new JPanel( new BorderLayout() );
      VideoMediaStream vms = ((VideoMediaStream) mediaStream);
      vms.addVideoListener( new VideoListener() {
        @Override
        public void videoAdded(VideoEvent event) {
          videoUpdate(event);
        }
        @Override
View Full Code Here

Examples of org.jitsi.service.neomedia.VideoMediaStream

    }
  }
 
  private void updateVisualComponent() {
    visualComponent.removeAll();
    VideoMediaStream vms = ((VideoMediaStream) mediaStream);
    for( Component c : vms.getVisualComponents() ) {
      visualComponent.add(c); //only the first one
      break;
    }
    visualComponent.revalidate();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.