I try to use media server to stream my TS file, and found that the stream can not be resumed correctly after paused. That is, when resume, the speed of packet transmit become very slow. I have traced into the code, and found the problem may be in the function MPEG2TransportStreamFramer::doStopGettingFrames(). In that function, fTSPacketCount is change to 0, but not fTSPCRCount. Then in MPEG2TransportStreamFramer::updateTSPacketDurationEstimate(), when caculate meanPCRPeriod, the value is always less than 1.0, because fTSPacketCount may less than fTSPCRCount at that time. I think this may be a bug, is it?
Yes, quite possibly. Does adding fTSPCRCount = 0; to "MPEG2TransportStreamFramer::doStopGettingFrames()" overcome your problem? -- 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