# Cannot get video stream

**URL:** <https://community.wowza.com/t/cannot-get-video-stream/45318>\
**Category:** Wowza Streaming Engine\
**Created:** [May 17, 2015, 9:43am UTC](https://community.wowza.com/t/cannot-get-video-stream/45318 "2015-05-17T09:43:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Victor\_Rotenberg](https://avatars.discourse-cdn.com/v4/letter/v/71c47a/32.png) [@Victor\_Rotenberg](https://community.wowza.com/u/Victor_Rotenberg)\
**Post date:** [May 17, 2015, 9:43am UTC](https://community.wowza.com/t/cannot-get-video-stream/45318/1 "2015-05-17T09:43:08Z")

</div>

Hi!

We are trying to use Wowza to get stream from our system. We use the following string to get the stream: “rtsp://X.X.X.X:554?stream=256&content=video&type=live&size=sif&framerate=10&username=anonymous&password=guest&bitrate=128000” and in VLC it works fine. But in Wowza we have errors in log:

"MediaCasterConnection.connect: Failed to connect[X.X.X.X:554] : org.apache.mina.common.RuntimeIOException: Failed to get the session[ConnectException: null].|at org.apache.mina.common.support.DefaultConnectFuture.getSession(DefaultConnectFuture.java:71)|at com.wowza.wms.mediacaster.MediaCasterConnection.connect(MediaCasterConnection.java:70)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect(RTPSessionDescriptionDataProviderBasicRTSPWorker.java:2074)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasic.getSessionDescriptionData(RTPSessionDescriptionDataProviderBasic.java:336)|at com.wowza.wms.mediacaster.rtp.RTPMediaCaster.getStreamInfo(RTPMediaCaster.java:206)|

ERROR server comment 2015-05-17 10:26:53 - - - - - 319508.151 - - - - - - - - "

Please help!

Thanks!

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [May 17, 2015, 6:32am UTC](https://community.wowza.com/t/cannot-get-video-stream/45318/2 "2015-05-17T06:32:15Z")

</div>

Hello there and welcome to the Wowza support forum.

Both errors are related to network connectivity problems, an inability to connect to the MediaCaster stream. Look at previous log lines for clues. I recommend installing [Advanced Stream Monitor](https://www.wowza.com/docs/how-to-enable-advanced-monitoring-and-resetting-of-mediacaster-streams), which monitors and resets unhealthy streams and Server monitoring with JConsole.

Regards,

Salvadore

---

<div class="post-metadata">

**Author:** ![sal\_jefferson](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@sal\_jefferson](https://community.wowza.com/u/sal_jefferson)\
**Post date:** [May 18, 2015, 5:57am UTC](https://community.wowza.com/t/cannot-get-video-stream/45318/3 "2015-05-18T05:57:58Z")

</div>

Please take a look at the [How to specify per-stream settings in .stream files](https://www.wowza.com/docs/how-to-specify-per-stream-settings-in-stream-files#rtspstreams_file) forum article which describes how to specify per-stream settings in .stream files to override those in the application configuration for the stream.

Please enable the rtspFilterUnknownTracks, rtpIgnoreProfileLevelId and rtpIgnoreSPropParameterSets. In some cases, for some IP cameras, these settings can help with the playback of RTMP streams. Let me know if that works in your case.

Salvadore

---

<div class="post-metadata">

**Author:** ![Victor\_Rotenberg](https://avatars.discourse-cdn.com/v4/letter/v/71c47a/32.png) [@Victor\_Rotenberg](https://community.wowza.com/u/Victor_Rotenberg)\
**Post date:** [May 18, 2015, 10:04am UTC](https://community.wowza.com/t/cannot-get-video-stream/45318/4 "2015-05-18T10:04:56Z")

</div>

Hello!

I installed Advanced Stream Monitor but nothing has changed. I think it has a problem to access rtsp url because it’s not standard. But VLC plays it well. What can we do?

Thanks.

---

<div class="post-metadata">

**Author:** ![Victor\_Rotenberg](https://avatars.discourse-cdn.com/v4/letter/v/71c47a/32.png) [@Victor\_Rotenberg](https://community.wowza.com/u/Victor_Rotenberg)\
**Post date:** [May 18, 2015, 1:15pm UTC](https://community.wowza.com/t/cannot-get-video-stream/45318/5 "2015-05-18T13:15:40Z")

</div>

Hello!

In access.log file I see the following:

"IDT unpublish stream INFO 200 SVG.stream - _defaultVHost_ MVG _definst_ 20.169 - 80 null 127.0.0.1 rtsp - known 1701074998 245360 0 12 0 245360 0 SVG.stream - - - - - null null - null -

2015-05-18 13:54:55 IDT destroy stream INFO 200 SVG.stream - _defaultVHost_ MVG _definst_ 20.17 - 80 null 127.0.0.1 rtsp - known 1701074998 245360 0 12 0 245360 0 SVG.stream - - - - - null null - null -

2015-05-18 13:54:55 IDT comment server INFO 200 - RTPMediaCaster.Reconnector[293381489:MVG/_definst_:SVG.stream]: start: 13 - - - 3974.463 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:54:55 IDT comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect: rtsp://192.168.1.150:5540?stream=2&content=video&type=live&size=sif&framerate=10&bitrate=96000&host=localhost&port=9988&token=146675496&videoslot=2 - - - 3974.578 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:54:55 IDT comment server INFO 200 - RTPSessionTracker.add[rtsp://192.168.1.150:5540?stream=2&content=video&type=live&size=sif&framerate=10&bitrate=96000&host=localhost&port=9988&token=146675496&videoslot=2]: 1 - - - 3974.579 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:54:55 IDT comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.buildSDPData: sessionId:4066428944 sessionTimeout:0 - - - 3974.607 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:54:55 IDT comment server INFO 200 - RTPSessionDescriptionDataProviderBasic.getStreamInfo[MVG/_definst_]: RTSP/RTP re-streaming. Success, received SDP data. - - - 3974.829 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:54:55 IDT create stream INFO 200 - - _defaultVHost_ MVG _definst_ 0.001 - 80 null 127.0.0.1 rtsp - known 1945703323 0 0 13 0 0 0 SVG.stream - - - - - null null - null -

2015-05-18 13:54:55 IDT comment server INFO 200 - RTPUDPTransport.bind[MVG/_definst_]: /0.0.0.0:9992 _defaultVHost_ MVG _definst_ 3974.833 - 80 null 127.0.0.1 rtsp - known 1945703323 0 0 - - - - - - - - - - - - - null -

2015-05-18 13:54:55 IDT comment server INFO 200 - UDPPortSharingManager.bind[MVG/_definst_:true]: 0.0.0.0/0.0.0.0:9992 _defaultVHost_ MVG _definst_ 3974.834 - 80 null 127.0.0.1 rtsp - known 1945703323 0 0 - - - - - - - - - - - - - null -

2015-05-18 13:54:55 IDT comment server INFO 200 - RTPUDPTransport.bind[MVG/_definst_]: /0.0.0.0:9993 _defaultVHost_ MVG _definst_ 3974.878 - 80 null 127.0.0.1 rtsp - known 1945703323 0 0 - - - - - - - - - - - - - null -

2015-05-18 13:54:55 IDT comment server INFO 200 - UDPPortSharingManager.bind[MVG/_definst_:true]: 0.0.0.0/0.0.0.0:9993 _defaultVHost_ MVG _definst_ 3974.89 - 80 null 127.0.0.1 rtsp - known 1945703323 0 0 - - - - - - - - - - - - - null -

2015-05-18 13:54:55 IDT publish stream INFO 200 SVG.stream - _defaultVHost_ MVG _definst_ 0.06 - 80 null 127.0.0.1 rtsp - known 1945703323 0 0 13 0 0 0 SVG.stream - - - - - null null - null -

2015-05-18 13:54:55 IDT comment server INFO 200 - RTPMediaCaster.Reconnector[293381489:MVG/_definst_:SVG.stream]: done: 13 - - - 3974.893 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:54:55 IDT comment server INFO 200 - ModuleMediaCasterStreamMonitorAdvanced.getMonitor[MVG/_definst_] create:SVG.stream - - - 3974.964 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:54:55 IDT comment server INFO 200 - UDPTransport.firstPacket: bind:/0.0.0.0:9992 msg:/192.168.1.150:9000 - - - 3974.97 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - ModuleMediaCasterStreamMonitorAdvanced.onValidateMediaCaster[MVG/_definst_] Stream not healthy [stream startup timeout]: mp4:SVG.stream - - - 3994.97 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - ModuleMediaCasterStreamMonitorAdvanced.onValidateMediaCastersStop[MVG/_definst_] Reset stream [mediaCaster]: mp4:SVG.stream - - - 3994.97 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - RTPMediaCaster.resetConnection[293381489:MVG/_definst_:SVG.stream]: - - - 3994.97 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - RTPMediaCaster.closeRTPSession[293381489:MVG/_definst_:SVG.stream] - - - 3994.97 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.close closeSession - - - 3994.973 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.onClose - - - 3994.974 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - RTPSessionTracker.remove[rtsp://192.168.1.150:5540?stream=2&content=video&type=live&size=sif&framerate=10&bitrate=96000&host=localhost&port=9988&token=146675496&videoslot=2]: 0:true - - - 3994.976 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - RTPUDPTransport.unbind[MVG/_definst_]: 0.0.0.0/0.0.0.0:9992 sent:0 recv:346 - - - 3994.975 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - UDPPortSharingManager.unbind[MVG/_definst_:true]: 0.0.0.0/0.0.0.0:9992 - - - 3994.988 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - RTPUDPTransport.unbind[MVG/_definst_]: 0.0.0.0/0.0.0.0:9993 sent:0 recv:0 - - - 3994.99 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - UDPPortSharingManager.unbind[MVG/_definst_:true]: 0.0.0.0/0.0.0.0:9993 - - - 3994.993 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT unpublish stream INFO 200 SVG.stream - _defaultVHost_ MVG _definst_ 20.163 - 80 null 127.0.0.1 rtsp - known 1945703323 240105 0 13 0 240105 0 SVG.stream - - - - - null null - null -

2015-05-18 13:55:15 IDT destroy stream INFO 200 SVG.stream - _defaultVHost_ MVG _definst_ 20.164 - 80 null 127.0.0.1 rtsp - known 1945703323 240105 0 13 0 240105 0 SVG.stream - - - - - null null - null -

2015-05-18 13:55:15 IDT comment server INFO 200 - RTPMediaCaster.Reconnector[293381489:MVG/_definst_:SVG.stream]: start: 14 - - - 3994.995 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - RTPSessionDescriptionDataProviderBasicRTSPWorker.doConnect: rtsp://192.168.1.150:5540?stream=2&content=video&type=live&size=sif&framerate=10&bitrate=96000&host=localhost&port=9988&token=146675496&videoslot=2 - - - 3995.099 - - - - - - - - - - - - - - - - - - - - - - - - -

2015-05-18 13:55:15 IDT comment server INFO 200 - RTPSessionTracker.add[rtsp://192.168.1.150:5540?stream=2&content=video&type=live&size=sif&framerate=10&bitrate=96000&host=localhost&port=9988&token=146675496&videoslot=2]: 1 - - - 3995.107 - - - - - - - - - - - - - - - - - - - - - - - - -"

In the statistic of the stream I can see that the incoming traffic counter is coming up.
