[SOLVED] how to generate timestamp
-
Hi All!!!
I try to write RTP header by myself, and some of the field of this RTP header is timestamp, so... How i can generate that timestamp by Qt? -
I don't know which format you want the timestamp in, but using QDateTime::currentDateTime().toString() should make it possible for you to get it in pretty much any format you want (using the argument of toString() to specify the format).
-
tnx a lot 4 answer!
as i know (from RFC) timestamp need increment after every sent samples.