Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

simple rtsp broadcast example source

Tags:

c++

c#

video

rtsp

rtp

I want to broadcast the screen (not a static screen) of my program using rtsp/rtp since this way a mobile phone (at least the more recent ones) can view the stream.

I'm looking for a simple example program which takes the frames I offer, encodes it with a codec and then sends this (using rtsp) to any clients attached.

I've looked on the net and all I can find so far are full fledged opensource media servers (like darwin) which are just too complex to use as an example

any help appreciated!

R

p.s. sending jpegs to the mobile phone is really not an option since this is non standard and would require a mobile app to be installed to interpret the 'stream'.

p.s.2 C, C++ or C# would be fine.

like image 739
Toad Avatar asked Jul 14 '09 08:07

Toad


2 Answers

this seems to be pretty much what I was looking for: live555.com

Useful libraries and code examples of how to stream stuff from your own app

R

like image 94
Toad Avatar answered Sep 29 '22 11:09

Toad


My library does this completely in managed code!

You can find the library @ http://net7mma.codeplex.com/

There is also a CodeProject article @ http://www.codeproject.com/Articles/507218/Managed-Media-Aggregation-using-Rtsp-and-Rtp

If you need anything else let me know!

like image 28
Jay Avatar answered Sep 29 '22 12:09

Jay