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?

Similar Messages

  • Capture the live stream and than play it as vod

    Hi guys,
    Could anyone explain how can I record the live stream and than play it as a vod at later time?
    Is it possible to achive it?
    Can you give any tips guys?

    Hi Mark,
    You can record a livestream by doing a server side record in you application. For example :
    1. Create a folder called test under applications
    2. Within this folder create a main.asc in any text editor and add :
    var pubCount = 0;
    application.onConnect=function(clientObj){
              trace("          on connect ");
              return true;
    application.onDisconnect=function(clientObj){
              trace("          on disconnect "); 
    application.onPublish = function(clientObj,streamObj){
      trace("          in application publish : " + streamObj.name);
      if(pubCount <= 1)
           streamObj.record("record");
      else
           streamObj.record("append");
      pubCount++;
    application.onUnpublish = function(clientObj,streamObj){
    trace("on unpublish : " + streamObj.type + ":" + streamObj.name);
    streamObj.record(false);
    3. You can then publish a stream with the container. If you're using FMLE publish as : mp4:sample.mp4, then the stream sample.mp4 will be recored.
    You can then either host the recorded stream directly in AMS and use as vod file or run the post processor tool f4vpp and use it to play in vlc or other players.
    Hope this hepls. Let me know if you have any other query.
    Thanks,
    Apurva

  • Why can't I get live streaming video to play

    Why can't I get live streaming video to play in Safari?

    Sorry, but that is old info. On my 21" iMac, I'm running 10.7.1 and the version of Safari is 5.1. On my 24" iMac, I'm running 10.6.8 and Safari 5.1. I have even tried to get it to run in Firefox and still no results. I've been able to do live streaming previously, but today I'm hitting a road block. Could there be a setting or preference that I do not have set properly?

  • How to connect flash video player(like youtube)  to live streaming video the programm like                             

    How to connect flash video player(like youtube) to live
    streaming video the programm like webcamXP?
    Or through a browser to look in a videoplayer video from
    other usual personal computer with the program for a video
    broadcasting from the web chamber.

    you can use google to search for tutorials on skinning the component.

  • 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?

  • TCS live stream not playing in SnS

    Hi , I have configured TCS to stream to the SnS server, I can view the stream in VLC player no problem, but when I create a live event on SnS I get no video stream, not even a video window appears.
    many thanks Scott

    Hi Scott,
    You might want to make sure the SW version of the TCS is compatible with the SW version of the SnS server.
    here is the link to verify:
    http://www.cisco.com/en/US/docs/video/digital_media_systems/5_x/5_3/dms/release/notes/dms53rn.html#wp279002
    Paul

  • Video live stream won't play

    My Maxx plays some live news videos and sometimes it does not depending on the site. I tried different video players like the MX and others to no avail. I tried on chrome
    And other browsers.
    Not sure which way to go with this.
    Any ideas would be much appreciated.

    I went to a Verizon store (agent) yesterday after work and tried the S4. They didn't have a live S5, and it did play the sites I normally use. The iPhone was able to live stream it also. I think its the Razor Max that's missing whatever it needs to play those videos.... plug ins, etc....
    Its mind boggling with all these phones out there.
    Anyway, thanks for your input, Suzy.

  • Nokia E6 live streaming not working

    its only one month i've updated my mobibe due to hanging problem and now it s giving me another pain for not playing any live streaming video like online tv or you tube streaming... Also still have the hanging problem.
    Help me out if anybody has a solution.

    Hi Lance09
    Sorry to hear that you are having troubles. 
    Did you purchase a free trial through the AFL Live Pass Online  or did you purchase through IN APP subscription?
    Can you please try these troubleshooting steps: 
    If using your fixed line connection (ADSL, CABLE or NBN), please powercycle your modem and computer: Unplug from power > Leave off for 10 mins > then Plug back in and re start. This will often force a line update through to your modem advising the signal is restored.
    Can you then please try clearing your Cache, Cookies and Browser history. To clear these please try the steps below:
    From the home screen, tap the Settings button. On the Settings screen, scroll down and tap the Safari button. Under the 'Privacy' section of the Safari screen, tap the button labeled Clear Cookies and Data. On the confirmation screen, tap Clear Cookies and Data.
    If still no luck, please try uninstalling and re installing the app from the app store. 
    Let us know how you go. 
    Regards - 
     

  • Audio live streaming not smooth

    Hi
    I wrote an application, call radio. It play mp3 and publish signal to livepkgr. I don't know sometime audio-live-stream stop, and wait 1~2s it will be continues play. I sure my connection from client to server is perfect.
    I read configuring performance features and did it with "combine audio sample", but it not effect.
    Here my live streaming:
    http://115.84.182.115:8134/hls-live/livepkgr/_definst_/liveevent/iradio.m3u8
    or
    http://115.84.182.115:8134/hds-live/livepkgr/_definst_/liveevent/iradio.f4m
    Can you help me how to fix it ? Sr my poor English

    Is the XML a copy/paste? If so you may have a typo in your media url. There
    is a space in "liv e". That could be the issue.
    hth!

  • Live streaming not working using REOPS

    I made live streaming work using Live Encoder and a flash player I created with FlvPlayback component. It works fine. Now I like to try live streaming using REOPS. I created a config xml file using similar settings in src/assets/data/Playerconfig_LiveStreaming.xml:
    isLive = true
    <streamtype>live</streamtype>
    part of my xml file is like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <player
        width="640" height="480"
        scaleMode="stretch" isLive="true" autoPlay="true" updateInterval="250"
        hasCaptions="false">
        <mediaElement>
            <mediaElement>
                <id>seeker</id>
                <mimeType>video/x-flv</mimeType>
                <streamType>live</streamType>
                <deliveryType>streaming</deliveryType>
                <media url="rtmp://<myMediaStreamingServerName>:1935/<myapplicationName>/live/livestream" />
            </mediaElement>
        </mediaElement>
    </player>
    in adobe live encoder, I have setting like this:
    URL: rtmp://<myMediaStreamingServerName>:1935/<myapplicationName>/live
    stream:  livestream
    but no matter how hard I tried, it never works for me. I used the same settings for my own player which works fine with live streaming.
    Anyone has any ideas on how to make live streaming work with REOPS?
    Thanks a lot.

    Is the XML a copy/paste? If so you may have a typo in your media url. There
    is a space in "liv e". That could be the issue.
    hth!

  • Live stream won't play on Windows

    We're using QTSS and QTBroadcaster to stream a live event. Everything works fine on Mac clients, but Windows clients simply can't get the stream unless it's opened directly in QuickTime Player. We have a website with an embedded link for the stream, and have tried setting it up using both a raw <embed> tag and javascript (per Apple's instructions).
    Windows browsers display the page and the QT logo where the movie should be; no browser (Win or Mac) is able to display the stream directly, without an enclosing website. This is a change from last year, when we just put up a URL to the stream. It all worked last year; we didn't change a thing, and expected it to just work again. It doesn't. I am confused, frustrated, and more than a little discouraged and disgusted. Can anyone help? Thanks.

    I was finally able to make the page work by adding attributes to pass to the QT plugin; it works using IE 7 and 8, and Safari; it does not work with FireFox on any platform (Windows or Mac), so we directed FireFox users to view the link directly in the QT Player or use a different browser.
    Use the "Download the JavaScript files" link at http://developer.apple.com/internet/ieembedprep.html and save the file according to the instructions on that page. Then use the following bit of JavaScript on your page to embed the QT player, assuming the stream is at MY.WEBSITE.COM and is called QTMOVIE.SDP:
    <script language="JavaScript" type="text/javascript">
    QT_WriteOBJECT('samplemovie.mov', '540', '420', '',
    'qtsrc', 'rtsp://my.website.com/qtmovie.sdp',
    'autoplay', 'true',
    'type', 'video/quicktime',
    'emb#bgcolor', 'black',
    'align', 'middle');
    </script>
    The embedded player (in this example) will be 540x420. It's important to include the player size, otherwise it tends to get masked and you will see only part of the picture (for example, a 200x160 piece in the middle).
    Hope this saves someone else a little trouble.
    Message was edited by: Daniel Dobkin

  • ITunes Festival live streaming not working

    Every time I go to the iTunes Festival page in the iTunes Store I keep getting the message of:
    "This computer does not support iTunes Festival live streaming."
    Why not? Does it only work with apple computers (not windows)?  I wanna watch Paul Simon!!   =D
    -Michael

    Lucky for you skalarocks. It's 16th and I still cannot access any of the previosu concerts on iTunes!
    I contacted customer support who advised
    "I have done some research for you and found that there is a delay in the on demand streaming. "
    And then directed me here. I think I am leaning towards an earlier comment about Apple Techs not having a clue.
    I suppose they are giving it away so there is no profit in it they wont want to support a fix. Not goign to that much trouble after all skalarocks

  • Stream not found. access_log: GET /:///vod/:///vod/testSeg1-Frag1

    Hi.
    i want to setup up the f4fmodule but i always get the error "stream not found" in OSMF Player
    in apache access_log i found GET /:///vod/:///vod/testSeg1-Frag1 HTTP/1.1" 404
    is there somthing wrong with the config of the f4fmodule
    LoadModule f4fhttp_module                    /usr/lib64/apache2/mod_f4fhttp.so
    <Location /vod>
        HttpStreamingEnabled true
        HttpStreamingContentPath "/srv/..vhosts.../httpdocs/vod"
    </Location>
    i used the f4fpackager on my desktop pc an copy all files  to the vod-folder (test.f4m, test.f4f, test.f4x)
    where must i search the problem? in the module or in the packager?
    Many thank for help.

    Hi,
    i found the mistake:
    To play a video in OSMF Player, request an F4M file, also called a manifest file. The request syntax for on-demand streaming is:
    http://<server-name>/<location-tag-alias>/<manifest-file-name>.f4m
    Note: The syntax is the same for all on-demand use cases.
    I tryed to load the test.f4m - File in OSMF - Player with: "vod/test.f4m"
    But the correct syntax is with the total URL.
    Thanks!

  • 6680-Voda live streaming-Not enough Bandwidth

    Got a Nokia 6680 yesterday and could get the streaming Sky on Voda live no problem. I have tried today, it is saying not enough bandwidth and to check my network settings.
    Not sure what to do at this point.
    Any help would be appreciated please.

    This is probably because you are not in a 3G reception area. The connection will be via GPRS and therefore not sufficient for video streaming (in most cases).
    You can generally tell by look at the service indicator what sort of area you are in.
    All About Symbian - News, reviews and software for S60 phones.

  • ITunes Festival 2012 Live stream not working

    Has anyone found a way to watch the itunes festival 2012 live from their PC?

    I'm having the same issues. I've tried to get some tech support but can't because the iTunes Store Support don't work weekends. I've had sent 3 emails before I got anything back from Apple/iTunes. I sent out 3 emails this morning; 1st email stated after much frustration I was able to catch the latter 2/3 of Jack White's concert; 2nd email stated that I'm having issues trying to watch the recorded concert of Band of Horses and it will not play; 3rd email was a video of the 30 seconds of the Band of Horses concert that I was able to watch. I'm not holding my breath that Apple will do anything to work out the bugs in their iTunes program so its customers could enjoy the festival.
    One Unhappy iTunes Camper
    grrrrrrrrrrrr!!!!!!!!!!!!!!!!!!!!!!

Maybe you are looking for

  • Problem with Oracle Native Sequencing - please help!!

    Hello I am migrating from 3.6.5 to 10.1.3.1 (huge jump). And have a problem with sequencing. When I create new object Toplink does not pick up Sequence object name from the descriptor. When I see generated SQL it shows: SELECT .NEXTVAL FROM DUAL Each

  • Matrix report data with summary column in excel format

    Hi , I want to display output of matrix report with summary column in excel format. I have tried using spreadsheet but column header and actual data is displaying in proper order. Please tell me the way how to do this ASAP. Thanks in advance.

  • JAXB cannot unmarshall and previous posts do not seem to be related

    Hello, Recently, we had to change some of our XSDs, so I went and downloaded the latest Java web services pack (v1.6) and made the changes to the schema (only one new element). First, I realized we were using a 0.75 EA1 release of JAXB and that I wou

  • Where did compact mode go in Bridge CC?

    Use to be in the view menu very handy, it works with the Adobe In Design CS6

  • What is data rate consumption for iPods?

    Since getting two iPod Touches, an iPhone 4, and an iPhone 5, our data consumption has skyrocketed.  We are allotted 250GB of data use each month and we are currently sitting at 330GB with a week left. I checked with netflix and the setting is at .3