>Can anyone tell me why it compute the timestamp this way? Why there is a 0.5?
We add 0.5 so that values whose integer fraction is >= 0.5 get
rounded up, and values whose integer fraction is < 0.5 get rounded
down - when the value is converted to an integer.
In any case, you shouldn't care abou
Hello everyone,
In live555 library, in the file RTPSink.cpp, and in the function
convertToRTPTimestamp:
RTPSink::convertToRTPTimestamp(struct timeval tv) {
// Begin by converting from "struct timeval" units to RTP timestamp units:
(1)u_int32_t timestampIncrement = (fTimestampFrequency*