20,000 concurrent viewers in live streaming

Hi, excuse me, do you think that only one server could handle 20,000 concurrent viewers in live streaming?
The stream will be in 500kbps. The server could have 1Gbps of port speed.
What else should i care? Do you know what resource is more important: CPU or RAM to handle this kind of load.
We plan to use RTMP to play on FLASH an HLS to play on IOS devices.
Thanks a lot.

Hi, we have not deployed it yet. We need to know if onlyone server could handle this or if it will be needed more than one server. We have thinked to deploy it on Softlayer because they have the option of ports of 1Gbps and dual 1Gbps. But we dont know if we need the more powerfull server available, or if we need a configuration with a decent CPU but more RAM. I cant find any info from Adobe about load testing results, or maximum RTMP and HLS connections to only one server. If you know something about it and can share with us ill thank you a lot.

Similar Messages

  • Number of viewers of live stream

    Hello,
    I want to display the number of viewers that are watching a
    video stream on a website... I am using FMS 2, and this is the
    actionscript of the flash file:
    connect_pb.onRelease = function(){
    if(this.label == "Start Watching"){
    this.label = "Stop Watching";
    nc.connect("rtmp:/livecast");
    } else {
    this.label = "Start Watching";
    nc.close();
    nc = new NetConnection();
    nc.onStatus = function(info) {
    createNetStream(this);
    createNetStream = function(nc){
    ns = new NetStream(nc);
    myvid.attachVideo(ns);
    ns.play(stream, -1)
    (it displays the video another user is streaming through his
    webcam).
    How can I add the number of viewers of this video to the
    flash?
    Thanks.

    Basically, this is the actionscript I have for the
    "Broadcaster" application:
    /* first create a new instance of the LoadVars object */
    myVars = new LoadVars();
    // call the load method to load my php page
    myVars.load("hs.php");
    startstop_pb.enabled = false;
    connect_pb.onRelease = function(){
    if(this.label == "Connect"){
    this.label = "Disconnect";
    nc.connect("rtmp:/livecast");
    } else {
    this.label = "Connect";
    nc.close();
    nc = new NetConnection();
    nc.onStatus = function(info) {
    startstop_pb.enabled = true;
    createNetStream(this);
    createNetStream = function(nc){
    ns = new NetStream(nc);
    mycam = Camera.get();
    mycam.setQuality(25600, 0);
    mymic = Microphone.get();
    mymic.setRate(11);
    ns.attachVideo(mycam);
    ns.attachAudio(mymic);
    myvid.attachVideo(mycam);
    startstop_pb.onRelease = function(){
    if (this.label == "Start Broadcast"){
    this.label = "Stop Broadcast";
    ns.publish(myVars.hs, "live");
    } else {
    this.label = "Start Broadcast";
    myvid.attachVideo(null);
    myvid.clear();
    ns.close();
    ---- On the other side, a "Receiver" application displays the
    stream that has been published.
    How do I display the number of viewers, or the number of
    "receivers" subscribed to the published stream?
    (example:
    http://www.ustream.tv - they use
    FMS2).

  • Live stream on FMS issues when reaching 1600 concurrent users

    Hey all,
    We have an FMS 4.5.2 installation with 1x Origin and 2x Edge setup only for Live streaming. We are using FMLE latest version to stream to the Origin server and Edge servers are connecting to the Origin server. We are running four applications stream1, stream2, stream3 and stream4 all for live streaming (copied live) application. All servers have default configuration except edge/origin setup.
    All servers have 4Gbit connections in bonding and network traffic is nicely distributed across all bonds and uplink is 10Gbit to the ISP.
    Server is a 2 CPU / Quad Core HP DL 380 with 64Gbit of memory running Ubuntu 10.04 LTS
    Now to the problem.
    We are streaming live stream from FMLE with 700kbit/s to for example stream1 application and when we hit around 1600 concurrent users with 50% on edge1 and 50% on edge2 (800 concurrent users on each edge) in the player buffer drops and all people experience buffering issues at approx 30secs - 2minutes intervals. (network is not congested because if at that time do an SCP from the server outside network it copies 1Gbyte file within seconds.
    Funny thing is that If I start a second FMLE and stream live stream to for example stream2 application at same time and open up second player on client the video runs great without any buffer issues from the same server at the same time.
    edge1 server:
    application: stream1 with 800 concurrent users, player has buffer issues
    application: stream2 with 4 concurrent users, player has no issues
    edge2 server
    same as above
    So my current conclusion is that it has to be something per application since other application does not have this issues when running simultaneously? We tried changing fmscore number settings and some buffer settings but nothing helped.
    at the time when we get buffering issues this are the only problematic things that get in the log and its in edge.00.log on both EDGE servers but not at same times:
    Edge1:
    2012-04-23    12:50:21    29270    (e)2661034    Connect failed ( , 8134 ) : Connect failed: Connection refused (111)    -
    2012-04-23    12:55:30    29270    (e)2661034    Connect failed ( , 8134 ) : Connect failed: Connection refused (111)    -
    2012-04-23    12:56:42    29270    (e)2661034    Connect failed ( , 8134 ) : Connect failed: Connection refused (111)    -
    2012-04-23    12:56:42    29270    (e)2661034    Connect failed ( , 8134 ) : Connect failed: Connection refused (111)    -
    2012-04-23    13:14:40    29270    (e)2661034    Connect failed ( , 8134 ) : Connect failed: Connection refused (111)    -
    2012-04-23    13:20:30    29270    (e)2661034    Connect failed ( , 8134 ) : Connect failed: Connection refused (111)    -
    Edge2:
    2012-04-23    12:56:32    9625    (e)2661034    Connect failed ( , 8134 ) : Connect failed: Connection refused (111)    -
    2012-04-23    13:02:23    9625    (e)2661034    Connect failed ( , 8134 ) : Connect failed: Connection refused (111)    -
    2012-04-23    13:08:03    9625    (e)2661034    Connect failed ( , 8134 ) : Connect failed: Connection refused (111)    -
    there is no packet loss between edge and origin servers and latency is at 0.2ms and nothing in the logs of the origin server
    We even tried to deploy Wowza Medis Servers with edge / origin setup and were able to handle around 4000 (2000 on one and 2000 on second edge) concurrent users without any issues.
    Anyone has any ideas or at least what are our next options to do and what settings to change on the FMS? or how to debug and what to check when buffering issue appears? any more debugging we can enable on the FMSs? too se if we hit some kind of limit somewhere?
    thanks

    hey, i got the similar problem, logging like this
    2012-11-12
    18:50:12
    23434
    (e)2661034
    Connect failed ( , 5779212 ) : Connect failed: Connection refused (111)
    2012-11-12
    18:50:54
    23434
    (e)2661034
    Connect failed ( , 5779212 ) : Connect failed: Connection refused (111)
    2012-11-12
    18:51:36
    23434
    (e)2661034
    Connect failed ( , 1166880400 ) : Connect failed: Connection refused (111)
    2012-11-12
    18:54:14
    23434
    (e)2661034
    Connect failed ( , 1175301776 ) : Connect failed: Connection refused (111)
    2012-11-12
    18:54:55
    23434
    (e)2661034
    Connect failed ( , 1164775056 ) : Connect failed: Connection refused (111)
    2012-11-12
    18:55:37
    23434
    (e)2661034
    Connect failed ( , 16 ) : Connect failed: Connection refused (111)
    2012-11-12
    19:13:08
    23434
    (e)2661034
    Connect failed ( , 1158459024 ) : Connect failed: Connection refused (111)
    it seems that the port number is invalid, but we never use such ports.

  • Live Stream connection limit per server

    I Need to Broadcast 20,000 to 40,000 Live Streams.! (Bitrate : 128Kbps / Viewers Per Stream Apprx-10 Server : Adobe FMS Server Amazon EC2 Instance - Bandwidth Apprx 100mbps)
    My Question is
    1. How Many Concurrent connections Possible for one Adobe FMS Server? (Amazon EC2 Instance)
    2. is this possible to use RTMFP for this process? (20,000 Connections Via Amazon Adobe FMS Server EC2 Instance )
    3. if Possible Over RTMFP then How Many Developer Keys Need for this Operation. (or) Pricing Details for the Developer Key. (or) Any Separate Key[s] Available For Amazon EC2 Instance?
    Thanks
    Sarma

    1.  Looking at your stream specs - its like  128 X 10 ~ around 1 Mbps for one stream considering 10 clients. And considering bandwidth of 100 mbps for instance you can support around 1000 clients. But few things i want to know before we can conlude on figures - what is NIC capacity of the instance.
    2. Yes if you using FMS on AWS offering - you can use RTMFP
    3. You don't need developer keys if you are using FMS on AWS offering to use RTMFP

  • JVC GY-HM100u for live streaming

    I want to buy the JVC GY-HM100u for live streaming at my local church. We want to be able to have the camera at the front of the church and have the laptop that we are using somewhere else.
    Is this possible and if so how?
    Also what laptop would you recommend for this type of task
    (Live streaming a Church service and editing the recording later on)

    First question I have is why do you want the camera at the front?
    Second question is are you using the laptop for the web broadcast or recording?
    Third question - what hardware are you going to use to get from the camera and into your computer, and what software to get it from the computer to the web?
    My advice is stream in SD and run a composite video line from the camera to some sort of hardware that'll get it into your computer to stream out. What hardware you need depends on the software you use to stream. It's church - save a few bucks going SD, then donate what you save to a local charity. If you do anamorphic (widescreen) SD you'll probably convince half of your web viewers that it's HD. Check with your streaming provider about what needs to be done with anamorphic video. Don't forget to think about what kind of upstream data connection you need. Check with your provider to see what kind of sustained upload speeds you need. Do tests during the service to see what's available. If you have public WiFi sharing the internet connection you might run into issues sometime.
    For your recording later on, just record to the camera's SD card slots. The JVC you mentioned records Quicktime movies that'll go right into Final Cut. This can easily be HD.
    Make sure your audio is clean, it matters more than the picture. Get a feed from one of the audio consoles. If it's the front of house board (or the board if you only have one) ask for a Matrix, post-fade AUX, or Tape Out from the sound guy - though he will have an understanding of what you need already. You might look into some sort of auto-gain controller or compressor to level things off. You can have 12dB of difference between someone talking and a band play easily.
    For the laptop - again it depends on your streaming provider. A desktop may be a better option for specialised hardware requirements.
    I'm going to hop on a soap box here at the end for a second. I don't mean this offensively to your local church. I have no idea what sorts of programs you have in place or anything of the sort. That said, for a church I'd sit down and do a cost-benefit analysis on this before continuing. Sure, a live stream is cool, but given the cost that it takes to get it going I'd rather buy school supplies and hygiene items for kids that need them, or put some money into social justice. Chances are a live stream isn't going to change someone's life, but providing a village with clean water changes several lives. You could probably step away from the live idea, drop down to SD, and save about $4,000 initially, plus whatever ongoing costs web streaming necessitates. A lot can be done with $4,000.

  • Time shifting and record live stream

    Hellow everyone,
    I would like to stream videos for my viewers and them have a abiliti to timeshifting live stream.
    Can I use live application for timeshifting? Or I should use livepkgr to do that.
    For archive and play on the VOD mode I like to stream live and record at same time. in the livepkgr I see in the stream folder create a stream file with the f4f extention automaticaly whoever in the live application I should call application.record on the FMS to save live stream on the server.
    Please advise me the better solution to archive and time shifting.
    Many Thanks.

    livepkgr application for for HTTP streaming...
    f youjust want to stream over rtmp use live application and code to record the stream...recording is pretty simple in AMS just call Stream.get() s.record(...) s.play() where s is the stream which you are recording...
    application.onPublish = function(clientObj, streamObj) {      trace("recording started...");       var strName = "recorded_" + streamObj.name;      var s = Stream.get(strName);      if (s == undefined )           return;         s.onStatus = function(info)      {           trace(info.code);      }           if (!s.record("record"))      {           s.trace("record failed.");      }            s.play(streamObj.name, -1, -1, true); }

  • Videographer Wants To Live Stream - Lost At Amazon

    I am a freelance videographer and I am researching methods of live video streaming. I want to offer my clients, some of whom are entertainers and event promoters, the ability to stream events, and on-demand recordings, and also to control access to them. In other words, I need the flexibility to stream on my own Livestream platform or some other platform and have it be protected. The basic Livestream platform only supports fully public streams and recordings.
    I have a computer fully equipped to perform live streaming, but I have not set up the services associated with it (except for the Basic Livestream platform)
    I have an Adobe Flash Live Media Encoder installed as part of the Livestream Studio desktop application for multi-camera productions. I also have a Teradek Vidiu - a camera-top unit that allows me to stream via WIFI or hard-wired internet on remote shoots without a computer. Finally, I also have a subscription to Adobe Creative Suites 2014.
    Two days ago, I streamed an event live for the first time using Livestream, and it was a success! However, it was mainly an experiment to test my equipment and the quality of the video stream. And because the stream was public, there was no way to charge the viewers for watching. Livestream does offer the services that I think I need to control access to my video streams - password protection, viewer login, pay-per-view, etc., but they charge a very high Enterprise level fee that is inaccessible to a lone operator like myself. So I am looking for alternatives.
    I also came across something called WOWZA, to which I have a trial account, but I know nothing about how to use.
    The Adobe Live Flash website led me to Amazon, and here I am. I already had an Amazon.com account, so it was easy to create an AWS account. But I have no idea what I am doing here. I see all sorts of Amazon web and cloud services, but I seem to have lost any links or references to live media streaming, which I originally set out to do. 
    Replies: 0    |  Pages: 1

    I may as well update my own thread because nobody out there seems to see it. I have upgraded my Livestream account to the Premiere level of their platform, which gives me some nice capabilities. But, because everything is done in house at Livestream, I am not really learning the nuts and bolts of how anything works.
    I know nothing about Adobe Flash Live Media Encoder, which happened to be installed along as part of the Livestream Studio application. I am trying to understand it apart from LS, and how it might integrate with some of the other CDNs. I'm not learning much here on this forum about Adobe's own application. I though this might be the place to go for answers

  • Publishing multi-bitrate live streams for iOS

    I'm having difficulties publishing multi-bitrate live streams that can be viewed on an iPad/iPhone.
    I'm running Flash Media Server 4.5, and have carefully followed Adobe's Tutorial on streaming live media (http) using hls found here:  http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725df a0-8000.html#WS0432746db30523c21e63e3d12e8340f669-8000
    After completing the above tutorial, the video can be seen just fine on my desktop computer via the flash plug-in, but it's not working in iOS...
    When I go to what I believe to be the proper URL, (http://myflashmediaserver.net/myevent.m3u8),  I get an error message on my iPhone and iPad saying "The operation could not be completed".
    I have created two set-level manifest files (one .f4m and one .m3u8) for the live stream using the Set Level F4M/M3U8 File Generator and saved them to the WebRoot directory, but alas, no love.
    Any help would be greatly appreciated!
    Mike

    I just finished going through the short and sweet tutorial on the Adobe website "Capture, encode and stream live multi-bitrate video over HTTP to Flash and iOS", which confirmed that I seem to be doing everything right, but I'm still getting the "The operation could not be completed" error message on both iPad and iPhone.
    Grasping at straws, I'm wondering if it could have something to do with some of the "hacks" I was asked to make in the other tutorials, (which, oddly enough, weren't mentioned in the tutorial mentioned above).  Specifically:
         • Edit FMLE config file on the Mac I'm encoding the live video on (change <streamsynchronization> from false to true)
         • Delete/Rename the "manifest.xml" file in applications/livepkgr/events/_definst_/liveevent directory
         • Edit "event.xml" in applications/livepkgr/events/_definst_/liveevent (change <segmentduration> from 40,000 to 16,000)
    However, I've tried running this with the above hacks as well as in their non-hacked state and am still not seeing success.
    Please advise.  Thanks!

  • Can storing a live stream using actionscript fail by the cache filling up with overhead?

    Hi,
    Lately we have been seeing a problem with the archives of live streams we create using FMS. We use FMS for live streaming and concurrently store the stream in a file using ActionScript. We use the following code to record:
    var s2 = Stream.get('mp4:' + mp4name);
    application.publishedStreamMP4= s2;
    application.publishedStreamMP4.record();
    application.publishedStreamMP4.play(application.publishedStream.name,-1,-1);
    (some lines have been removed that are used for logging, etc).
    Sometimes some of these functions fail and return false. In these cases FMS's core log shows that the cache is full:
    2013-06-11 11:45:55        13863   (w)2611372      The FLV segment cache is full.  -
    In investigating this issue I have not yet been able to recreate this exact situation. By lowering the cache to 1MB I have however been able to create a situation where storing a stream can stop because the cache is full. The situation occurs as follows:
    * The server is restarted, the cache is empty.
    * A live stream is started, which is also recorded.
    * Via the Administration API the cache values <bytes> and <bytes_inuse> show to be exactly the same as the <overhead> of the object that relates to the file being saved. The <bytes> and <bytes_inuse> values of the object are 0.
    * This continues in the same way untill the cache is full.
    * When the limit of the cache is reached the message
    2013-06-11 12:07:35        13863   (w)2611372      The FLV segment cache is full.  -
    is shown in the core log and storing of the file stops. The instance log also show status changes:
    2013-06-11 12:07:35        13863   (s)2641173      MP4 recording status for livestream.mp4: Code: NetStream.Record.NoAccess Level: status Details:         -
    2013-06-11 12:07:35        13863   (s)2641173      MP4 recording status for livestream.mp4: Code: NetStream.Record.Stop Level: status Details:     -
    In the filesystem I can confirm that the last change of the file is on this moment (in this case 12:07). The live stream continues without problems.
    I have reproduced this several times. Though I can understand that caches can fill up and this can cause trouble I feel like this situation is a bug in FMS. The cache fills up with overhead, which is apparently reserved untill writing the file ends.
    I hope someone here can help out. Has anyone seen a situation like this and is there any remedy for it? Or even a workaround where this overhead in the cache can be released so the cache does not fill up?
    We use FMS version 4.5.1.

    You can use an XML socket, but the FMS application will need to initiate the connection, as FMS has no support for listening for anything other than RTMP and HTTP requests.
    Stream switching can happen on the FMS side. In your FMS application, you'll create a server side stream, and use the Stream.play method for playing other sources (live streams or recorded flv/h.264 files) over that stream. Your subscribers will connect to the server side stream
    See the FMS docs for the Stream class and the XMLSocket class.

  • Mod_hlshttp [500]: Invalid timestamp found in the message while processing /hls-live/streams/rd-mp4

    Hi,
    We use  FMS 4.5.1 for streaming MP4 (H264/AAC) live streams to flash clients and iPads. Occassionally iPad viewers get error messages indicating that the video cannot be played. On these occasions we see error messages like this in our Apache logs:
    mod_hlshttp [500]: Invalid timestamp found in the message while processing /hls-live/streams/rd-mp4/events/noordoostpolder_1/liveevent/livestreamNum4390.ts
    Strangely enough this error message cannot be found anywhere in Adobe's documentation or anywhere else on the net (or perhaps I haven't searched well enough...)
    Has anyone else here encountered this problem and/or does anyone have an idea as to what causes these messages and this problem?
    Message was edited by: GRO-NIC: Does anyone have any idea? And/or can someone from Adobe respond? We are still receiving complaints from several of our customers about this.

    Hi,
    We use  FMS 4.5.1 for streaming MP4 (H264/AAC) live streams to flash clients and iPads. Occassionally iPad viewers get error messages indicating that the video cannot be played. On these occasions we see error messages like this in our Apache logs:
    mod_hlshttp [500]: Invalid timestamp found in the message while processing /hls-live/streams/rd-mp4/events/noordoostpolder_1/liveevent/livestreamNum4390.ts
    Strangely enough this error message cannot be found anywhere in Adobe's documentation or anywhere else on the net (or perhaps I haven't searched well enough...)
    Has anyone else here encountered this problem and/or does anyone have an idea as to what causes these messages and this problem?
    Message was edited by: GRO-NIC: Does anyone have any idea? And/or can someone from Adobe respond? We are still receiving complaints from several of our customers about this.

  • Broadcast, live stream?

    Hello. I have a few questions regarding broadcasting live video streams in H.264 encoded format. I am new here and have little knowledge about the topic. What I am interested in is how can I broadcast (multicast?) live video streams over the internet to multiple viewers? I have video content on a HDD, encoded in H.264 which is constantly updating (I add new files, remove old ones and so on, kind of like a TV channel or Internet Radio but with video), I need to feed that content to a live stream server somehow. It should not be an "On Demand" stream, but "live". What software do I need for this? What do I need to broadcast my so-called "live TV" to end users and what software should I use to auto "feed" the server with new content? If you have any thoughts or can give me links to helpful resources I would appreciate it a lot! Thank you!

    I already took a look at that software. I don't sure if it fits my needs. Lets say I have a video source which is an uncompressed live stream. I need: to capture that stream, compress it using H.264 encoding, then rebroadcast it. The time buffer I have is 8 hours (I can broadcast the compressed stream after 8 hours after getting the original stream). Now, how do I do it?
    Message was edited by: D. Poznyak

  • Multible LIVE streams

    Hello,
    My Customer wants to stream 4 simultanous live streams to the
    internet with approx. 200 viewers each.
    Can this be done using one FMS??
    In addition my customer wants the streams to be encrypted and
    secured with DRM.
    How can I achive this using FMS??
    Thanks in advance
    regards
    Mads Brydegaard
    Copenhagen, Denmark

    I see you cleared cookies but if you didn't delete Flash cookies, try that.
    Flush.app – Flash Cookie Removal Tool For OS X | MacHacks.TV

  • Maximum concurrent vod and live connections

    How to check maximum concurrent vod and live connections for a server could afford?
    What factors will be depended?   For internal use, the NIC should be 1G port.
    How I will know that the maximum capacity for the server had been reached?

    I have already read the white paper from http://www.adobe.com/content/dam/Adobe/en/products/ams/pdfs/ams5-intro-wp.pdf.
    When to choose HDS are:
    Examples of use cases for HTTP Dynamic Streaming include the following:
    • Adaptive streaming behind restrictive firewalls
    • Massive-scale live broadcasting
    • Enhanced seeking over standard HTTP connections
    • Enterprise streaming on existing network infrastructure
    On other hand, as in-house deployment without firewall and also could allow port 1936 inside internal network.   So above benefits seem not significant.
    So other than above reasons, how RTMP and HTTP will be differed in performance and others?

  • Embed live cue data in live stream?

    I am currently using the new FME to encode live to a FMS.
    Both applicatioins are running on the same machine. Is there a way
    to embed live cue and metadata into the live stream? Once embedded
    we want to record the stream AND send it on to viewers. Is there a
    way to process this on the server. The live cue and metadata is
    coming in the serial port.

    Hey Flasher,
    I got the same issues as mentioned in the posts above. I am
    using FMS for live streaming and I want to embed metadata into the
    live stream. So far, I'm using a server side script that calls the
    Stream.send() method, but I'm not sure if there are other (better?)
    ways how to achieve this situation. What do you think?
    Here are some questions that came up:
    1) When using Stream.send(), is the message directly embedded
    into the stream (like some header information)?
    2) Is this message somehow comparable to cue points used in a
    FLV file?
    Thanks in advance!

  • My IPad cannot download live Tv from skygo. I have no problem with my lap top so I assume the broad band is okay. Can anybody suggest why the live streaming will not work on my iPad one.

    My IPad cannot download live Tv from skygo. I have no problem with my lap top so I assume the broad band is okay. Can anybody suggest why the live streaming will not work on my iPad .

    Are you using the Sky Go app to try and watch it ? If so are you logged in with your Sky account ?
    If you are using the app then you could try closing the app completely and see if it works when you re-open it : from the home screen (i.e. not with Sky Go 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Sky Go app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

Maybe you are looking for