In order to stream video or audio through rtsp/rtp/udp, live555 media server can be used.
Download the server from the location below.
http://www.live555.com/mediaServer/#downloading
Run the server from the location where your audio or video files are and the media server will stream the file over rtsp
./live555MediaServer
LIVE555 Media Server
version 0.84 (LIVE555 Streaming Media library version 2014.09.11).
Play streams from this server using the URL
rtsp://ip-address/video-filename.mpg
Now you can play the stream in vlc player by going to “media->Open Network Stream” .Paste the link “rtsp://ip-address/video-filename.mpg” in the box and press play.