Wowza Community

Livestreaming lot of delay

Hello Everyone,

It’s my first post on this forum.

We have two servers with identical characteristics.

MacOS 64bits on one and Debian 7 64bits on the other.

Wowza configurations are identical.

On the MacOS live opens quickly (less than 3-4s).

On the Debian live opens after 12-14s.

In MacOS server logs I noticed that RTPUDPTransport.bind and / or UDPTransport.firstPacket take 1s.

In Debian server logs I noticed that RTPUDPTransport.bind and / or UDPTransport.firstPacket take 10s.

What is the problem?

I try to tune Wowza but nothing changes.

I’m sorry but I don’t know how to join a file so I copy the logs here.

Thank you,

Logs DEBIAN :

2015-01-30 14:42:40 CET connect-pending session INFO 100 192.168.10.113 - defaultVHost livestreaming definst 0.032 [any] 1935 rtmpe://192.168.10.140/livestreaming 192.168.10.113 rtmpe http://192.168.10.103/PortailWeb2.0/VTSS/flowplayer-3.0.7.swf MAC 12,0,0,77 519704796 3466 3073 rtmpe://192.168.10.140/livestreaming -

2015-01-30 14:42:40 CET connect session INFO 200 192.168.10.113 - defaultVHost livestreaming definst 0.033 [any] 1935 rtmpe://192.168.10.140/livestreaming 192.168.10.113 rtmpe http://192.168.10.103/PortailWeb2.0/VTSS/flowplayer-3.0.7.swf MAC 12,0,0,77 519704796 3466 3073 - rtmpe://192.168.10.140/livestreaming -

2015-01-30 14:42:40 CET create stream INFO 200 - - defaultVHost livestreaming definst 0.001 [any] 1935 rtmpe://192.168.10.140/livestreaming 192.168.10.113 rtmpe http://192.168.10.103/PortailWeb2.0/VTSS/flowplayer-3.0.7.swf MAC 12,0,0,77 519704796 3520 3413 1 0 rtmpe://192.168.10.140/livestreaming rtmpe://192.168.10.140/livestreaming - rtmpe://192.168.10.140/livestreaming -

2015-01-30 14:42:40 CET comment server INFO 200 - MediaStreamMediaCasterPlay: startPlay - - - 65.586 - - - -

2015-01-30 14:42:40 CET comment server INFO 200 - RTPMediaCaster.create[1236062821] - - - 65.586 - - - -

2015-01-30 14:42:40 CET comment server INFO 200 - RTPMediaCaster.init[1236062821] - - - 65.587 - - - - -

2015-01-30 14:42:40 CET comment server INFO 200 - RTPMediaCaster.Reconnector[1236062821:livestreaming/definst:RDVT_2.sdp]: start: 1 - 65.588 - - - - - - - - - - - - - - - - - - - - - -

2015-01-30 14:42:40 CET comment server INFO 200 - RTPSessionDescriptionDataProviderBasic.getStreamInfo[livestreaming/definst]: /Volumes/VigitowerSAN/sdp_root/RDVT_2.sdp - - - 65.689 - - - - - - - - - - - - - - -

2015-01-30 14:42:40 CET create stream INFO 200 - - defaultVHost livestreaming definst 0.0 - 80 null 127.0.0.1 rtsp - known 440590627 0 0 3 0 0 0 RDVT_2.sdp - - - - - null null - null -

2015-01-30 14:42:45 CET comment server INFO 200 - RTPUDPTransport.bind[livestreaming/definst]: /0.0.0.0:12044 defaultVHost livestreaming definst 70.696 - 80 null 127.0.0.1 rtsp - known 440590627 0 0 - - - - - - - null -

2015-01-30 14:42:45 CET comment server INFO 200 - UDPPortSharingManager.bind[livestreaming/definst:true]: 0.0.0.0/0.0.0.0:12044 defaultVHost livestreaming definst 70.697 - 80 null 127.0.0.1 rtsp - known 440590627 0 0 - - - - - null -

2015-01-30 14:42:45 CET comment server INFO 200 - UDPTransport.firstPacket: bind:/0.0.0.0:12044 msg:/192.168.10.140:38715 - - - 70.769 - - - - - - - - - - - - - - - - - - - - - -

