- Timestamp:
- 08/27/10 04:10:58 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/thelib/src/protocols/rtp/streaming/outnetrtpudph264stream.cpp
r106 r109 228 228 //3. Timestamp 229 229 put_htonl(((uint8_t *) _videoData.msg_iov[0].iov_base) + 4, 230 (uint32_t) (absoluteTimestamp * 90.0));230 BaseConnectivity::ToRTPTS(absoluteTimestamp, 90000)); 231 231 232 232 if (chunkSize == totalLength) { … … 316 316 //4. Timestamp 317 317 put_htonl(((uint8_t *) _audioData.msg_iov[0].iov_base) + 4, 318 (uint32_t) (absoluteTimestamp319 * (double) GetCapabilities()->audioCodecInfo.aac.sampleRate / 1000.000));318 BaseConnectivity::ToRTPTS(absoluteTimestamp, 319 GetCapabilities()->audioCodecInfo.aac.sampleRate)); 320 320 321 321 //6. put the actual buffer
Note: See TracChangeset
for help on using the changeset viewer.
