RTSP c++ livestream sample source code? - c++

i was wondering what is the best way to livestream a camera using RTSP? i have been looking for hours but could not find anything any server source code that allows webcam livestreaming in c++ would help a lot.

There are many links to various server RTSP implementations, some open source and free on wikipedia.
Like this open source C++ one.

Related

How to create an application for receiving a video stream from a (WiFi) camera?

I am kind of a beginner in programming, learning it in school, so I really don't know much.
But I want to make a program for PC and maybe app for iPhone/Android that receives a video-stream from a camera and displays it, nothing more.
How do I do this in C++/C# in Visual Studio?
Camera -> WiFi -> PC/Phone
A good library for working with images/video in c++ is OpenCV. I would recommend taking a look at their examples.
http://docs.opencv.org/3.0.0/index.html
Check out the highgui module!
You should first check for cameras that come with a programming API so that it is easy to write programs to communicate with it.
If the camera drivers can make it communicate with standard chat apps like Sykpe, you should be able to use C++ and OpenCV to capture a stream from it. But you can choose the language and tools according to what you want to do with the video stream.

Recording streaming with vlc in c++

I would like to record from streaming and save on the computer with vlc in c++ can anybody help me get started maybe with some code example.I just came accross the libvlc but I can't find no tutorial. Can anybody help me with any code sample to record from streaming?

Opening a live media stream using C/C++

Can anyone tell me how to open a mms:// live media stream using C/C++. I am trying to do this for days. but can not find any book regarding these information.
Please suggest any book or any helpful sites. or if you know how to do this please teach me.
Thank you
A test stream
mms://a1926.l1856941925.c18569.g.lm.akamaistream.net/D/1926/18569/v0001/reflector:41925
Stream is NASATV provided by akamai.
In VLC media player there is a pretty good example on solving this issue. Download the sources from http://download.videolan.org/pub/videolan/vlc/2.0.1/ (it's the .xz file) and then just get the source from .\vlc-2.0.1\modules\access\mms\ (if you're on windows 7z opens xz files). The mmstu.c file is your source for information.
More info can be found at: http://get.to/sdp (address taken from mms.c)
Since this is Microsoft specific protocol, further reading can be found at http://msdn.microsoft.com/en-us/library/cc251059%28v=prot.10%29
Check live555 project, that would do the job.

How do I implement DeviceSource for streaming from webcam in Live555?

I am working on a webcam streaming server project, using Live555 as the server.
I need to be able to stream from ordinary USB Webcams, which requires me to implement DeviceSource.cpp as I read on live555's FAQ page. However, I am currently not having enough knowledge or clue on how to implement this.
I intend to use ffmpeg as the encoder.
Can anybody provide me with some proper directions that I can follow?

VOIP C++ Programming

I want to write a program to create VOIP application for my final year project. For this time being, I spend my time to understand how SIP works and later I need to implement it into my project. As far as i know, the protocol requirement to build this project are:
UDP
RTP
As for my project, it doesn't requires me to write a complex coding. I just need to provide a server that can be used as a bridge for clients to communicate. So, is there any resources that I can used for my reference to start programming my project?
Maybe these will be helpful to look at:
Open source RTP library:
jrtplib:
Open source RTSP, RTP with a SIP client AFAIR:
liveMedia
Open source SIP library: reSIProcate
Your best bet is pjsip.
http://www.pjsip.org/
It runs on all kinds of OSes
OpenSipStack is quite nice, it's 100% C++.
The project also contains a library for creating clients using ATL.
Take a look at OPAL. It allows you to write applications that will support SIP, H.323 and IAX2.