# RTSP live stream with program date/time

**URL:** <https://community.wowza.com/t/rtsp-live-stream-with-program-date-time/53006>\
**Category:** Wowza Streaming Engine\
**Tags:** wowza-streaming-server-java-api\
**Created:** [March 15, 2019, 1:51pm UTC](https://community.wowza.com/t/rtsp-live-stream-with-program-date-time/53006 "2019-03-15T13:51:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Ables1](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@Jason\_Ables1](https://community.wowza.com/u/Jason_Ables1)\
**Post date:** [March 15, 2019, 1:51pm UTC](https://community.wowza.com/t/rtsp-live-stream-with-program-date-time/53006/1 "2019-03-15T13:51:54Z")

</div>

I’m trying to find a way show the stream date and time when playing a RTSP live stream.

When a user starts watching now, if the live stream has been streaming/recording for e.g. 3m10s, the user’s player starts counting up from zero seconds. What I need is their player to start counting up from 3m10s.

Our web app allows users to make comments with time stamps. So if a user reference “5m13s” in a comment, when watching the recorded stream later, 5m13s needs to reference the same moment in the stream.

I solved this issue with HLS using the ModuleCupertinoProgramDateTime module:

[https://www.wowza.com/docs/how-to-control-display-of-program-date-and-time-headers-in-apple-hls-chunklists-for-live-streams-ext-x-program-date-time](http://community.wowza.com/community/questions/%E2%80%8Bhttps://www.wowza.com/docs/how-to-control-display-of-program-date-and-time-headers-in-apple-hls-chunklists-for-live-streams-ext-x-program-date-time)

We’re switching from HLS to RTSP to reduce latency. And we’re using Streamedian to play Wowza’s RTSP stream in the browser.

I’ve dug around the Wowza documentation, examples, etc for that last few days and haven’t found anything that seems to works.

I’m thinking maybe I can sync up the browser player’s time when it makes the RTSP PLAY request

```auto
PLAY rtsp://127.0.0.1:1935/live/live/test.stream/ RTSP/1.0
Session: 1612083630
CSeq: 5
User-Agent: SFRtsp 0.3 (index):113

```

Response from Wowza:

```auto
RTSP/1.0 200 OK
RTP-Info: url=rtsp://127.0.0.1:1935/live/live/test.stream/trackID=1;seq=1;rtptime=3168417192,url=rtsp://127.0.0.1:1935/live/live/test.stream/trackID=2;seq=1;rtptime=140808812
CSeq: 5
Server: Wowza Streaming Engine 4.7.7 build20181108145350
Cache-Control: no-cache
Range: npt=now-
Session: 1612083630;timeout=60

```

Maybe the **rtptime** parameter can be used (seen in the RTP-Info header in the response headers above)? I haven’t found anything yet that explains what that value is. And I’m not sure why it differs between track 1 and 2 (audio and video I believe).

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [March 15, 2019, 2:42pm UTC](https://community.wowza.com/t/rtsp-live-stream-with-program-date-time/53006/2 "2019-03-15T14:42:42Z")

</div>

Hi @Jason Ables, I’ll see if I can get an engineer to answer this for you since you’ve been searching through the docs for a few days. I appreciate your efforts and patience. If you want, you can submit a support ticket to receive assistance as well and they’ll test to make sure the time stamp works correctly in the player in the time you wish.

[https://www.wowza.com/support/open-ticket](https://www.wowza.com/support/open-ticket)
