[Live-devel] Re: [vlc-devel] RTSP trickplay support
Derk-Jan Hartman
hartman at videolan.org
Mon Dec 20 20:24:32 PST 2004
On 20 dec 2004, at 19:00, Dermot McGahon wrote:
> --- live/liveMedia/MediaSession.cpp 2004-12-15 08:31:10.000000000
> +0000
> +++ live.2004.12.15/liveMedia/MediaSession.cpp 2004-12-20
> 17:56:23.307350100 +0000
> @@ -631,6 +631,7 @@
> if (strcmp(fProtocolName, "UDP") == 0) {
> // A UDP-packetized stream (*not* a RTP stream)
> fReadSource = BasicUDPSource::createNew(env(), fRTPSocket);
> + fReadSource = MPEG2TransportStreamFramer::createNew(env(),
> fReadSource);
> fRTPSource = NULL; // Note!
> } else {
> // Check "fCodecName" against the set of codecs that we support,
This isn't correct. You cannot assume that a UDP source is always MPEG2
TS. You will need to be sure that there is a MPEG2-TS stream.. (
payloadtype 33)
If you know this THEN you can force it of course.
DJ
---
Universiteit Twente
Derk-Jan Hartman (d.hartman at student.utwente dot nl)
http://home.student.utwente.nl/d.hartman
More information about the live-devel
mailing list