[vlc-commits] commit: Merge VoD module into RTP stream output module (Pierre Ynard )

git at videolan.org git at videolan.org
Tue Nov 16 22:35:59 CET 2010


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Nov 16 22:33:20 2010 +0100| [c6d32327273ed56344937ea654673c08e0e25cc3] | committer: Pierre Ynard 

Merge VoD module into RTP stream output module

Cleaner and better working solution for VoD than the bad hack that we
currently have. Instead of (badly) duplicating large portions of codes,
it reuses the existing RTSP stack and factorizes the RTP payload code,
and provides support for a number of ES not limited to one audio and one
video tracks, as well as for missing features in RTSP headers.

The VoD module is responsible for starting and running the RTSP stack.
When a VoD media instance is started, the VLM passes down media and
session parameters as variables to the RTP stream output object, that
uses them to hook back into the VoD code (and through it, into the RTSP
stack), to retrieve accurate, already set up parameters, and provide
playback data.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c6d32327273ed56344937ea654673c08e0e25cc3
---

 modules/stream_out/Modules.am |    2 +-
 modules/stream_out/rtp.c      |  509 +++++++++++----------------------
 modules/stream_out/rtp.h      |   71 ++++--
 modules/stream_out/rtpfmt.c   |  320 +++++++++++++++++++++
 modules/stream_out/rtsp.c     |  309 ++++++++++++++++++---
 modules/stream_out/vod.c      |  626 +++++++++++++++++++++++++++++++++++++++++
 src/input/vlm.c               |    6 +
 7 files changed, 1444 insertions(+), 399 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=c6d32327273ed56344937ea654673c08e0e25cc3


More information about the vlc-commits mailing list