NetStream publish audioloss problem using FMS 3.5

Hi All,
I am new to flex 3.2.0 and FMS 3.5. I have problem using netstream data publish (i.e.record) the audio from client to FMS server. I tried NetStreamInfo class in flash player 10. Alert will show zero value.
nsi = recordStream.info;
   if (nsi){
    Alert.show( nsi.audioLossRate.toString() );
how to avoid data loss over the network. Please help
Thanks
Arulkumar

Adding to my previous post this is the XML output i get when i try to access the fms admin console from local ip address i.e http://192.168.10.19:1111/fms_adminConsole.htm
<?xml version="1.0" encoding="utf-8" ?>
- <result>
<level>error</level>
<code>NetConnection.Connect.Rejected</code>
<description>Admin user requires valid username and password.</description>
<timestamp>2/3/2010 8:26:08 AM</timestamp>
</result>
but when i try to access fms admin console through public ip (http://212.77.xx.xx:1111/fms_adminConsole.htm) then it gives me the following :
Internet Explorer cannot display the webpage.
Any more suggestions Jay (because really ur the only one helping me out in this so far) ??

Similar Messages

  • Problems using FMS 4.5 livepkr app and ios devices

    Hello i have the next problem on flash media server 4.5.
    Im following the tutorial from adobe web site:http://www.adobe.com/es/devnet/flashmediaserver/articles/install-verify.html
    It looks realy easy to install, i follow te turoial but im unable to watch the inclued demo videos from ios devices or safari (HLS LIVE STREAMING) like show on the tutorial on the ipad i get a black screen.
    I tried on my desktop using local network and on a server running linux having the same results.
    Also tried looking at the demos from different devices and safari on windows having the same problem.
    Steraming rmtp video or preloding works flawless, i see no errors on the fms logs.
    Also i can stream to the server using FME perfectly on the adobe admin console i can see the connections to the livepkr app and the streams created but when i open the url from the iphone "m3u8" i get a black screen. Streaming rmtp live video and viewing using the flash media player works ok.
    I dont realy know what to do.

    Try to remove folder with streams inside livepkgr and restart server

  • Serious problem using FMS

    Hello all
    I have video chat application .When i do the chat there is a problem of echo/feedback (tat is i can hear my sound after 1 sec)-This is most faced when i use HP systems,Dell systems donot show this issue.
    I doubt is there any configuration made in the audio driver.
    Second issue is when the bandwidth is fluctuating the audio  gets break and and a sudden replay of the previous video happens
    (we are using VP6 for video encoding )
    Please help me with this issue
    Regards
    Aravind

    When experiencing feedback and echos the most common problem is the mic & speakers/headphones you use. Let every chatmember use headphones and see what happens. My guess is this will solve the problem. If one member uses speakers then the sound from everybody else will bounce back into the chat from these speakers. If your unable to use headphones for some reason try dedicated conference A/V equipment.
    Using online chat will in most cases involve some unwritten rules. I belive one of them is trying to let only one person speaks at a time.
    Hope that helps

  • Problem with connection ( NetStream.Publish.BadName)

    Fri Sep 11 2009 08:52:10 : Session Started
    Fri Sep 11 2009 08:52:11 : Audio Encoding Started
    Fri Sep 11 2009 08:52:11 : Video Encoding Started
    Fri Sep 11 2009 09:13:59 : Primary - Network Status: NetConnection.Connect.Closed status
    Fri Sep 11 2009 09:14:04 : Primary - Disconnected
    Fri Sep 11 2009 09:14:04 : Primary - Re-establishing connection, attempt 1
    Fri Sep 11 2009 09:14:05 : Primary - Reconnected to FMS/3,0,1,123
    Fri Sep 11 2009 09:14:05 : Primary - Network Command: onBWDone
    Fri Sep 11 2009 09:14:05 : Primary - Stream[onetv] Status: Success
    Fri Sep 11 2009 09:14:05 : Primary - Network Command: onFCPublish
    Fri Sep 11 2009 09:14:07 : Primary - Stream[onetv] Status: NetStream.Publish.Start
    Fri Sep 11 2009 09:14:58 : Primary - Network Status: NetConnection.Connect.Closed status
    Fri Sep 11 2009 09:15:04 : Primary - Disconnected
    Fri Sep 11 2009 09:15:05 : Primary - Re-establishing connection, attempt 1
    Fri Sep 11 2009 09:15:05 : Primary - Reconnected to FMS/3,0,1,123
    Fri Sep 11 2009 09:15:05 : Primary - Stream[onetv] Status: Success
    Fri Sep 11 2009 09:15:05 : Primary - Network Command: onFCPublish
    Fri Sep 11 2009 09:15:07 : Primary - Stream[onetv] Status: NetStream.Publish.BadName
    Fri Sep 11 2009 09:27:20 : Audio Encoding Stopped
    Fri Sep 11 2009 09:27:20 : Video Encoding Stopped
    Fri Sep 11 2009 09:27:20 : Session Stopped
    Fri Sep 11 2009 09:27:23 : Primary - Network Status: NetConnection.Connect.Closed status
    Fri Sep 11 2009 09:27:23 : Primary - Disconnected
    Fri Sep 11 2009 09:27:24 : Primary - Connected to FMS/3,0,1,123
    Fri Sep 11 2009 09:27:24 : Primary - Network Command: onBWDone
    Fri Sep 11 2009 09:27:28 : Primary - Network Command: onFCPublish
    Fri Sep 11 2009 09:27:28 : Primary - Stream[onetv] Status: Success
    Fri Sep 11 2009 09:27:28 : Primary - Stream[onetv] Status: NetStream.Publish.Start
    Fri Sep 11 2009 09:27:28 : Session Started
    Fri Sep 11 2009 09:27:29 : Video Encoding Started
    Fri Sep 11 2009 09:27:29 : Audio Encoding Started
    Fri Sep 11 2009 12:23:03 : Primary - Network Status: NetConnection.Connect.Closed status
    Fri Sep 11 2009 12:23:09 : Primary - Disconnected
    Fri Sep 11 2009 12:23:09 : Primary - Re-establishing connection, attempt 1
    Fri Sep 11 2009 12:23:09 : Primary - Reconnected to FMS/3,0,1,123
    Fri Sep 11 2009 12:23:09 : Primary - Stream[onetv] Status: Success
    Fri Sep 11 2009 12:23:09 : Primary - Network Command: onFCPublish
    Fri Sep 11 2009 12:23:11 : Primary - Stream[onetv] Status: NetStream.Publish.BadName
    Fri Sep 11 2009 12:26:26 : Audio Encoding Stopped
    Fri Sep 11 2009 12:26:26 : Video Encoding Stopped
    Fri Sep 11 2009 12:26:26 : Session Stopped
    Fri Sep 11 2009 12:26:32 : Primary - Network Status: NetConnection.Connect.Closed status
    Fri Sep 11 2009 12:26:32 : Primary - Disconnected
    Fri Sep 11 2009 12:26:37 : Primary - Connected to FMS/3,0,1,123
    Fri Sep 11 2009 12:26:49 : Primary - Network Command: onFCPublish
    Fri Sep 11 2009 12:26:49 : Primary - Stream[onetv] Status: Success
    Fri Sep 11 2009 12:26:49 : Primary - Stream[onetv] Status: NetStream.Publish.Start
    Fri Sep 11 2009 12:26:49 : Session Started
    Fri Sep 11 2009 12:26:50 : Audio Encoding Started
    Fri Sep 11 2009 12:26:50 : Video Encoding Started
    Hy, this is from my log.
    I connect the flash media encoder to flash media server, and after a short time it disconnect from server and try to reconect automatically, that is good, but IT DON'T CONNECT!!!
    Stream[onetv] Status: NetStream.Publish.BadName
    Fri Sep 11 2009 12:26:26 : Audio Encoding Stopped
    Fri Sep 11 2009 12:26:26 : Video Encoding Stopped
    Fri Sep 11 2009 12:26:26 : Session Stopped
    Where is the problem??? What i can do to resolve this problem?????
    I'm waiting for your answers!
    Thanks

    The NetStream.Publish.BadName status means an attempt was made to publish to a stream that is already being published by someone else. Is another client using the same stream name?
    About the connections being closed, there a lots of conditions that could cause the connection to be lost. It may not be an FMS or FMLE error, it could be poor conditions on the local network, or between the local network and the server.

  • Using variable name for Netstream Publish() (actionscript)

    Relatively new to Actionscript.  In the netstream publish() or play() methods, can I pass variable names to the methods instead of hard-coding the stream name?
    Example:
    private function publishLiveStream():void
                ns = new NetStream(nc);
                ns.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                ns.client = this;
              // blah blah other stuff...
               ns.publish("thefilename", "record");
    I want to replace "thefilename" with a value passed from an input box or use dynamic naming (i.e. current date & time).

    you can use in procedure using sunopisis technology
    OdiExportMaster "-TODIR=/temp/" "-ZIPFILE_NAME=export.zip" "-XML_CHARSET=ISO-8859-1" "-JAVA_CHARSET=ISO8859_1" "-EXPORT_VERSIONS=YES"
    or you can use (unix System)
    OdiExportMaster "-TODIR=/#v_FileName" "-ZIPFILE_NAME=export.zip" "-XML_CHARSET=ISO-8859-1" "-JAVA_CHARSET=ISO8859_1" "-EXPORT_VERSIONS=YES"
    Hope it will work
    Thanks

  • NetStream.publish for P2P NetGroup fails in the FMS 4.0 AS

    Hi,
    I recently tried to modify the system-provided codes in the "multicast" folder, and could not get it work. I pinned down the issue to be the function call NetStream.publish("p2p_pindao1", "live") always failed for me. The proof the function call failed including:
    1. The returned value is false.
    2. I got no further events beyond NetStream.Connect.Success, i.e. I did not get the expected NetStream.Publish.Start
    The following are the testing codes
    application.onAppStart = function()
    var nc = new NetConnection();
    nc.onStatus = testNetStatus;
    nc.connect("rtmfp://localhost/TVLive");
    trace("to connect");
    function testNetStatus(info)
    trace("TestNetStatus:" + info.code);
    var gs = new GroupSpecifier("net.lysk.pindao1");
    gs.serverChannelEnabled = true;
    gs.postingEnabled = true;
    gs.peerToPeerDisabled = false;
    // Multicast address over which to exchange peer discovery.
    //var p2pm = "224.0.0.255:30000"; // BUGBUG
    // Must be enabled for LAN peer discovery to work
    //gs.ipMulticastMemberUpdatesEnabled = true; 
    var ng = new NetGroup(this, gs);
    ng.objNc = this;
    ng.objGs = gs;
    ng.onStatus = testNetGroupStatus;
    function testNetGroupStatus(info)
    trace("testNetGroupStatus:" + info.code);
    var ns = new NetStream(this.objNc, this.objGs);
    ns.onStatus = testNetStreamStatus;
    function testNetStreamStatus(info)
    trace("testNetStreamStatus:" + info.code);
    if (info.code == "NetStream.Connect.Success")
      if(!this.attach(Stream.get("mp4:sample1_1000kbps.f4v")))
       trace("can not attach");
      if (!this.publish("testpublish", "live"))
       trace ("can not publish");
    tracing outputs are the following:
    to connect
    TestNetStatus:NetConnection.Connect.Success
    testNetGroupStatus:NetGroup.Connect.Success
    testNetStreamStatus:NetStream.Connect.Success
    can not publish
    Your help in solving the problem will be highly appreciated.
    Thanks.

    em, it appears I was wrong in believing peerToPeerDisabled=true sufficed for P2P publishing, while multicastEnabled was for IP multicast. I will try out the answer. Thanks for the help.

  • Facing Problems in Streaming Video over internet using FMS 3.5

    I,am using FMS 3.5 to stream video over internet.This video will be a part of a website www.mywebsite.com . I have the webserver in my company. This webserver has the local LAN IP : 192.168.10.19 which is binded with a public internet ip 212.77.xx.xx .This website is hosted using IIS 6.0 on OS windows 2003 server with SP2
    I created a swf name sample.swf from sample.flv file and gave it the rtmp address as follows:
    rtmp://192.168.10.19/vod/_StreamingVideo_/sample.flv   (where _StreamingVideo_  is the instance on the server, and 192.168.10.19 is the LAN IP of server) ,and it worked fine and every one within the local company network could see the streaming video. Now i tried to replace this local address with the public address and the address became as follows:
    rtmp://212.77.xx.xx/vod/_StreamingVideo_/sample.flv
    After giving this public IP in the rtmp address i,am getting a message "Failed to load Flv from the address rtmp://212.77.xx.xx/vod/_StreamingVideo_/sample.flv" and as as result the video is not streamed and it only shows the progress bar on the link
    www.mywebsite.com/VideoStreaming/Sample.html without loading the video. I have also checked the ports 80,1935,1111 on the server and they are open. Is there any problem with my rtmp address with public IP or any other reason ??. Please help me out in this regard because im realy stuck here.

    Adding to my previous post this is the XML output i get when i try to access the fms admin console from local ip address i.e http://192.168.10.19:1111/fms_adminConsole.htm
    <?xml version="1.0" encoding="utf-8" ?>
    - <result>
    <level>error</level>
    <code>NetConnection.Connect.Rejected</code>
    <description>Admin user requires valid username and password.</description>
    <timestamp>2/3/2010 8:26:08 AM</timestamp>
    </result>
    but when i try to access fms admin console through public ip (http://212.77.xx.xx:1111/fms_adminConsole.htm) then it gives me the following :
    Internet Explorer cannot display the webpage.
    Any more suggestions Jay (because really ur the only one helping me out in this so far) ??

  • Problems using smart publishing wizard

    Hi, i am having problems using smart publishing wizard.
    Basically i am publishing my entire sample project to new
    location to remote file location.
    Its starts publishing but after reaching about half way it
    sends error message
    " Publishing has been aborted. A sharing violation accessing
    ../../filename.cpd "
    Has anyone got this problems. please help me to resolve it.

    Hi there
    Perhaps try closing the project before you attempt to
    publish?
    From what I'm seeing here, you are publishing source files.
    Normally one is only worried about publishing WebHelp output files.
    Cheers... Rick

  • Facing Problems in Streaming Video using FMS 3.5

    I want to stream .flv using FMS 3.5. The file is streaming on the company intranet but when it comes to internet, it is not streaming. Here is what im doing
    I,am using Flash Media Server with IIS 6.0 and Operating System windows 2003 server with SP2
    This server machine has a private IP 192.168.10.19(localhost) which is maped to a public ip 202.77.xxx.xx. This server is hosting a website www.mywebsite.com, where i want to stream this file. The exact path of the html page where this sample.swf will be contained is www.mywebsite.com/FlashStreaming/FlashStreaming.html
    Now the website is working fine but when i test the streaming of .swf file its not working. It is only showing a progress bar
    I used the following procedure to create the .swf from .flv
    I created an .swf with the name sample.swf, using FLVPlayBack component and given its source address as
    " rtmp://192.168.10.19/vod/_StreamingSample_/Sample(where Sample is an flv file) . After it i selected the option "Stream from Flash Media Server"
    I also created an instance named  "_StreamingSample_ " for vod on the server 192.168.10.19(localhost) in the Flash Media Administration Console
    Then I deployed it on the server with the local ip address 192.168.10.19. Now when i open the link www.mywebsite.com/FlashStreaming/FlashStreaming.html  from any client pc on the same company intranet as the server  it streams perfectly and i can also see it on the FMS Media Administration Console but when i type this link from any public pc using internet (i.e. outside my company intranet) it only shows a bar with play and pause buttons in it trying to connect to the server, and no video is streamed/shown . Is it due to the fact that im putting in the wrong address or there is some other reason behind this malfunctioning. I dont want to use Action Scripting so please let me know any solution which does not require action scripting.
    Note : The hosting server is within our company so we are managing it.

    Fraz,
    Remove the .flv extension from your address and give it a try:
    rtmp://202.77.xxx.xx/FlashStreaming/sample.flv
    should be:
    rtmp://202.77.xxx.xx/FlashStreaming/sample

  • HI,Why every five minutes, the server - side NetStream.publish failure

    RTMP spread to the FMS, and then create netGroup and NetStream objects on the server side, then the NetStream.publish (), the beginning of everything is normal, but after five minutes, very strange happens to be five minutes, the client node receives less thanstream had, and I monitor the status of this server-side NetStream no change is to publish the start, why the five minutes it will automatically stop publishing flow RTMP stream has been no problem in the transmission

    i assume, from your post, that you are using FMS and are publishing a multicast stream.
    if you are using the "Flash Media Development Server", prior to release 4.5, multicast streams time out after about 10 minutes.  as of release 4.5, multicast streams time out after about 30 minutes.  to see this and other limits of the Development Server, see:
       http://www.adobe.com/products/flashmediaserver/helpmechoose.html
    if that is not the problem, then if you are writing your own server-side scripts, perhaps you are not anchoring a NetStream, Stream, or NetConnection object properly and it is being destroyed by the garbage collector.
    if you need more help with Flash Media Server, you should direct your questions to the Flash Media Server forums. the Codename Cirrus service is not based on FMS.

  • Primary - Stream[live_2521213_QPzTR2Uo] Status: NetStream.Publish.Rejected

    Have anyone had this same problem on trying to bradcast from FMLE to Justin.tv??
    I get this Log:
    Mon Jun 14 2010 18:18:21 : Video Encoding Started
    Mon Jun 14 2010 18:18:22 : Audio Encoding Started
    Mon Jun 14 2010 18:18:26 : Primary - Disconnected
    Mon Jun 14 2010 18:18:29 : Primary - Re-establishing connection, attempt 1
    Mon Jun 14 2010 18:18:30 : Primary - Reconnected to FMS/3,5,2,654
    Mon Jun 14 2010 18:18:30 : Primary - Stream[live_2521213_QPzTR2Uo] Status: Success
    Mon Jun 14 2010 18:18:30 : Primary - Stream[live_2521213_QPzTR2Uo] Status: NetStream.Publish.Rejected
    Mon Jun 14 2010 18:18:30 : Primary - Network Status: NetConnection.Connect.Closed status
    Mon Jun 14 2010 18:18:35 : Primary - Disconnected
    Mon Jun 14 2010 18:18:38 : Primary - Re-establishing connection, attempt 1
    Mon Jun 14 2010 18:18:39 : Primary - Reconnected to FMS/3,5,2,654
    Mon Jun 14 2010 18:18:39 : Primary - Stream[live_2521213_QPzTR2Uo] Status: Success
    Mon Jun 14 2010 18:18:39 : Primary - Stream[live_2521213_QPzTR2Uo] Status: NetStream.Publish.Rejected
    Mon Jun 14 2010 18:18:39 : Primary - Network Status: NetConnection.Connect.Closed status
    Mon Jun 14 2010 18:18:44 : Primary - Disconnected
    Mon Jun 14 2010 18:18:47 : Primary - Re-establishing connection, attempt 1
    And it goes on and on every 5 secs, can anyone help me???

    The only thing I can think of is there is an issue with your authentication.  Have you changed your justin.tv password since you generated the XML file?  In the justin.tv wiki it says
    "IMPORTANT: Beware that the text box labeled "Stream" contains a key that is like a password for streaming to your channel. Be careful when you are broadcasting your desktop not to show that area!"
    This implies to me that the XML file gets generated using the password that you use when you logged into justin.tv.  I think if you generate the XML and then change your password the XML file expires.  Try generating a new XML file, make sure to Open it in FMLE and try streaming again.

  • Liev streaming on ios using FMS

    Dear All,
    I have made an application using cs5.5 and java with struts2 for live streaming through FMS.
    Architecture is like:
    Flash player makes get stream from camera and then transfer stream over FMS. And this flash player component is embedded in html page.
    Flash player contains code for all work flow like making connectivity with FMS interacting user via javascript and capturing live stream from camera. This application works well on IE, mozilla.
    But when it comes to woking on ios it fails as ios, as IOS does not support flash player. I have gone through many solution provided on different forums, I get there to use Adobe air with making connection using http live streaming protocol and then pakaging the solution for ios. But as per my point of view this would work as an apps for ios rather than browser based application as in my previous case. can anyone suggest me alternate solution to launch live video streaming solution to work on ios on its browser. If I am wrong in perception of working phenomenon of FMS with ios via flash player or adobe air then also please suggest.
    Thanks
    Nitesh Kumar

    I realize that using JW player might not be the exact solution that you are looking for (sounds like you're trying to do something customized for a particular need), but using JW player can help you test your FMS set-up to make sure everything is working. We've used JW player to stream multi-bit rate live events to both Flash and iOS devices at the same time.
    > So how can we make connectionn with FMS and publish stream through jwplayer.
    Step 1: Set up Flash Live Media Encoder and create the live streaming manifest files for JW player. These instructions are taken from this page:
    http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd6 09-52e437a812a3725dfa0-8000.html
    FMS live Streaming instructions:
    Install Flash Media Encoder (FMLE) on the encoding computer (the computer what will be encoding the live stream): http://www.adobe.com/eeurope/products/flash-media-encoder.html
    Open the Flash Media Live Encoder rootinstall\conf\config.xml file in a text editor.
    Windows is C:\Program Files\Adobe\Flash Media Live Encoder 3.2
    Mac OS is Macintosh HD:Applications:Adobe:Flash Media Live Encoder 3.2.
    rootinstall\conf\config.xml i.     Set the tag //flashmedialiveencoder_config/mbrconfig/streamsynchronization/enable to true
    Save the file.
    Open FMLE: single bitrate stream.
    Format: Click on wrench and change to appropriate settings: Profile (main), Level 4.1 Keyframes 4 or a multiple of <FragmentDuration> in the applications/livepkgr/events/_definst_/liveevent/Event.xml file. The default value of <FragmentDuration> is 4000 milliseconds.
    FMS URL: rtmp://localhost/livepkgr
    Stream: livestream?adbe-live-event=liveevent&adbe-record-mode=record
    i.     IMPORTANT: &adbe-record-mode=record query is needed to avoid the problems discussed in the threads below.
    ii.     See http://forums.adobe.com/thread/959974
    iii.     http://forums.adobe.com/message/4311876
    iv.     http://forums.adobe.com/thread/981286?tstart=0
    Click Start.
    Test streaming: http://www.osmf.org/configurator/fmp/:
    i.     http://localhost/hds-live/livepkgr/_definst_/liveevent/livestream.f4m
    ii.     iPad: http://localhost/hls-live/livepkgr/_definst_/liveevent/livestream.m3u8
    Publish and play live multi-bitrate streams over HTTP
    Live multi-bitrate streams:
    Edit rootinstall\conf\config.xml file (step 2 above) on the FMLE computer.
    On the streaming server: go to FMS 4.5/applications/livepkgr/events/_definst_/liveevent
    a. Remove the Manifest.xml file from the liveevent folder or rename it.
    b.     Browse to rootinstall/applications/livepkgr/events/_definst_/liveevent and edit the Event.xml file to look like the following:
    <Event>     
    <EventID>liveevent</EventID>         
    <Recording>
    <FragmentDuration>4000</FragmentDuration> <SegmentDuration>16000</SegmentDuration>                  <DiskManagementDuration>3</DiskManagementDuration>
    </Recording> 
    </Event>
    3. Create the f4m and m3u8 manifest files: NOTE: JW player needs a .smil file, not an f4m manifest.
    a. On the FMS 4.5 computer, open rootinstall/tools/f4mconfig/configurator/f4mconfig.html in a browser.
    b. F4M manifest file:
    Stream uri: livestream1.f4m 150kbps, livestream2.f4m 500kbps, livestream3.f4m 700kbps.
    Base uri: http://localhost/hls-live/livepkgr/_definst_/liveevent (replace localhost with FMS internal/external IP address).
    save the file as liveevent.f4m to rootinstall/webroot or on the webserver.
    JW Player does not support f4m files. Must use a smil file for this.
    c. m3u8 manifest file: Open rootinstall/tools/f4mconfig/configurator/f4mconfig.html in a browser.
    http:///hls-live/livepkgr/_definst_/liveevent/livestream1.m3u8 150kbps
    http:///hls-live/livepkgr/_definst_/liveevent/livestream2.m3u8 500kbps
    http:///hls-live/livepkgr/_definst_/liveevent/livestream3.m3u8 700kbps
    Save file as liveevent.m3u8:
    #EXTM3U #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=150000 
    http:// localhost/hls-live/livepkgr/_definst_/liveevent/livestream1.m3u8 
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=500000 
    http:// localhost/hls-live/livepkgr/_definst_/liveevent/livestream2.m3u8 
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=700000 
    http://localhost/hls-live/livepkgr/_definst_/liveevent/livestream3.m3u8
    4. Publish live streams to FMS:
    a. Start FMLE.
    b. Click the wrench next to Format, Open Advanced Encoder Settings, set Keyframe frequency to 4 seconds.This value matches the <FragmentDuration> value in the applications/livepkgr/events/_definst_/liveevent/Event.xml file. The <FragmentDuration> value is in milliseconds.
                   c. FMS URL field: rtmp://localhost/livepkgr
                 d. Stream field: livestream%i?adbe-live-event=liveevent OR livestream%i?adbe-live-event=liveevent&adbe-record-mode=record Change liveevent to whatever name you want (i.e. Test)
    Flash Media Live Encoder uses the variable %i to create multiple stream names: livestream1, livestream2, livestream3
    To use another encoder, provide your own unique stream names, for example, livestream1?adbe-live-event=liveevent, livestream2?adbe-live-event=liveevent.
    PUBLISH URL: rtmp://localhost/livepkgr/livestream%i?adbe-live-event=liveevent
    IMPORTANT: use the following query parameter: &adbe-record-mode=record
    5. Test live streams:
    a. Flash:
    Open rootinstall/samples/videoPlayer
    In Video Source, enter the following: http://localhost/liveevent.f4m
    b. iOS: Open Safari.
    Open http://localhost/liveevent.m3u8
    Once you create the live streams and the smil and .m3u8 manifest files following the steps described above, set up a test page using JW player (see their documentation and download the files referred to below from their page).
         This is the basic set-up that we use to stream live multibitrate live events (using a smil and m3u8 manifest file created above):
    1. Use JW with javascript file: put <script type='text/javascript' src='jwplayer/jwplayer.js'></script>in the <head> section of the page. I've renamed the javascript file jwplayer.js (look in the JW folder to find the appropriate js file).
    2. Embed the player into the page: put the following code in the <body> of the page:
    <div id="jwplayer"></div>
    <script type="text/javascript">
    jwplayer('jwplayer').setup({
      'autostart': false,
      sources: [
        { 'file': "Manifests/liveevent.smil"},
        { 'file': "Manifests/liveevent.m3u8"}
      rtmp: {
        'bufferlength': 5
      'width': "640",
      'height': "480",
      'image': "Splash/live-poster.png",
      'primary': "flash",
      'stretching': 'exactfit'
    </script>
    Sample .m3u8 manifest file: (replace localhost with your ip, Test with whatever you named the stream in FMLE).
    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=200000
    http://localhost/hls-live/livepkgr/_definst_/Test/livestream1.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=400000
    http://localhost/hls-live/livepkgr/_definst_/Test/livestream1.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=800000
    http://localhost/hls-live/livepkgr/_definst_/Test/livestream1.m3u8
    Sample .smil file:
    <smil>
              <head>
                        <meta base="rtmp://localhost/hds-live/livepkgr/_definst_/Test/"/>
              </head>
              <body>
                        <switch>
                                  <video src="livestream1.f4m" system-bitrate="200000" />
                                  <video src="livestream2.f4m" system-bitrate="400000" />
                                  <video src="livestream3.f4m" system-bitrate="800000" />
                        </switch>
        </body>
    </smil>
    You have to follow Adobe's FMLE instructions (linked above) and the JW documentation to get this to work.
    http://www.longtailvideo.com/support/forums/jw-player/setup-issues-and-embedding/22581/emb edding-jw-player-and-using-with-fms-45-livestreaming/
    Good luck.

  • NetStream.Publish.BadName

    For some reason my Internet connection between FME and FMS is
    not stable. When connection
    with my live stream is dropped I can't reconnect to FMS and
    I'm getting " NetStream.Publish.BadName"
    error. It is because previous session (project) exists for
    random time.
    The only solution I made is to put FME in command line mode
    in batch continous loop (as
    FME exits on that error so the standard reconnect procedure
    does not work) - it takes even
    few minutes in few cases I was able to trace (many tries). In
    GUI mode situation is much is
    worse - there is dialog window that requires clicking when
    that error occurs.
    The other one is manual and requires someone watching stream
    24/7 - vhost restart - plus all
    clients are dropped. Baaad - it is better to make clients
    wait for stream 2-5 minutes than force all of them
    to restart live stream Flash player.
    Is live streaming with FME + FMS designed to work only on
    stable LAN connection?
    Even if that is true such disconnects can occur - so this bug
    is really anoying.
    Does anyone found other solutions than mine?

    The same problem with latest FME 3.2 and FMS 4.5 default live app. Setting PublishTimeout=-1 serverside and/or increasing reconnect interval in FME does not help.
    Any workaround except custom live app with shared objects?

  • Live stream problem with FMS 4.5 + FMLE

    Hi,
    I've got a live stream (and DVR) setup using FMS 4.5 and FMLE.
    The hardware for the FMS server we use is 2x Xeon E5645 2.4GHz, 32GB RAM, OCZ RevoDrive R3 X2 PCI-e SSD. Installed OS is CentOS 5.8.
    We have 6 workstation PCs, each equiped with 4 BlackMagic Intensity PRO capture cards and FMLE 3.2. Using these PCs we stream Live video to FMS server.
    Video stream is grabbed from HDMI cable, to BlackMagic Cards, which are encoding by FMLE using H.264 format, 700kbps bitrate per stream.
    Video stream is published to server through RTMP stream, which is later saved for DVR in RAW format. We only keep 3 days of recording and delete the old ones.
    Server and Encoder PCs are in the same network, connected by gigabit managed switch.
    The problem I'm having is that after 10-15 hours FMLE starts to drop frames, because video buffer is increased. What I observed is that this happens immediately when Server CPU load increases above 60%.
    Based on the above observation I decreased the number of channels streamed by the server to 10, which reduced CPU load. But the problem still persists.
    Whenever I restart FMS and delete all DVR data, the CPU load (when streaming 10 live channels) is only 1%, but after 2 days CPU load increases to 50-60%.
    Whenever I restart FMS and don't delete DVR data, the CPU load is 5-10%, and after 2 days it still increases to 60-70%.
    Another thing I observed is that there is only single fmscore process running, but it has lots of threads which are switched on and off in split seconds. These threads are launched on different CPU cores, but at any given point in time the distribution of the load isn't equal among CPU cores. This leads certain CPU cores being loaded by more than 60% and frame drops start to occur.
    For the moment there are just 10 users watching this service, so I don't think this load accounts for the problem.
    Has anybody had similar problem, or know how can I optimize or finetune the system to run without problem? I would appreciate any suggestions.
    Another thing I noted through last couple of days:
    When I was restarting FMS the CPU load was reduced to 30%, but after 1 week past when I restart it CPU load only goes down to 75%. Everything is the same, nothing has been changed and there is no disk IO issues involved.
    P.S. I've modified application.xml using these values:
    <Scope>vhost</Scope>
    <Distribute numprocs="5">app</Distribute>
    <LifeTime>
    <RollOver></RollOver>
    <MaxCores></MaxCores>
    </LifeTime>

    Hi
    How many channels are you publishing?
    If there are too many channels, it is recommended to have one  FMSCore process start for each of them. To do so, you will have to change the scope to app.
    ---snippet---
    <Application>
    <Process>
        <Scope>app</Scope>
       <Distribute numprocs="3">inst</Distribute>
    </Process>
    </Application>
    Also, to delete older content, you will have to enable disk management. Refer http://help.adobe.com/en_US/flashmediaserver/devguide/WSeb6b7485f9649bf23d103e5512e08f3a33 8-8000.html#WSec225f632fa00875-23954b6f1300b641158-8000 for more info.

  • Live Webcam and Netstream.publish HELP!

    Hello! Im new to the forums. Im working on a project for work and im using FMS 3 and AS3. I've gotten to a point where google cant help me anymore. When I get my webcamera with flash and allow the camera to be used it then opens a netstream to the FMS server, which for some reason doesnt work all the way. I can see the new stream being published but i just stops and you cant view it. Here is my code.
    var my_nc:NetConnection = new NetConnection();
    my_nc.connect("rtmp://my_fms_server_ip/live/livestream");
    var camera ;
    var video ;
    function onCameraStatus( evt ):void {
        if (evt.code == "Camera.Muted"){
            trace("Camera Access Has Been Denied!") ;
        if (evt.code == "Camera.Unmuted"){
            trace("Camera Access Has Been Granted") ;
    camera = Camera.getCamera() ;
    camera.addEventListener(StatusEvent.STATUS, onCameraStatus) ;
    if (camera == null)
           Security.showSettings(SecurityPanel.CAMERA) ;
       }else{
    video = new Video(camera.width, camera.height) ;
    video.attachCamera(camera) ;
    addChild(video) ;
    var my_ns:NetStream = new NetStream(my_nc);
    my_ns.attachCamera(camera);
    my_ns.publish("cwysong");
    Please Help!

    I got everything working.. here is my code. FYI this is done in Actionscript 2.0 and im passing variables from PHP to actionscript using FlashVars.
         var nc:NetConnection = new NetConnection();
         nc.connect("rtmp://My.Server.IP/live/"+ confid);
         var ns:NetStream = new NetStream(nc);
    mycam = Camera.get();
         mymic = Microphone.get();
         myvid.attachVideo(mycam);
         mycam.setQuality(84500,0);
         mymic.setRate(11);
         ns.attachAudio(mymic);
         ns.attachVideo(mycam);
    ns.publish(+ uname);
    there ya go!

Maybe you are looking for

  • File import with OS command on FTP receiver adapter

    Hi gurus, I would like to write a script ("Run OS command before Message Processing")for importing a file from a FTP based on a condition, like if file_a.txt does not exist on folder RECEIVE/TXT than import file_a.txt from location IMPORT/TXT to RECE

  • Ichat theater - no audio ?

    today i watched a movie using ichat theater. it is .avi and works on my laptop and it worked on the app, too. but when it started, i unplugged my headphones, and the audio stopped. then i closed it, and shared the file again. this time, the audio did

  • G7 B5Z56UA No sound

    Running Win 8, Product # is B5Z56UA#ABA and Serial # is [Edited for Personal Information].  My audio has suddenly gone out.  I can hear system sounds such as those that I can 'Test' from the Control Panel, Sound & Hardware section.  But if I try to p

  • Newbie Finding Tables

    Ok, forgive me for being a newbie first off. What I am needing is to create a report using crystal reports that pulls the following data from a Oracle App Suite 10g database at a sister site in my division and matched to data in my Dynamics GP using

  • Recurring Crystal schedules fail if original data source changes

    We're using BO 3.1 (SP3 plus FP 3.3 and 3.5) with Oracle 11g repository and both 10g and 11g clients installed on the BO servers (Windows Server 2008 R2).  We've been trying to resolve an issue with recurring schedules of Crystal reports.  We always