2

I'm trying to implement a application that stream video from my webcam via rtsp. I've done with part that encode from webcam to h264 video.

I'm trying to use live555 as streaming server, but I can't find any good examples or documentation to use it. Also the code don't have much commends.

Can anyone give some? Or other library good for that purpose.

Yoshi
  • 563
  • 1
  • 6
  • 17
  • Check out this mailing list post and its reply (from 2005!): http://lists.live555.com/pipermail/live-devel/2005-September/003133.html involving extending the DeviceSource class (http://www.live555.com/liveMedia/doxygen/html/classDeviceSource.html). – Ahmed Fasih Sep 10 '13 at 14:27

1 Answers1

2

You can find a low-latency RTSP server that capture an H264 stream from V4L2 interface from my GitHub project v4l2rtspserver.

From your application that capture the webcam and encode frames using H264 encoder, it is not difficult to post it to the RTSP streamer.

mpromonet
  • 11,326
  • 43
  • 62
  • 91
  • I'm trying to do something similar in that I want to stream input taken from a camera and encoded using a DSP Processor. I'm having trouble writing a device source that would serve my purpose. Is there any way I can contact you for help. – Shehryar Jan 28 '15 at 06:14
  • You probably need a thread that activate a trigger in order to signal to live555 mainloop that a new frame should be send. If you post a question, I will try to answer it. – mpromonet Feb 01 '15 at 08:59
  • Please have a look at: https://stackoverflow.com/questions/28042716/stream-from-ip-camera-very-jittery-on-vlc . I'll be grateful. – Shehryar Feb 01 '15 at 09:04