6161import static org .mockito .Mockito .verify ;
6262import static org .mockito .Mockito .when ;
6363
64- <<<<<<< HEAD
6564import java .io .File ;
6665import java .io .FileInputStream ;
6766import java .io .FileOutputStream ;
8180import java .util .concurrent .TimeUnit ;
8281import java .util .concurrent .atomic .AtomicBoolean ;
8382import io .antmedia .*;
84- =======
8583import java .lang .reflect .Field ;
86- >>>>>>> origin /master
8784import com .google .gson .JsonObject ;
8885import io .antmedia .AntMediaApplicationAdapter ;
8986import io .antmedia .AppSettings ;
@@ -1411,7 +1408,7 @@ public void testRTMPMuxerRaceCondition() {
14111408 appScope = (WebScope ) applicationContext .getBean ("web.scope" );
14121409 vertx = (Vertx ) appScope .getContext ().getApplicationContext ().getBean (IAntMediaStreamHandler .VERTX_BEAN_NAME );
14131410
1414- EndpointMuxer rtmpMuxer = new RtmpMuxer ("rtmp://no_server" , vertx );
1411+ EndpointMuxer rtmpMuxer = new EndpointMuxer ("rtmp://no_server" , vertx );
14151412 rtmpMuxer .init (appScope , "test" , 0 , null , 0 );
14161413
14171414 AVCodecParameters codecParameters = new AVCodecParameters ();
@@ -1431,7 +1428,7 @@ public void testRTMPMuxerRaceCondition() {
14311428 assertTrue (rtmpMuxer .prepareIO ()); // can prepare again
14321429
14331430 // 2. Test cancelOpenIO race protection
1434- EndpointMuxer rtmpMuxer2 = new RtmpMuxer ("rtmp://no_server" , vertx );
1431+ EndpointMuxer rtmpMuxer2 = new EndpointMuxer ("rtmp://no_server" , vertx );
14351432 rtmpMuxer2 .init (appScope , "test" , 0 , null , 0 );
14361433 assertTrue (rtmpMuxer2 .addStream (codecParameters , rat , 50 ));
14371434
@@ -1454,7 +1451,7 @@ public void testWriteTrailerBeforeHeader() {
14541451 appScope = (WebScope ) applicationContext .getBean ("web.scope" );
14551452 vertx = (Vertx ) appScope .getContext ().getApplicationContext ().getBean (IAntMediaStreamHandler .VERTX_BEAN_NAME );
14561453
1457- EndpointMuxer rtmpMuxer = new RtmpMuxer ("rtmp://no_server" , vertx );
1454+ EndpointMuxer rtmpMuxer = new EndpointMuxer ("rtmp://no_server" , vertx );
14581455 rtmpMuxer .init (appScope , "test" , 0 , null , 0 );
14591456
14601457 // No header written yet
0 commit comments