Wowza Community

Question about RTP incoming stream

Hello there,

I publish stream(RTP/UDP) from VLC to Wowza, the stream can reach to Wowza server. But wowza access log said the stream is not health and close RTPSession.

What is healthy stream? What is not healty? Is bitrate too high or something else?

2017-10-13 18:59:38 JST comment server INFO 200 - MediaCasterStreamValidator.onValidateMediaCaster[live/definst] Stream not healthy [stream startup timeout]: mp4:myStream.stream - - - 7357862.201 - - - - - - - - - - - - - - - - - - - - - - - - - 2017-10-13 18:59:38 JST comment server INFO 200 - MediaCasterStreamValidator.onValidateMediaCastersStop[live/definst] Reset stream [mediaCaster]: mp4:myStream.stream - - - 7357862.202 - - - - - - - - - - - - - - - - - - - - - - - - - 2017-10-13 18:59:38 JST comment server INFO 200 - RTPMediaCaster.resetConnection[1044752665:live/definst:myStream.stream]: - - - 7357862.202 - - - - - - - - - - - - - - - - - - - - - - - - - 2017-10-13 18:59:38 JST comment server INFO 200 - RTPMediaCaster.closeRTPSession[1044752665:live/definst:myStream.stream] - - - 7357862.202 - - - - - - - - - - - - - - - - - - - - - - - - - 2017-10-13 18:59:38 JST unpublish stream INFO 200 myStream.stream - defaultVHost live definst 20.413 - 80 null 127.0.0.1 rtsp - known 780577738 0 0 71 0 0 0 myStream.stream - - - - - null null - null -

Does anyone has any idea about solve this unhealthy stream??

Thanks in advance,

Ying

Hello,

This typically would indicate a network issue or anomaly in the encoding that creates an unreliable flow of data.

VLC is used often to feed streams to Wowza Streaming Engine. If you’re sure the network path has enough bandwidth, no packet loss and moderate to low latency then I’d suggest looking at the encoding settings. I’d suggest referencing the following two articles as they should give you an idea of what to use for encoding settings with your given frame sizes and bandwidth available. The first is written for for Wowza Streaming Cloud but really does apply to Engine as well:

How to encode source video for Wowza Streaming Cloud

How to use VLC as a live stream encoder with Wowza Media Server MPEG-TS

You might also want to just try using FFmpeg instead of VLC. It is a bit easier to tweak the settings on the command line and we give some example commands in the article:

How to use FFmpeg with Wowza Media Server MPEG-TS

Best regards,
Andrew