StackedCrooked
StackedCrooked

Reputation: 35485

How to implement a tiny RTSP server?

I am implementing a client/server application where video streaming occurs between two computers (in one direction). I would like to have the server publish an SDP file when it starts streaming. The client would then be able to download this SDP file and use it to get the stream. In order to implement this it seems I need to include a RTSP server in my server application.

I am planning to use either libVLC or GStreamer for the client. Both are able to get incoming video streams using the info from an SDP file.

Server-side I don't really know where to start. Can anyone recommend a good C++ library that would allow me to create a small RTSP server?

Upvotes: 3

Views: 19100

Answers (2)

Vijay Mathew
Vijay Mathew

Reputation: 27174

Use Live555 LGPL library or for fun, read the RFC and implement :-)

Upvotes: 6

Libcurl's library offers a simple example that can be usefull for the server side.. Take a look at: https://curl.haxx.se/libcurl/c/rtsp.html

Upvotes: -2

Related Questions