[Live-devel] I have a question!
Ross Finlayson
finlayson at live555.com
Tue Jan 23 23:07:20 PST 2007
>I can stream transport stream(TS) with RTP/RTCP protocol by
>livemedia lib now. When I want to stream program stream(PS) using
>livemedia lib, I found the testprog could only stream elementary
>stream(ES). And I must split PS into video ES and audio ES and
>stream them with different port. Vlc , however ,can only play one
>port.
That should not be the case. If you use the
"testMPEG1or2AudioVideoStreamer" demo application (and enable the
built-in RTSP server), or the "testOnDemandRTSPServer" application
(using a Program Stream file named "test.mpg"), or the
"live555MediaServer" application (using a Program Stream file named
"<anything>.mpg"), then VLC should be able to play both the audio and
video streams.
>Do you have some methods or testprogs to stream PS directly? The
>payload type is 96 and payload name is "MP2P"? When I using
>SimpleRtpSink function to transport the stream data, I found the
>data are streaming correctly by "sniff" the packet, but vlc could
>not play, why?
Because VLC does not implement that RTP payload format. (Nor does
anyone else; instead, everyone streams MPEG Program Stream data as
separate audio and video RTP streams. You should do the same, using
the supplied demo applications as a guide.)
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list