# How to know Timestamp from RTSP/RTMP Streaming Source?

**URL:** <https://community.wowza.com/t/how-to-know-timestamp-from-rtsp-rtmp-streaming-source/45768>\
**Category:** Wowza Streaming Engine\
**Created:** [August 4, 2015, 4:24pm UTC](https://community.wowza.com/t/how-to-know-timestamp-from-rtsp-rtmp-streaming-source/45768 "2015-08-04T16:24:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yoonsang\_kim](https://avatars.discourse-cdn.com/v4/letter/y/77aa72/32.png) [@yoonsang\_kim](https://community.wowza.com/u/yoonsang_kim)\
**Post date:** [August 4, 2015, 4:24pm UTC](https://community.wowza.com/t/how-to-know-timestamp-from-rtsp-rtmp-streaming-source/45768/1 "2015-08-04T16:24:24Z")

</div>

Hi

I`m noob developer and i trying to make a remote device system with Android Smartphone.

I use open source(libstreaming) to streaming my phone camera to wowza media server.

My desktop is server, and other desktop is client to visit webpage with flowplayer.

Overall is,

Android - RTSP - WOWZA - RTMP - Internet Browser.

But it has big issue. DELAY.

So i want to know close latency(or delay), i research the protocol.

as a result, i found key which is RTSP(with RTP) has timestamp header.

if i know timestamp, i try to sync and display delay to user but i can`t find how to see this value with wowza.

please help me to go to next step. thanks.

---

<div class="post-metadata">

**Author:** ![Jason\_Hilton](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/jason_hilton/32/437_2.png) [@Jason\_Hilton](https://community.wowza.com/u/Jason_Hilton)\
**Post date:** [August 19, 2015, 2:26pm UTC](https://community.wowza.com/t/how-to-know-timestamp-from-rtsp-rtmp-streaming-source/45768/2 "2015-08-19T14:26:41Z")

</div>

Hi,

To log the keyframe timcodes in the Wowza logs you can add the following property to the Streams/Properties container in [install-dir]/conf/[application]/Application.xml. This instructs the Wowza Streaming Engine to log PTS (presentation timestamp) and DTS (decoder timestamp) information for every video keyframe.

```auto
<Property>
	<Name>debugKeyFrameTimecodes</Name>
	<Value>true</Value>
	<Type>Boolean</Type>
</Property>

```

You can also add Properties using Wowza Streaming Engine Manager by following the instructions in the article below.

[How to get started as a Wowza Streaming Engine Manager administrator](https://www.wowza.com/docs/how-to-get-started-as-a-wowza-streaming-engine-manager-administrator)

You will add the following as a Custom Property

```auto
Path: /Root/Application/Streams
Name: debugKeyFrameTimecodes
Type: Boolean
Value: true

```

I recommend that you also take a look at our [GoCoder App for Android devices](https://www.wowza.com/docs/how-to-use-wowza-gocoder-video-broadcasting-android-app).

Regards,

Jason
