diff --git a/rtsp/.attach_pid175967 b/rtsp/.attach_pid175967 new file mode 100644 index 000000000..e69de29bb diff --git a/rtsp/src/test/java/com/pedro/rtsp/rtsp/CommandParserTest.kt b/rtsp/src/test/java/com/pedro/rtsp/rtsp/CommandParserTest.kt index 191e9f572..c39f418fd 100644 --- a/rtsp/src/test/java/com/pedro/rtsp/rtsp/CommandParserTest.kt +++ b/rtsp/src/test/java/com/pedro/rtsp/rtsp/CommandParserTest.kt @@ -32,13 +32,13 @@ class CommandParserTest { @Test fun `GIVEN a SETUP command with text from server WHEN parse using udp protocol THEN change server ports`() { - val audioClientPorts = intArrayOf(5000, 5001) - val videoClientPorts = intArrayOf(5002, 5003) - val audioServerPorts = intArrayOf(5004, 5005) - val videoServerPorts = intArrayOf(5006, 5007) + val audioClientPorts = arrayOf(5000, 5001) + val videoClientPorts = arrayOf(5002, 5003) + val audioServerPorts = arrayOf(5004, 5005) + val videoServerPorts = arrayOf(5006, 5007) - val expectedAudioServerPorts = intArrayOf(5014, 5015) - val expectedVideoServerPorts = intArrayOf(5016, 5017) + val expectedAudioServerPorts = arrayOf(5014, 5015) + val expectedVideoServerPorts = arrayOf(5016, 5017) val serverCommandAudio = "RTSP/1.0 200 OK\r\n" + "Date: Fri, 15 Apr 2022 16:16:30 UTC\r\n" + "Expires: Fri, 15 Apr 2022 16:16:30 UTC\r\n" +