# Stream start time calculation is off

**URL:** https://community.wowza.com/t/stream-start-time-calculation-is-off/47496
**Category:** Wowza Streaming Engine
**Created:** [October 3, 2016, 2:56pm UTC](https://community.wowza.com/t/stream-start-time-calculation-is-off/47496 "2016-10-03T14:56:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Muhammad\_Syafiq\_Ma\_a](https://avatars.discourse-cdn.com/v4/letter/m/57b2e6/32.png) [@Muhammad\_Syafiq\_Ma\_a](https://community.wowza.com/u/Muhammad_Syafiq_Ma_a)
#### Post date: [October 3, 2016, 2:56pm UTC](https://community.wowza.com/t/stream-start-time-calculation-is-off/47496/1 "2016-10-03T14:56:32Z")

</div>

Hi there,

Earlier today, there was a power trip that caused 2 of my IP Cameras (A and B) to be down for a moment. Once the IP Cameras are back on, Wowza Streaming Engine was able to reconnect to both cameras properly but stream from Camera A seems to have some issue playing for Mpeg-Dash playback (The video playback is intermittent). Checking the error log shows this: MPEGDashWriterHandler.endChunk[live/_definst_/streamA.stream]: Stream start time calculation is off by 6057ms from original value. I managed to fix the issue by resetting the stream in Incoming Stream using Wowza Streaming Engine Manager.

Still, I am wondering how to interpret this error message and how this actually affects Mpeg-dash playback. I am guessing that since MpegDash relies on start time, this error caused some issue with its playback? Secondly, is there some configurable settings that will allow Wowza to be robust enough to handle this error automatically.

Thanks and Best Regards

Details from Error Log:

> ERROR server comment 2016-10-03 14:11:18 - - - - - 245283.349 - - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect: Connect org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused: no further information].
> 
> WARN server comment 2016-10-03 14:11:18 - - - - - 245283.349 - - - - - - - - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming. Cannot connect to server: rtsp://192.168.1.16/stream1
> 
> ERROR server comment 2016-10-03 14:11:21 - - - - - 245286.332 - - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect: Connect org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused: no further information].
> 
> WARN server comment 2016-10-03 14:11:21 - - - - - 245286.332 - - - - - - - - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming. Cannot connect to server: rtsp://192.168.1.16/stream1
> 
> ERROR server comment 2016-10-03 14:11:24 - - - - - 245289.348 - - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect: Connect org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused: no further information].
> 
> WARN server comment 2016-10-03 14:11:24 - - - - - 245289.348 - - - - - - - - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming. Cannot connect to server: rtsp://192.168.1.16/stream1
> 
> ERROR server comment 2016-10-03 14:11:27 - - - - - 245292.332 - - - - - - - - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect: Connect org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: Connection refused: no further information].
> 
> WARN server comment 2016-10-03 14:11:27 - - - - - 245292.332 - - - - - - - - RTPSessionDescriptionDataProviderBasic.getStreamInfo: RTSP/RTP re-streaming. Cannot connect to server: rtsp://192.168.1.16/stream1
> 
> WARN server comment 2016-10-03 14:11:29 - - - - - 245294.849 - - - - - - - - CupertinoPacketHandler.handleHolder[live/_definst_/streamA.stream]: Invalid video/audio codec combination for iPhone/iPod: video:H264 audio:G711\_MULAW
> 
> WARN server comment 2016-10-03 14:11:29 - - - - - 245294.849 - - - - - - - - CupertinoPacketHandler.handleHolder[live/_definst_/streamA.stream]: Invalid audio codec for iPhone/iPod:G711\_MULAW
> 
> WARN server comment 2016-10-03 14:11:29 - - - - - 245294.977 - - - - - - - - SanJosePacketHandler.handlePacket[live/_definst_/streamA.stream]: Timecode out of order [audio]: 7971884286:7971884288
> 
> WARN server comment 2016-10-03 14:11:29 - - - - - 245294.977 - - - - - - - - CupertinoPacketHandler.handlePacket[live/_definst_/streamA.stream]: Timecode out of order [audio]: curr:7971884286 last:7971884288 diff:-2 maxTimecodeGap:-1
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.666 - - - - - - - - CupertinoPacketHandler.handleHolder[live/_definst_/streamA.stream\_160p]: Invalid video/audio codec combination for iPhone/iPod: video:H264 audio:G711\_MULAW
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.667 - - - - - - - - CupertinoPacketHandler.handleHolder[live/_definst_/streamA.stream\_160p]: Invalid audio codec for iPhone/iPod:G711\_MULAW
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.67 - - - - - - - - CupertinoPacketHandler.handleHolder[live/_definst_/streamA.stream\_720p]: Invalid video/audio codec combination for iPhone/iPod: video:H264 audio:G711\_MULAW
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.671 - - - - - - - - CupertinoPacketHandler.handleHolder[live/_definst_/streamA.stream\_240p]: Invalid video/audio codec combination for iPhone/iPod: video:H264 audio:G711\_MULAW
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.671 - - - - - - - - CupertinoPacketHandler.handleHolder[live/_definst_/streamA.stream\_240p]: Invalid audio codec for iPhone/iPod:G711\_MULAW
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.671 - - - - - - - - CupertinoPacketHandler.handleHolder[live/_definst_/streamA.stream\_720p]: Invalid audio codec for iPhone/iPod:G711\_MULAW
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.672 - - - - - - - - CupertinoPacketHandler.handleHolder[live/_definst_/streamA.stream\_360p]: Invalid video/audio codec combination for iPhone/iPod: video:H264 audio:G711\_MULAW
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.673 - - - - - - - - CupertinoPacketHandler.handleHolder[live/_definst_/streamA.stream\_360p]: Invalid audio codec for iPhone/iPod:G711\_MULAW
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.778 - - - - - - - - SanJosePacketHandler.handlePacket[live/_definst_/streamA.stream\_720p]: Timecode out of order [audio]: 7971884286:7971884288
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.779 - - - - - - - - CupertinoPacketHandler.handlePacket[live/_definst_/streamA.stream\_240p]: Timecode out of order [audio]: curr:7971884286 last:7971884288 diff:-2 maxTimecodeGap:-1
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.779 - - - - - - - - SanJosePacketHandler.handlePacket[live/_definst_/streamA.stream\_240p]: Timecode out of order [audio]: 7971884286:7971884288
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.779 - - - - - - - - CupertinoPacketHandler.handlePacket[live/_definst_/streamA.stream\_360p]: Timecode out of order [audio]: curr:7971884286 last:7971884288 diff:-2 maxTimecodeGap:-1
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.779 - - - - - - - - SanJosePacketHandler.handlePacket[live/_definst_/streamA.stream\_360p]: Timecode out of order [audio]: 7971884286:7971884288
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.779 - - - - - - - - CupertinoPacketHandler.handlePacket[live/_definst_/streamA.stream\_160p]: Timecode out of order [audio]: curr:7971884286 last:7971884288 diff:-2 maxTimecodeGap:-1
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.779 - - - - - - - - SanJosePacketHandler.handlePacket[live/_definst_/streamA.stream\_160p]: Timecode out of order [audio]: 7971884286:7971884288
> 
> WARN server comment 2016-10-03 14:11:30 - - - - - 245295.778 - - - - - - - - CupertinoPacketHandler.handlePacket[live/_definst_/streamA.stream\_720p]: Timecode out of order [audio]: curr:7971884286 last:7971884288 diff:-2 maxTimecodeGap:-1
> 
> WARN server comment 2016-10-03 14:11:32 - - - - - 245297.884 - - - - - - - - TranscoderStreamNameGroup.validateMembers[_defaultVHost_:live/_definst_/streamA.stream]: StreamNameGroup[720p] audio codec is not valid for name group: G711\_MULAW (g711.mulaw)
> 
> WARN server comment 2016-10-03 14:11:32 - - - - - 245297.889 - - - - - - - - TranscoderStreamNameGroup.validateMembers[_defaultVHost_:live/_definst_/streamA.stream]: StreamNameGroup[360p] audio codec is not valid for name group: G711\_MULAW (g711.mulaw)
> 
> WARN server comment 2016-10-03 14:11:32 - - - - - 245297.889 - - - - - - - - TranscoderStreamNameGroup.validateMembers[_defaultVHost_:live/_definst_/streamA.stream]: StreamNameGroup[240p] audio codec is not valid for name group: G711\_MULAW (g711.mulaw)
> 
> WARN server comment 2016-10-03 14:11:32 - - - - - 245297.889 - - - - - - - - TranscoderStreamNameGroup.validateMembers[_defaultVHost_:live/_definst_/streamA.stream]: StreamNameGroup[160p] audio codec is not valid for name group: G711\_MULAW (g711.mulaw)
> 
> WARN server comment 2016-10-03 14:11:32 - - - - - 245297.889 - - - - - - - - TranscoderStreamNameGroup.addInternal[_defaultVHost_:live/_definst_/streamA.stream]: Name group was not added, it is empty: all
> 
> WARN server comment 2016-10-03 14:11:32 - - - - - 245297.89 - - - - - - - - TranscoderStreamNameGroup.validateMembers[_defaultVHost_:live/_definst_/streamA.stream]: StreamNameGroup[240p] audio codec is not valid for name group: G711\_MULAW (g711.mulaw)
> 
> WARN server comment 2016-10-03 14:11:32 - - - - - 245297.89 - - - - - - - - TranscoderStreamNameGroup.validateMembers[_defaultVHost_:live/_definst_/streamA.stream]: StreamNameGroup[160p] audio codec is not valid for name group: G711\_MULAW (g711.mulaw)
> 
> WARN server comment 2016-10-03 14:11:32 - - - - - 245297.89 - - - - - - - - TranscoderStreamNameGroup.addInternal[_defaultVHost_:live/_definst_/streamA.stream]: Name group was not added, it is empty: mobile
> 
> WARN server comment 2016-10-03 14:11:37 - - - - - 245302.615 - - - - - - - - MPEGDashWriterHandler.endChunk[live/_definst_/streamA.stream]: Stream start time calculation is off by 6057ms from original value.
> 
> WARN server comment 2016-10-03 14:11:38 - - - - - 245303.827 - - - - - - - - MPEGDashWriterHandler.endChunk[live/_definst_/streamA.stream\_160p]: Stream start time calculation is off by 5587ms from original value.
> 
> WARN server comment 2016-10-03 14:11:38 - - - - - 245303.827 - - - - - - - - MPEGDashWriterHandler.endChunk[live/_definst_/streamA.stream\_720p]: Stream start time calculation is off by 5588ms from original value.
> 
> WARN server comment 2016-10-03 14:11:38 - - - - - 245303.827 - - - - - - - - MPEGDashWriterHandler.endChunk[live/_definst_/streamA.stream\_240p]: Stream start time calculation is off by 5588ms from original value.
> 
> WARN server comment 2016-10-03 14:11:38 - - - - - 245303.827 - - - - - - - - MPEGDashWriterHandler.endChunk[live/_definst_/streamA.stream\_360p]: Stream start time calculation is off by 5588ms from original value.
> 
> WARN server comment 2016-10-03 14:11:40 - - - - - 245305.715 - - - - - - - - MPEGDashWriterHandler.endChunk[live/_definst_/streamA.stream\_720p]: Stream start time calculation is off by 1644ms from original value.

---

<div class="post-metadata">

### Author: ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)
#### Post date: [November 1, 2016, 4:39pm UTC](https://community.wowza.com/t/stream-start-time-calculation-is-off/47496/2 "2016-11-01T16:39:06Z")

</div>

Hi,

These messages are just logging that the source timecodes are changing. It’s usually nothing to be concerned about. If you haven’t already you may also want to ensure you’ve applied the latest update (currently 4.5.0.03) from the My Downloads tab of your customer portal. There have been a number of updates to MPEG-DASH since the last full release.

Regards,

Paul
