Results 1 to 5 of 5

Thread: Cannot get video stream

  1. #1
    Join Date
    May 2015
    Posts
    4

    Default Cannot get video stream

    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=gue st&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(RTPSessionD escriptionDataProviderBasicRTSPWorker.java:2074)|at com.wowza.wms.mediacaster.rtp.RTPSessionDescriptionDataProviderBasic.getSessionDescriptionData(RTPSe ssionDescriptionDataProviderBasic.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!

  2. #2

    Default

    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, which monitors and resets unhealthy streams and Server monitoring with JConsole.

    Regards,

    Salvadore

  3. #3
    Join Date
    May 2015
    Posts
    4

    Default

    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.

  4. #4
    Join Date
    May 2015
    Posts
    4

    Default

    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=localho st&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=localho st&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=localho st&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=localho st&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=localho st&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.

  5. #5

    Default

    Please take a look at the How to specify per-stream settings in .stream files 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

Similar Threads

  1. Cannot get engine manager to appear
    By krissy in forum General Forum
    Replies: 2
    Last Post: 03-13-2014, 05:18 PM
  2. Cannot get new Playlist to open on existing Stream
    By chrisdeely in forum General Forum
    Replies: 4
    Last Post: 09-18-2013, 12:02 PM
  3. Cannot get live stream to play.....
    By timkjabar in forum Live Streaming and Encoder Discussion
    Replies: 20
    Last Post: 01-04-2013, 03:12 PM
  4. My page is only showing the Build and Version, Cannot get examples to display
    By tnylea in forum Wowza Media Server 3 for Amazon EC2 Discussion
    Replies: 4
    Last Post: 05-02-2012, 02:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •