Wowza Community

RTSP live stream with program date/time

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:

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

PLAY rtsp:// RTSP/1.0
Session: 1612083630
CSeq: 5
User-Agent: SFRtsp 0.3 (index):113

Response from Wowza:

RTSP/1.0 200 OK
RTP-Info: url=rtsp://;seq=1;rtptime=3168417192,url=rtsp://;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).

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.