Package org.bigbluebutton.deskshare.client.encoder

Examples of org.bigbluebutton.deskshare.client.encoder.ScreenVideoFlvEncoder.encodeHeader()


  @Test
  public void testEncodeFlvHeader() {
    final byte[] flvHeaderPlusPrevTagSize = {'F','L','V',0x01,0x01,0x00,0x00,0x00,0x09,0,0,0,0};
    ScreenVideoFlvEncoder svf = new ScreenVideoFlvEncoder();
   
    byte[] header = svf.encodeHeader();
    Assert.assertEquals(header, flvHeaderPlusPrevTagSize);
  }
 

 
View Full Code Here


  @Test
  public void testEncodeFlvHeader() {
    final byte[] flvHeaderPlusPrevTagSize = {'F','L','V',0x01,0x01,0x00,0x00,0x00,0x09,0,0,0,0};
    ScreenVideoFlvEncoder svf = new ScreenVideoFlvEncoder();
   
    byte[] header = svf.encodeHeader();
    Assert.assertEquals(header, flvHeaderPlusPrevTagSize);
  }
 

 
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.