[Live-devel] What source should I use to capture a MPEGTS stream?

Ross Finlayson finlayson at live555.com
Wed Mar 19 21:49:02 PDT 2008


>I'm trying to play a MPEGTS stream (sending both audio video on same
>port), by creating a SimpleRTPSource.
>I figured out that SimpleRTPSource was the right choice by looking at
>the Boolean MediaSubsession::initiate(int useSpecialRTPoffset) function.
>
>However, MultiFramedRTPSource::networkReadHandler which parses the RTP
>header breaks out of the loop because the RTP header is not version 2:

Then perhaps your stream is not using RTP?  I.e., perhaps it is a 
MPEG Transport Stream being sent over raw UDP, rather than RTP/UDP?

If that's the case, then you just use a "BasicUDPSource", not a "*RTPSource".
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list