wowza session disconnect issue

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

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

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

What are the source stream encoding details?

  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 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 :

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.

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 ?

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

But no final result for that post , any suggestion?