utility method for calculating & synchronizing transmitted timestamp deltas concode_field_sep byte RTMP_VIDEO_CHANNEL concode_elem_sep RtmpHeader prevHeaderTx concode_elem_sep RtmpHeader prevHeaderRx concode_elem_sep ByteArrayOutputStream baos concode_elem_sep byte RTMP_STREAM_CHANNEL concode_elem_sep byte RTMP_COMMAND_CHANNEL concode_elem_sep byte RTMP_CONTROL_CHANNEL concode_elem_sep long sessionBeginTimestamp concode_elem_sep long realLastTimestamp concode_elem_sep byte RTMP_AUDIO_CHANNEL concode_field_sep boolean storePacketChunk concode_elem_sep RtmpHeader getPrevHeaderTx concode_elem_sep RtmpHeader prevHeaderRx concode_elem_sep long markAbsoluteTimestampTx concode_elem_sep void clearStoredChunks concode_elem_sep void setPrevHeaderTx concode_elem_sep ByteArrayInputStream getStoredPacketInputStream concode_elem_sep void setPrevHeaderRx concode_elem_sep boolean canReusePrevHeaderTx concode_elem_sep void markSessionTimestampTx
long function ( ) { long loc0 = System . nanoTime ( ) / 1000000 ; long loc1 = loc0 - realLastTimestamp ; realLastTimestamp = loc0 ; return loc1 ; }