# Monitor RTMP publish connection state

**URL:** https://community.wowza.com/t/monitor-rtmp-publish-connection-state/92648
**Category:** Wowza Streaming Engine
**Tags:** wowza-streaming-server-java-api
**Created:** [January 7, 2021, 4:45pm UTC](https://community.wowza.com/t/monitor-rtmp-publish-connection-state/92648 "2021-01-07T16:45:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Tomislav\_Kordicc](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@Tomislav\_Kordicc](https://community.wowza.com/u/Tomislav_Kordicc)
#### Post date: [January 7, 2021, 4:45pm UTC](https://community.wowza.com/t/monitor-rtmp-publish-connection-state/92648/1 "2021-01-07T16:45:48Z")

</div>

Hi everyone,

I am using wowza to restream RTMP input to multiple destination such as Facebook, twitch and YouTube, While I can successfully monitor my ingest ( source ) stream ( IMediaStream ) by adding packet listener ( IMediaStreamLivePacketNotify ) I am having trouble getting any data from my PushPublishRTMP connection.  
What I would like to do is monitor the data packets passed to the output RTMP stream ( RTMP publish ) and log an error if the data starts to accumulate due to a low internet connection between Wowza and receiving RTMP server.

Please help.

Best regards,  
Tom.
