[Live-devel] Trick mode---please give me

Ross Finlayson finlayson at live555.com
Fri Feb 2 00:09:03 PST 2007


>In trick mode option.. there i am getting packet of size 1128 instead of 1316.

This is not a problem.  Usually, 1316 bytes (i.e., 7 188-byte 
Transport 'packets') are packed within each outgoing network packet. 
However, if the total number of Transport 'packets' is not an even 
multiple of 7, then the last network packet will contain fewer than 7 
Transport 'packets'.

This is also true when you do trick mode (fast forward or reverse 
play).  In trick mode, you're sending a new sequence of Transport 
'packets' that, once again, may not be an even multiple of 7.  In 
your case, you're seeing a network packet that contains 6*188 == 1128 
bytes.

There is absolutely nothing wrong here.  Receivers should be prepared 
to receive any number (>0) of Transport 'packets' within each network 
packet.
-- 

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


More information about the live-devel mailing list