> I've used the example "testH264VideoToTransportStream" as a basis for 
> generating a H264-TS-over-RTP stream of packets.
> I have used Wireshark to view the stream of RTP packets, and they appear to 
> be correctly filled with an integer number of 188 byte Transport-Stream 
> packets.
> 
> I am trying to further validate this stream, and have used 
> "testMPEG1or2VideoReceiver.cpp", and modified it to use the MP2T format (33) 
> in the call to:
> 
>       sessionState.source = MPEG1or2VideoRTPSource::createNew( *env, 
> &rtpGroupsock, 33, 90000 );

That's incorrect, because "MPEG1or2VideoRTPSource" is used for receiving MPEG 
*Elementary Stream* video over RTP.

To receive a MPEG *Transport Stream* over RTP, you should instead be calling:
        SimpleRTPSource::createNew(*env, &rtpGroupsock, 33, 90000, 
"video/MP2T", 0, False);


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

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to