mutaphore / RTSP-Client-Server

Implementation of a streaming video server and client that communicate using the Real-Time Streaming Protocol (RTSP) and send data using the Realtime Transfer Protocol (RTP)
522 stars 191 forks source link

Out of bound exception in Client and Server #13

Open varshaanil01 opened 5 years ago

varshaanil01 commented 5 years ago

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException : Index 1 out of bounds for length 0 at Server.main(Server.java:138) The above given error is showing up and I'm not able to figure out to fix this.

akay777 commented 3 years ago

did this work for you

samuelyuen96 commented 3 years ago

Did you build the code following README.md?

ArpitAgarwal13 commented 2 years ago

If you running using IDE, or through command line, there are runtime parameters which you need to provide. In case of Server it is the port number and in case of client, it is IP, port and file name. These configurations are present there in run_client and run_server file under root project.

Final run configuration: java Server 1051