How to play live Video Stream with Flex?

I'm trying to get Flex Builder 3 to play a live video stream with Flash Media
Server and Flash Live Media Encoder.
I'm able to stream pre-recrorded (vod) flvs in flex from flash media server.
I'm able to stream live video using Flash/FMS/Flas Live Media Encoder, but not
with Flex.
This code streams pre-recorded Video on Demand flvs, but not live streams:
If I change source to "rtmp://localhost/live/livesream.flv, I get nothing.
What am I doing wrong?
<?xml version="1.0"?>
<!-- controls\videodisplay\VideoDisplayFMS.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:HBox>
        <mx:Label text="RTMP FMS 2.0"/>
        <mx:VideoDisplay
            autoBandWidthDetection="false"
            source="rtmp://localhost/vod/Legend.flv"/>
    </mx:HBox>
</mx:Application>
Oh and sorry for the double post. I didn't know there was a seperate FMS forum.

That worked! Thanks  *very* much. Stupid of me to forget to set the live attribute to true. Also removed the .flv. BTW: what video component do you prefer?
Here's the working code:
<?xml version="1.0"?>
<!-- controls\videodisplay\VideoDisplayFMS.mxml -->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:HBox>
        <mx:VideoDisplay
            live="true"
            autoBandWidthDetection="false"
            source="rtmp://localhost/live/livestream"/>
    </mx:HBox>
</mx:Application>

