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

Why its taking the movie.Mjpeg file only #5

Closed amit13091992 closed 6 years ago

amit13091992 commented 7 years ago

its taking only movie.Mjpeg file only, i tried with other files with same format also but its giving error for NumberFormatException while sending video to client. and can anyone tell me the workflow how its working and data-flow of the project. If anyone would help that would be so greatfull. Kindly plz give a solution. thanks in advance.

mutaphore commented 7 years ago

@amit13091992 can you provide stack trace or details about the error you are getting?

sneharavi12 commented 6 years ago

I am facing the exact same issue. Although I provide the IP address that have a live video stream as the argument and the default RTSP port 554 as the arguments, it plays movie.Mjpeg. Can't seem to figure out why.

mutaphore commented 6 years ago

@sneharavi12 are you using the run_client script to start the client side streaming? If you are, make sure to update the FILE variable to point to the file that you want to stream from. By default it is set to movie.Mjpeg

sneharavi12 commented 6 years ago

Alright, at if I have to point it to a camera IP? I am interested in streaming the live video from that camera IP over RTP.

mutaphore commented 6 years ago

@sneharavi12 You might want to look into if your camera supports RTSP as a playback control mechanism. The server part of this repo is effectively what your camera does but it might follow a different set of commands.