# wowza session disconnect issue

**URL:** <https://community.wowza.com/t/wowza-session-disconnect-issue/34675>\
**Category:** Wowza Streaming Engine\
**Created:** [September 19, 2012, 3:11am UTC](https://community.wowza.com/t/wowza-session-disconnect-issue/34675 "2012-09-19T03:11:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ricky\_ding](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@ricky\_ding](https://community.wowza.com/u/ricky_ding)\
**Post date:** [September 19, 2012, 3:11am UTC](https://community.wowza.com/t/wowza-session-disconnect-issue/34675/1 "2012-09-19T03:11:49Z")

</div>

I use wowza to stream video from ipcam and it not work stable . Here it is the process:

1. use vlc to generate sdp file to wowza content directory

2. enter wowza streammanger , and start receive stream

application : rtplive/_definst_

media castertype: rtp

streamname: 288CFA7F19045C97-live-1.sdp

1. in live.html provided by wowza , enter server and stream name and press play.

video plays well.

then I stop playing , press play again , it can not play successfully.

wowza console show

INFO session connect-pending 220.249.243.51 -

INFO session connect 220.249.243.51 -

INFO session disconnect 430120584 -

but after several retries , video can be played again. Any hints ?

the following is the console message :

==========================================

INFO stream create - -

INFO stream play 288CFA7F19045C97-live-1.sdp -

INFO server comment - Stream Name: 288CFA7F19045C97-live-1.sdp

INFO stream stop 288CFA7F19045C97-live-1.sdp -

INFO server comment - onStop By: 752854375

INFO server comment - onStreamDestroy by: 752854375

INFO server comment - removeClientListener: 1

INFO stream destroy 288CFA7F19045C97-live-1.sdp -

INFO session disconnect 752854375 -

INFO session connect-pending 220.249.243.51 -

INFO session connect 220.249.243.51 -

INFO session disconnect 430120584 -

INFO session connect-pending 220.249.243.51 -

INFO session connect 220.249.243.51 -

INFO session disconnect 828775066 -

INFO session connect-pending 220.249.243.51 -

INFO session connect 220.249.243.51 -

INFO session disconnect 230833898 -

INFO session connect-pending 220.249.243.51 -

INFO session connect 220.249.243.51 -

INFO session disconnect 790311865 -

INFO session connect-pending 220.249.243.51 -

INFO session connect 220.249.243.51 -

INFO server comment - onStreamCreate by: 115775934

INFO stream create - -

INFO stream play 288CFA7F19045C97-live-1.sdp -

INFO server comment - Stream Name: 288CFA7F19045C97-live-1.sdp

INFO stream stop 288CFA7F19045C97-live-1.sdp -

INFO server comment - onStop By: 115775934

==========================================

---

<div class="post-metadata">

**Author:** ![Randall\_Auriemma](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@Randall\_Auriemma](https://community.wowza.com/u/Randall_Auriemma)\
**Post date:** [September 19, 2012, 1:36am UTC](https://community.wowza.com/t/wowza-session-disconnect-issue/34675/2 "2012-09-19T01:36:42Z")

</div>

Does the problem occur with one of the other RTMP players?

What are the source stream encoding details?

---

<div class="post-metadata">

**Author:** ![ricky\_ding](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@ricky\_ding](https://community.wowza.com/u/ricky_ding)\
**Post date:** [September 19, 2012, 8:56pm UTC](https://community.wowza.com/t/wowza-session-disconnect-issue/34675/3 "2012-09-19T20:56:00Z")

</div>

1. Does the problem occur with one of the other RTMP players?

Yes.

1. What are the source stream encoding details?

source stream after vlc encoding , h264 ,baseline profile , 15fps.

I follow the instruction here [https://www.wowza.com/docs/how-to-set-up-live-streaming-using-a-native-rtp-encoder-with-sdp-file](https://www.wowza.com/docs/how-to-set-up-live-streaming-using-a-native-rtp-encoder-with-sdp-file) to setup the stream.

wowza server version is 3.1.2.

It seems that when i click play and stop frequently , server will reject some request directly for security reason ?

I made the following experiments:

1. single live.html page , single player play.

when I tried several play and stop , the rest one can not play.

at this time , when I click play , wowza console show :

```auto
INFO session connect-pending 220.249.240.147 -
INFO session connect 220.249.240.147 -
INFO session disconnect 1611185738 -
INFO server comment - LiveStreamPacketizerSanJose.endChunkTS[live/_definst_/288CFA7F19045C97-live-1.sdp]: Add chunk: id:6 a/v/k:0/61/1 duration:6679
INFO server comment - LiveStreamPacketizerCupertino.endChunkTS[live/_definst_/288CFA7F19045C97-live-1.sdp]: Add chunk: id:6 mode:TS a/v/k:0/60/1 duration:6679
INFO server comment - LiveStreamPacketizerSmoothStreaming.addFragment[live/_definst_/288CFA7F19045C97-live-1.sdp]: Add chunk: type:video id:5 count:60 duration:6663

```

I use wireshark , it shows that server reset the tcp connection.

```auto
1826 99.650086000 120.196.125.21 192.168.2.31 TCP 60 http-alt > aocp [RST] Seq=3412 Win=0 Len=0

```

but after several minutes , I click play , it can play videos.

1. two live.html page , two player play.

let two pages play same video at the same time , and click play and stop on one player.

This player then disconnect by server as above , But the other player 's video playing does not stop .

Is this security configuration by wowza that forbidden too frequently request from same IP address ?

---

<div class="post-metadata">

**Author:** ![ricky\_ding](https://avatars.discourse-cdn.com/v4/letter/r/ecd19e/32.png) [@ricky\_ding](https://community.wowza.com/u/ricky_ding)\
**Post date:** [September 19, 2012, 11:31pm UTC](https://community.wowza.com/t/wowza-session-disconnect-issue/34675/4 "2012-09-19T23:31:59Z")

</div>

find a similar post , tcp reset by server for unknown network reason.

[https://www.wowza.com/forums/showthread.php?7656-RTMPT-random-disconnect-Zero-sized-function-exception](https://www.wowza.com/forums/showthread.php?7656-RTMPT-random-disconnect-Zero-sized-function-exception)

But no final result for that post , any suggestion?