Similar Messages

  • Live Video streaming with Adobe Media Server

    Problem:
    I have 10mbit up/down internet connection. I will do video streaming a live meeting to around 350-400 live watchers
    So i can't use regular streaming to all watchers. Then each user will have 3kb/sec rate which is a terrible speed.
    Solution:
    here what I understand about Multicasting.
    I have a dedicated server with 1gbit dedicated port.
    I will only stream my video to dedicated server and the watchers will be getting data directly from dedicated server which have 1gbit port.
    Can I do this with adobe media server?

    Hi
    You can refer the following documentation around multi point publishing:
    http://livedocs.adobe.com/flashmediaserver/3.0/docs/help.html?content=01_overview_basics_3 6.html
    http://help.adobe.com/en_US/FlashMediaServer/3.5_Deving/WS5b3ccc516d4fbf351e63e3d11a0773d5 6e-7ffb.html
    Let us know if you face any issues.
    -Karishma

  • How to input live video streams to a powerbook?

    How do I input multiple video cameras into a Mac (over Thunderbolt)?
    And what devices would you recommend?
    I would like to be able to have two or more cameras feeding into a Macbook Pro simultaneously. I'm looking at making a MaxMSP app for a video artist I know, to replace an enormous box of hardware that he put together years ago. The app & the output are not a problem, but as most of my other work is in audio, I have no idea if it's possible to have multiple cameras feeding into a Mac. These will be SDI cameras (or older devices running through convertors).
    Thanks in advance....
    David

    This topic has been aroundfor a decade and there is one thing we've learned from hundreds of similar posts:  do not reoly on the captured video in your computer to be your only copty of the program. Drives fail. Clients trip over power cords. Firewire is a non-locking connection, totally unreliable. Even in the days of ultrareliable videotape, we oftne ran a VHS protection copy off a video/audio loop.
    Have a tape or chip backup recording of your video feed.
    bogiesan

  • Why won't Firefox play live video streams such as webcam pages.

    just upgraded to windows 7 as well as the latest version of firefox. Flash movie sites such as youtube play without difficulty. It is only sites such as http://www.liveduvalstreet.com/crowdcam.htm that do not work. before these sites worked without difficulty.

    Thanks for the response. That did indeed solve the problem. Figured it out about an hour after posting. Interestingly it works fine on my wifes computer (vista64) without the wmp plug in.

  • Capturing Video stream with JMF under LINUX??

    Ok, i am confused! I have read lots of info over this subject, but at some sites and forums i read that some people did not succeed in capturing ( and displaying) a live video stream with Java under Linux.
    Is it possible? and if so, can someone give me a sample code or a link to a sample code? thankz a lot!!

    Cross-posted
    http://forum.java.sun.com/post.jsp?forum=54&thread=456420&message=2083138&reply=true

  • FMS3: Multiple live video streams

    Hi,
    After reading the features and documentation I have a doubt:
    Can I have multiple live video streams with FMSS at the same time?
    E.g.: Different TV stations broadcast to a single server, and
    then the user chooses what station wants to watch.
    Thanks,
    Oriol

    Contact them and ask them which video streaming standards they use.  The most popular are:
    Windows Media, Windows Media with DRM enabled, MPEG-4, Realplayer, Adobe Flash, and Silverlight. Microsoft has released a Silverlight update for Lion.  http://www.flip4mac.com/ allows native non-DRM Windows Media.  Alternatively, you may need virtualization*. Realplayer's latest update is Lion compatible.  MPEG-4 make sure the version of Quicktime you have installed is the latest.  Adobe's Flash, the same thing.  Also ask them if their website depends on ActiveX.  Again, with ActiveX, virtualization may be your only solution.

  • How do you auto reconnect a live video stream broadcast in flash action script 3?

    how do you auto reconnect a live video stream broadcast in flash action script 3?
    so i don't have to ask people to refresh the page if the connection drops
    i copy pasted the live video stream broadcast files and script from here;
    http://www.adobe.com/devnet/adobe-media-server/articles/beginner_live_fms3.html
    http://www.adobe.com/content/dotcom/en/devnet/adobe-media-
    server/articles/beginner_live_fms3/_jcr_content/articlePrerequistes/multiplefiles
    /node_1278314297096/file.res/beginner_live_fms3.zip
    i don't know what i'm doing

    Why don't you use several layers with appropriate alpha properties, and move these layers according to the mouse events?

  • Live video stream play permission on server-side

    I have a live video stream application one-to-many for
    example, and i want to send video only to few clients, not to all.
    Like:
    quote:
    application.onConnect = function(client, canSeeVideo) {
    // canSeeVideo = boolean
    this.acceptConnection(client);
    if (!canSeeVideo) client.receiveVideo(false);
    // and after this, can be swich to TRUE or FALSE ?
    client.receiveVideo(true);
    I only want to do restriction for Video, from server-side
    with FMS, or if can't be possible.. how can i put for example a
    black screen on video ? :) and after can be removed, etc...

    1.
    necesary client.receiveVideo() and client.receiveAudio()
    server-side functions
    Thank you fmslove for you trying to help me but
    client.readAccess property can NOT be set after client
    connection was accepted, and for me is useless. Any other
    solution(s) ? i strong recomend to Adobe FMS dev staff to implement
    this feature because is refering to security client-side solution
    from server-side. I have bad experience with users trying to modify
    the Flash Player (plug-in) run memory and set values for my swf
    without my accept, and is nothing that i can do from client-side
    like NetSream.receiveVideo(false) on many-to-many or one-to-many
    live A/V stream.
    2.
    a necesary server-side video encoder solution better than
    Sorenson Spark
    If in future FMS staff from Adobe will implement this
    necesary security feature on server-side like a copy of
    NetSream.receiveVideo() function from client-side, i will be happy
    if i see a solution to encode LIVE video stream on server-side
    because
    Sorenson Spark video encoder built-in Flash Player (plug-in) is
    very old and unuseful.
    If this can't be possible i hope the future Flash Player
    version (10) will have a better video encoder built-in than
    Sorenson Spark !!!

  • How does exactly AMS sync a video stream with another stream of audio only ?

    I have the following situation: 2 instances of FMLE on one machine and another machine with AMS Starter.
    The instances of the FMLE are:
    1. Video H.264 + audio MP3
    2. Audio only MP3 - track 1
    The application on AMS is a livepkgr/_definst_ and i am using HDS with a live event
    I have an OSMF based player to consume the streams and to do audio switch using late binding audio.
    When I consume the Video with the Default audio everything works just fine. The problem is that when I try to consume the Video with the other audio track, the audio tack has a 1 second delay compared to the video.
    I have tried to fix this by changing the configurations on the FMLE, but it doesnt seem to work. So I really want to know how does exactly AMS syncronize differents streams, in this case a video stream with a different audio stream.

    First, what is the file format, and its specs. for the remote recorder?
    Though the rates of modern cameras and digital recorders SHOULD match 100%, in the real-world, they seldom do. This make perfect syncing a labor intensive process.
    One should do tests between the cameras and the recorders, to find out the % or error. Then, adjust their Audio to match first. As an example, one user in the PrPro Forum tested his Panasonic cameras, and his Zoom recorders, and found that the Zooms were off by 0.04% constantly. To correct this, he used the Time Remapping (with Maintain Pitch checked), and would apply that adjustment to all of the Zooms' files - perfect sync.
    As for the Waveform not displaying for your remote recorder, did you allow those files to completely Conform (creation of the CFA and PEK files, the latter is the Waveform Display)? See this article: http://forums.adobe.com/thread/726693?tstart=30
    Also, you should be able to increase the vertical zoom of your Audio Tracks, and hence any Clips on them, by hovering the Cursor over the junction between Tracks, in the Track Header, and when it turns into a = sign, with up/down arrows, click+drag. Then, you should be able to find commonality in the beginning, to sync up to. Tip: for this critical work, toggle the Snap feature OFF, with the S key.
    Good luck,
    Hunt

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

  • How can I play live http streaming in osmf?

    Hi,
    I was trying to play live http streaming in osmf player but it was saying "Error #1009: Cannot access a property or method of a null object reference.". I think I need to do some change in OSMF player code to play live as vod plays fine. Can anybody point me in that direction?
    Thanks and Regards,
    Amit

    I downloaded StrobeMediaPlayback from https://sourceforge.net/projects/smp.adobe/files_beta/StrobeMediaPlayback_1.5_Sprint-4/ (10.1 version) and it is working for me.
    By the way when I try to play live Http in debug flash player with my previous player then I get following error :
    VerifyError: Error #1014: Class org.osmf.net.httpstreaming.f4f::AdobeBootstrapBox could not be found.
                    at org.osmf.net.httpstreaming::HTTPStreamingNetLoader/createNetStream()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\httpstreaming\HTTPStreamingNetLoader.as:86]
                    at org.osmf.net::NetLoader/finishLoading()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\NetLoader.as:406]
                    at org.osmf.net::NetLoader/startLoadingHTTP()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\NetLoader.as:724]
                    at org.osmf.net::NetLoader/executeLoad()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\NetLoader.as:289]
                    at org.osmf.traits::LoaderBase/load()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoaderBase.as:111]
                    at org.osmf.traits::LoadTrait/load()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoadTrait.as:170]
                    at org.osmf.media::MediaPlayer/load()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\media\MediaPlayer.as:1854]
                    at org.osmf.media::MediaPlayer/updateTraitListeners()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\media\MediaPlayer.as:1497]
                    at org.osmf.media::MediaPlayer/onTraitAdd()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\media\MediaPlayer.as:1332]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.elements::ProxyElement/processTraitsChangeEvent()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\ProxyElement.as:475]
                    at org.osmf.elements::ProxyElement/onTraitAdd()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\ProxyElement.as:436]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.elements::ProxyElement/set proxiedElement()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\ProxyElement.as:182]
                    at org.osmf.elements::LoadFromDocumentElement/onLoadStateChange()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\LoadFromDocumentElement.as:152]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.elements.proxyClasses::LoadFromDocumentLoadTrait/loadStateChangeEnd()[C:\Documen ts and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\proxyClasses\LoadFromDocumentLoadTrait.as:50]
                    at org.osmf.traits::LoadTrait/setLoadState()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoadTrait.as:266]
                    at org.osmf.traits::LoadTrait/onLoadStateChange()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoadTrait.as:417]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.traits::LoaderBase/updateLoadTrait()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoaderBase.as:208]
                    at Function/org.osmf.elements:F4MLoader/protected:executeLoad/org.osmf.elements:finishLoad() [C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\F4MLoader.as:211]
                    at Function/org.osmf.elements:F4MLoader/protected:executeLoad/org.osmf.elements:onComplete() [C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\F4MLoader.as:192]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at flash.net::URLLoader/onComplete()
    Regards,
    Amit

  • Audio several seconds out of sync with live video stream.

    I did a live stream last week using 282,482,832,1500Kbps streams. What would cause the audio to get out of sync with the live video stream? I'm trying to determine if it was  bandwidth related, cpu/memory issue on the FMIS 4.5 server, or an issue with encoding PC exceeding it's limits?
    Thanks,
    Dave

    Which device are you using? Are audio and video coming from the same device or different devices?
    Is it a USB device? Try changing the device and see if there is any difference. Changing bitrates will not affect audio-video sync.

  • Hello, on an ipad 4 when watching a live video stream , came up with a blank picture with the quick time symbol in the middle, the sound worked perfectly but no picture ? any suggestions please ?

    hello, on an ipad 4, when watching a live video stream , came up with a blank picture with the quick time symbol in the middle, the sound worked perfectly but no picture ? any suggestions please ?

    We have a solution that allows you to do most of what you want, including bulding the form, having people fill it out either in Reader (as an XFA-PDF) or on the iPad (as an HTML form).
    You design the form once, and it will by styled correctly on the appropriate platform.
    For more information, check out these links:
    http://www.avoka.com/blog/2012/02/style/
    http://www.avoka.com/content/avoka/en/products/sff3/smartform-composer/features_and_demos. html
    http://www.avoka.com/content/avoka/en/products/sff3/avoka-smartform-factory.html

  • How can I view live videos supported with adobe flash on my IPad2?

    Need help viewing live videos supported with adobe flash.

    iSwifter, Photon, Skyfire, Puffin - are all browsers that MAY work for you. The iPad does not run Flash and never has. See if one of the browsers will suit your needs.

  • I'm using iPad 4 with iOS. How to play YouTube video in background?

    Any suggestion?

    Welcome to the Support Communities. This article may help:
    How to Play YouTube Videos in the Background on iOS
    ...Found by doing THIS.
    And this is just a tip: You can edit your post within 15 minutes. To edit your initial post of a thread, click on the Edit post link in the Actions section at upper right. To edit your subsequent posts of a thread, click on the Edit link at the bottom of the particular post you want to edit. Either way, when done editing, click the blue Update button.

Maybe you are looking for