2015-01-30 14:42:50 CET comment server INFO 200 - RTPUDPTransport.bind[livestreaming/definst]: /0.0.0.0:12045 defaultVHost livestreaming definst 75.701 - 80 null 127.0.0.1 rtsp - known 440590627 0 0 - - - - - - - null -

2015-01-30 14:42:50 CET comment server INFO 200 - UDPPortSharingManager.bind[livestreaming/definst:true]: 0.0.0.0/0.0.0.0:12045 defaultVHost livestreaming definst 75.702 - 80 null 127.0.0.1 rtsp - known 440590627 0 0 - - - - - null -

2015-01-30 14:42:50 CET publish stream INFO 200 RDVT_2.sdp - defaultVHost livestreaming definst 10.018 - 80 null 127.0.0.1 rtsp - known 440590627 128185 0 3 1422625370895 128185 0 RDVT_2.sdp - - - - - null null - null -

2015-01-30 14:42:50 CET comment server INFO 200 - RTPMediaCaster.Reconnector[1236062821:livestreaming/definst:RDVT_2.sdp]: done: 1 - 75.711 - - - - - - - - - - - - - - - - - - - - - -

2015-01-30 14:42:50 CET comment server INFO 200 - LivePlayer.play[livestreaming/definst/RDVT_2.sdp]: Dynamic Stream Markers are on. - 75.766 - - - - - - - - - - - - - - - - - - - - - -

2015-01-30 14:42:50 CET comment server INFO 200 - LiveStreamPacketizerCupertino.init[livestreaming/definst/RDVT_2.sdp]: chunkDurationTarget: 10000 - - - 75.781 - - - - - - - - - - - - - - - - - -

2015-01-30 14:42:50 CET comment server INFO 200 - LiveStreamPacketizerCupertino.init[livestreaming/definst/RDVT_2.sdp]: chunkDurationTolerance: 500 - - - 75.782 - - - - - - - - - - - - - - - - - -

2015-01-30 14:42:50 CET comment server INFO 200 - LiveStreamPacketizerCupertino.init[livestreaming/definst/RDVT_2.sdp]: audioGroupCount: 3 75.782 - - - - - - - - - - - - - - - - - - - - - -

2015-01-30 14:42:50 CET comment server INFO 200 - LiveStreamPacketizerCupertino.init[livestreaming/definst/RDVT_2.sdp]: playlistChunkCount:3 75.783 - - - - - - - - - - - - - - - - - - - - - -

2015-01-30 14:42:50 CET comment server INFO 200 - MediaStreamMap.getLiveStreamPacketizer: Create live stream packetizer: cupertinostreamingpacketizer:RDVT_2.sdp - - - 75.785 - - - - - - - - - - - - - - - - -

2015-01-30 14:42:51 CET comment server INFO 200 - CupertinoPacketHandler.startStream[livestreaming/definst/RDVT_2.sdp] - - - 75.786 - - - - - - - - - - - - - - - - - - - - - -

2015-01-30 14:42:51 CET comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[livestreaming/definst/RDVT_2.sdp]: Video codec:H264 isCompatible:true - - - 75.788 - - - - - - - - - - - - - - - -

2015-01-30 14:42:51 CET comment server INFO 200 - LiveStreamPacketizerCupertino.handlePacket[livestreaming/definst/RDVT_2.sdp][avc1.66.12]: H.264 Video info: {H264CodecConfigInfo: profile: “Baseline”, level: 1.2, frameSize: 352x288, displaySize: 352x288, frameRate: 8.0} - - - 75.79 - - -

2015-01-30 14:42:54 CET play stream INFO 200 RDVT_2.sdp - defaultVHost livestreaming definst 14.187 [any] 1935 rtmpe://192.168.10.140/livestreaming 192.168.10.113 rtmpe http://192.168.10.103/PortailWeb2.0/VTSS/flowplayer-3.0.7.swf MAC 12,0,0,77 519704796 3567 3608 1 RDVT_2.sdp - -

Hi NicolasVTSYS, and welcome to Wowza Forum!

Wowza normally connects to the RTSP stream via UDP, but if this is somehow blocked (for example, a firewall setting), it would then switch to TCP, which takes around 10 seconds or so. Please test your Debian server again, but this time, turn off the firewall (just for testing purposes), and let us know if you still see the same issue.

Michelle