Skip to content

Commit df7ca05

Browse files
committed
merge master
1 parent b934823 commit df7ca05

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/test/java/io/antmedia/test/MuxerUnitTest.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
import static org.mockito.Mockito.verify;
6262
import static org.mockito.Mockito.when;
6363

64-
<<<<<<< HEAD
6564
import java.io.File;
6665
import java.io.FileInputStream;
6766
import java.io.FileOutputStream;
@@ -81,9 +80,7 @@
8180
import java.util.concurrent.TimeUnit;
8281
import java.util.concurrent.atomic.AtomicBoolean;
8382
import io.antmedia.*;
84-
=======
8583
import java.lang.reflect.Field;
86-
>>>>>>> origin/master
8784
import com.google.gson.JsonObject;
8885
import io.antmedia.AntMediaApplicationAdapter;
8986
import 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

Comments
 (0)