BUG: RTSP cannot play live streams

Sun's RTSP implementation does not handle live streams. Live streams have a range with a starting time but no ending time. Looking at the source code of com.sun.media.content.rtsp.RtspUtil.setDuration(), there's no check for the possibility that the end time is not specified, so live streams will cause a NumberFormatException during RTSP parsing.
Will this be fixed?
Scott

Sun's RTSP implementation does not handle live streams. Live streams have a range with a starting time but no ending time. Looking at the source code of com.sun.media.content.rtsp.RtspUtil.setDuration(), there's no check for the possibility that the end time is not specified, so live streams will cause a NumberFormatException during RTSP parsing.
Will this be fixed?
Scott

Similar Messages

  • 2 Iphone4 play live stream not same

    I stream live video from my streaming server and use 2 iphone4 to display.
    Unit 1. it play live stream normally.
    Unit 2. it play about 20-30 sec, and replay again again and again.
    Please advise me, what parameter that i should check or tune ?
    Thanks,

    I tried streaming with the Adobe Flash Media Live Encoder3 instead of my Broadcater.swf.  This connects fine and pushes h.264 no problem.
    But the reciever is still seeng VOD not Live video.
    Is there something wrong with my receiver?

  • Flash media live encoder, play live streaming failed!

    Hi, I install a fms3.5 and fmle3.1 on my computer. In fmle, I set video format is h264,and fms url:RTMP://192.168.8.6/live ,stream: livestream. The input and output windows' video is ok.
    The following is fmle log:
    Tue Jun 22 2010 12:25:19 : Primary - Connected
    Tue Jun 22 2010 12:25:19 : Primary - Network Command: onBWDone
    Tue Jun 22 2010 12:25:19 : Primary - Stream[11] Status: Success
    Tue Jun 22 2010 12:25:19 : Primary - Network Command: onFCPublish
    Tue Jun 22 2010 12:25:19 : Primary - Stream[11] Status: NetStream.Publish.Start
    Tue Jun 22 2010 12:25:19 : Session Started
    Tue Jun 22 2010 12:25:19 : Video Encoding Started
    The following is my source code to play live stream:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
        <mx:Script>
            <![CDATA[
             import mx.controls.Alert;
             private function showFlv():void {
                //myVideo.source = "rtmp://192.168.8.6:1935/vod/test.flv";
                myVideo.source = "rtmp://192.168.8.6:1935/live/livestream";
                 Dumper.info(myVideo.source);
             ]]>
        </mx:Script>
        <mx:Panel width="100%" height="100%">
          <mx:VBox width="100%" horizontalAlign="center">
            <mx:Text text="code display"/>
            <mx:Button label="play flv" click="showFlv();"/>
          </mx:VBox>
          <mx:VideoDisplay width="100%" height="100%" id="myVideo"/>
        </mx:Panel>
    </mx:Application>
    If I use myVideo.source = "rtmp://192.168.8.6:1935/vod/test.flv" ,it can play video.  Use :myVideo.source = "rtmp://192.168.8.6:1935/live/livestream",  Can't get video. Why?
    I just want to play live video on pc.

    Who can help me??

  • I cannot watch live stream from NBC live extra using Safari

    Hi, I have a macbook pro with mountain lion, safari v6.0 and google chrome v21.0.1180.57.
    I cannot watch live stream on nbc live extra in safari, it gave me a black screen, however, I copy the same link and paste in chrome I could watch the live stream with no problem. I checked several threads but still didn't work out.
    Can some one tell me why and how to make it work?
    Thanks,
    Tianyi

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of this exercise is to determine whether the problem is localized to your user account. Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up a guest account” (without the quotes) in the search box. Don't use the Safari-only "Guest User" login created by "Find My Mac."
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem(s)?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault in OS X 10.7 or later, then you can’t enable the Guest account. The "Guest User" login created by "Find My Mac" is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.

  • How to play live streaming video which is being streamed via http or rtsp

    I am building an application which needs to display live mpeg2 video; the source of the live stream is over e network, e.g,http://xxx.xxx.xxx.xx:8080.
    To see if QT had this capability, In QT for Open URL, I tried, rtsp://xxx.xxx.xxx.xx:8080 and http://xxx.xxx.xxx.xx:8080, but I am not able to see any video. (I tried setting my QT options per posts I have read)
    Also, I'm able to see the live stream using Windows Media Player and VLC. (I used VLC to stream the video over the network and I tried streaming several formats but still could not see video in QT; when using rtsp, status of QT says negoiating and never transition from this state)
    Any advice on this topic?
    Thanks in advance

    QuickTime will not play MPEG-2 content, streaming or otherwise, without the addition of the extra-cost MPEG-2 Playback Component. Even with that component, QuickTime cannot play all MPEG-2 streams. Read the FAQ carefully for details.

  • How to play live streaming in windows phone 8.1 silverlight app?

    Hi,
    I am developing a windows phone 8.1 silverlight app. In my I want to show live streaming youtube channel , I think it is not possible, 
    Actually that youtube channel is a television channel , I want to stream that live tv in my app.(I tried to load youtube channel in webbrowser in iframe tag but it is not opening)
    Anybody help me how to play live tv or live streaming in my app,
    Thanks..
    Suresh.M

    Hello,
    You will likely need to write a custom
    MediaStreamSource that can access the media stream and parse it. Windows Phone supports h.264 natively and as long as the site serves up a media stream that contains h.264 frames you can parse it and have our built in decoder decode and display it. You
    will need to have intimate knowledge of the streaming protocol used by the website that you are trying to play. You must also make sure that the website is not using protected content. IANAL so I would recommend that you have your local law professional
    (lawyer) review the licensing of the website that you are attempting to connect to and stream from before continuing your development. Your lawyer can make sure make sure their licensing allows you to do this.
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Safari will not play live stream

    Hi,
    I have been wanting to watch the live stream on abc7.com of the wildfires but am unable to.
    I have windows media player installed but I just get a blank area were it should be playing,
    what do I need?
    Thanks

    Ecnal, if it is a non-DRM .wmv file, you can download and install Flip4Mac Windows Media Components for QuickTime.

  • Cannot watch live streaming video

    I am trying to use Quick Time to watch live streaming video. However, when I click on the link, I get the following sequence:
    "Negotiating"
    "Waiting for media"...with a countdown
    "Switching transports"...this goes on for a long time
    "Disconnected"
    I have uninstalled and reinstalled Quick Time and the problem persists. Any suggestions for this techno-laggard? Thanks!

    Here is the link: http://dev.centralsynagogue.org/index.php/worship/multimedia/streaming/
    However, the streaming only happens at 6 p.m. on Friday evenings and 10:30 a.m. on Saturday mornings.
    Some additional information:
    Although I initially get a "Connecting" message (at the appointed hour), it then changes to "Switching Transport" and then to "Disconnected." Alternately, if I try to copy the URL from the website into the Quick Time "Open URL" option on the File menu, I get an error message that says, Error 47, Invalid URL.
    Very frustrating...any suggestions would be much appreciated. Thanks!

  • Play live streams on FMS3

    There is a problem when I just try to develop with FMS3.I
    find that the stream is not so fluency when use default settings.If
    I code "cam.setQuality(0,100)",the problem disapeared.After that,I
    try to code "ns.publish(***,"record")".Then I play the stream "***"
    ,It's fluency.I don't know why and how to fix the problem.

    by "fluency " do you mean the "jerks" in video while playing
    back them on a flash client?.
    If it is so, then one way to solve this is to increase the
    default buffer length (0.1 sec)in the "subscriber" flash client to
    1 sec or more.

  • Problem While Playing Live Stream

    Hi everyone ,
    i have two streams published by two different clients, if i
    want to play both the two streams in a third client how can i do
    that ..any help?
    Client 1:
    ns_out.publish("Stream1","live");
    Client 2:
    ns_out.publish("Stream2","live");
    Client 3:
    Here i want to play both the above streams published...
    What code i can use ?

    It certainly solves the problem to the extent that VLC can open the file, but doesn't explain why it would stop working through QuickTime.
    And now every time I open the website and the link via Firefox, I get a new tab with QuickTime attempting to open it up (even though I've changed the settings to Default, as previously, in the hope it'll change things back to the way they were).
    A few hiccups with the VLC option, though - it plays for a bit, then it stops. Could be just traffic, but, meh, who knows?
    Some progress, nonetheless.

  • Ever since updating to Mountain Lion, I cannot watch live streams.

    Hey, since updating to ML, something seems to be interrupting how Flash is working.
    I am unable to see live video streams in the browser.
    When I try to use VOKLE, for example, it seems to load fine and then I get an error from Vokle telling me to make sure I have an internet connection and allow RTMP traffic. Same story with Stickam, it connects but then shows me a blank screen.
    I've tried:
    Reinstalling Flash and messing with the settings (allow storage of data etc.).
    Chrome and Safari
    Disabling OS X Firewall & Sophos
    Nothing seems to work, I haven't had this problem with Lion and I am pulling my hair out!
    MSN messenger refuses to sign in also, this seems related to me maybe, it just tries for a long time then fails.
    It seems like there is something blocking incoming connections BUT WHAT?
    Thanks.

    Same problem with Windows 7 using boot camp! O:

  • Cannot play RTMP stream

    I've searched the forum / Google a few times, tried all the simple solutions and I just can't find enough documentation to determine what the problem could be.
    I have a FMS delivering a flv file via rtmp. I've confrmed the url is valid using Dreamweaver (to generate a main.asc) and throwing together a player in Flash.  Here's the flash vars supplied to swfobject:
    var parameters = {
       src: "rtmp://anduin.oucpm.org/wagons2waivers/_definst_/segment1.flv" ,
       autoPlay: false ,
       width: 720 ,
       height: 486,
       controlBarMode: "none",
       urlIncludesFMSApplicationInstance: "true"
    I've tried the source parameter (with "urlIncludesFMSApplicationInstance" both on and off):
    rtmp://anduin.oucpm.org/wagons2waivers/_definst_/segment1.flv
    rtmp://anduin.oucpm.org/wagons2waivers/_definst_/segment1
    rtmp://anduin.oucpm.org/wagons2waivers/segment1
    rtmp://anduin.oucpm.org/wagons2waivers/segment1.flv
    I've tried this from a domain that is confirmed in listed in the crossdomain.xml on the media server (the admin does have it set to block domains that are't ours).
    I'm out of ideas and Google is coming up flat. Any ideas? Only idea I have left is some server mis-configuration, or crossdomain.xml issue (though the swf is hosted in an approved domain).
    Seriously could use some help...

    I have the same problem as you! I can see the stream on any of my sites. But only on my computer! If someone else tries to open stream appears: "Timed out trying to Establish a NetConnection, or timed out due to idle NetConnection year 10000"! FMS console can see all the connections they make on my computer. When someone tries to open stream FMS console on another computer do not indicate any connection! I tried at least 10 crossdomain.xml files, I put in all folders, nothing yet! Tutorials on Adobe Flash Media Server does not contain explicit inserting pictures crossdomain.xml files! I'm sorry I bought Flash Media Server and can not use this program! The program is quite complicated, and tutorials are shallow! Video tutorials are not close at all!

  • Live stream not live- plays like VOD

    Hi All,
    I'm not sure if this belongs in the AS3 forum or the streaming forum, but here it is.
    I wrote a pair CS3/AS3 players to send and receive a live video stream (webcam) from a browser.  The first is called broadcaster.  It makes a NetConnection to my server, publishes a stream and attaches the camera and microphone.  This works fine. The stream is live.
    The second is originally called receiver.  Using an instance of flash.media.video on the stage it also makes a NetConnectin, attaches a stream and calls play.  This also works, BUT the receiver stream is not live.  It starts playing at time=0 like a VOD.
    --- broadcaster.swf ---
    var connection:NetConnection = new NetConnection()
    connection.connect(connect_url);  // my server/application/instance
    var stream = new NetStream(connection);
    stream.publish("mass", "live");  // live means stream live without recording on the server
    stream.attachCamera(Camera.getCamera());
    stream.attachAudio( Microphone.getMicrophone() );
    --- receiver.swf---
    connection.connect(connect_url);
    var stream = new NetStream(connection);
    video1.attachNetStream(stream); // video1 is on the stage (flash.media.video not FLVPlayback)
    stream.play("mass", -1, -1, true); // -1 means play live stream only, -1 means start at 'wherever the live stream is'
    How can the receiver not obey the -1, -1 parameters especially if the broadcaster is not recording on the server.  How can i see the beginning of the stream!
    I believe I read that the flash plugin 9.0+ uses the on2 codec, and I also saw some discussion about on2 not able to stream live -- or not live from the browser plugin, only the flash media encoder.
    Can anybody tell me what is going on?
    Thanks
    Ted

    I tried streaming with the Adobe Flash Media Live Encoder3 instead of my Broadcater.swf.  This connects fine and pushes h.264 no problem.
    But the reciever is still seeng VOD not Live video.
    Is there something wrong with my receiver?

  • How to play rtmp live streaming through VideoElement??

    Hi , i'm trying to play live streaming by using VideoElement
    like this :
    <s:VideoElement>
    <s:StreamingVideoSource serverURI="rtmp://192.168.0.136/tv" live="true">
    <s:StreamItem streamName="stream" />
    </s:StreamingVideoSource>
    </s:VideoElement>
    but nothing occurred ........did i use the wrong syntax @@a  or....?

    Anyone?

  • Problem relaying live stream using different urls

    Hi,
    I have setup QT Broadcaster to announce a stream to my qtss.
    I announced the stream to a directory live/stream.sdp
    This works without a clinch when using the same URL for viewing, e.g.
    rtsp://rtsp.myqttss.com/live/stream.sdp
    If I create a symlink (or simply copy the sdp file) from live/stream.sdp to test/stream.sdp and try to access the stream through
    rtsp://rtsp.myqttss.com/test/stream.sdp
    it does not work anymore. QT Viewer will connect, but does not play the stream.
    I am wondering why this is. Is the mountpoint relevant for accessing the stream? All neccessary information should be contained in the sdp file.
    The reason I would like to do that is because we have a payment module for QTSS that will use a 'virtual' address to dispatch a stream to the client. This works perfectly for non live content.
    Thanks
    NikWest

    Ok.
    No problem now.
    Thanks.

Maybe you are looking for