Listen to multiple Live Streams at once

I am developing an application where I need musicians to play together and I want to have an audience listen to it. I have created my publisher clients and they can create the streams, but now I want to take those multiple streams and combine them so that you can hear the guitar, singer, etc. all together.
Is this possible, do I need to tell the server side script to combine them and create a new stream? Any help would be appreciated!
Thanks

I haven't used it myself, but the info on the ejamming site indicates that they're using a P2P protocol, and I suspect it's UDP based.UDP is more suitable for a use case such as this, as UDP is a lossy protocol. Additionally, the P2P nature of ejamming's application takes the trip to the server out of the picture, as the data doesn't need to bounce off the server. This reduces the time it takes to get the data from one client to another.
FMS, on the other hand, uses TCP/IP, which is a lossless protocol. Any data that doesn't make it to the server on the first trip (and in the proper sequence) has to be re-sent, which adds to latency on the stream. That, combined with encoding and transmission latency really removes reliability from an application that depends on consistently low latency. That's not to say it isn't possible, it just isn't reliable.
All that said, you might consider testing with RTMFP. RTMFP is a UDP based P2P protocol supported by Flashplayer 10 (http://labs.adobe.com/technologies/stratus/). RTMFP requires that you use a rendezvous service, and currently, the only such service is Adobe's stratus service. The word is that future versions of FMS will support RTMFP rendezvous services, but there is no official word on whether "future versions" means the next version, or a version further down the road. Of course, all of this introduces a few new considerations:
1. Each musician will need a lot more upload bandwidth, as each subscriber would need to connect to the publisher to receive the stream. For example, let's say you have 5 musicians. That means each musician needs to serve his/her stream to each of the other 4 musicians (RTMFP does not support multicast/swarming)
2. This approach doesn't satisfy the need to play the streams to a listening audience (RTMFP is not suitable for serving streams to a large audience). You'd still need to publish a stream from each musician to FMS over RTMP, come up with some sort of timecode logic to track latency, and then try to sync those streams on the playback client.
I tend to shy away from the term "impossible" (that word tends to lead to foot-in-mouth), but in this case, it seems to me that an FMS-centric solution would be less than reliable.

Similar Messages

  • Multiple Live Streaming Video in flash?

    Hello Everyone,
    I have this project in mind which I want to create a video
    montage of different live streaming videos from a few different
    users with their webcam in different locations. There will be the
    website which the participants will be able to view the live video
    montage in real time. However, I am unsure of where to start with
    (live video & server). Therefore I will be really thrilled if
    someone knows an example similar to this or someone who can offer
    me a lead in this topic!!
    I have knowledge in flash and abit of actionscripting.
    Much THANKS!!
    jen

    The 2-way video chat module example in the sample chapter
    from "Learning Flash Media Server 3" should give you some ideas.
    Obviously, you only want the 1-way (user to server) part of
    that, as you'll be displaying the video montage I guess in a web
    page as a set of regular flash streams.
    Main page
    http://www.adobe.com/devnet/flashmediaserver/articles/ora_learning_fms3.html
    Sample chapter (PDF) :
    http://www.adobe.com/devnet/flashmediaserver/articles/ora_learning_fms3/learning_fms3_ch05 .pdf
    It looks to be an O'Reilly book, so you may be able to get
    the whole thing online, or get it delivered from O'Reilly or Amazon
    in a few days.

  • Creating multiple live stream graphs...

    I want to be able to add live charts which have dynamic data
    (thus the values constantly change)...
    I can easily add charts to the series now but the problem is
    if I do something like this:
    myNewLiveSeries.dataProvider=new ArrayCollection. The array
    is not Bindable, so when I do this:
    LiveSeries
    .dataProvider.push(newDataPoint). The chart does nothing.
    how do I overcome this? Any solutions?

    Adam's right! However, editing the QuickTime Broadcaster file is a little tricky I found. Using QuickTime Pro I am able to set new "in" and "out" points and then choose "save as" as a self contained movie. This creates a new edited file pretty quickly. Choosing "export" will trigger a complete re-rendering taking a long time. The only issue with the "save as" method is that the reulting edited file will not have it's hint track enabled by default. This means it will not stream from QuickTime Server or Darwin Server. You will only see a portion of the first frame of video. To correct this, I reopen the "edited" file in QuickTime Pro and then choose Export (movie to hinted movie). This will then create a third file, this time with a valid hint track. This third file can then be uploaded to the server and will stream fine. The whole process takes only a few minutes for an hour of video so it's managable. Much better than doing a "transcode".

  • Live Stream Listener

    I am new to Stobe Media Playback, however i've managed to customize my player with posters.  My player was originally set up to auto play a live stream but the auto play feature disbled the poster feature.  I was wondering if there was a way to code my player to listen for the live stream from FMS and automatically start playing the live stream.  Thank you in advance for your time consideration! 

    Hi,
    Auto play disables the poster frame, as expected - it jumps directly to playing the video.
    If I understand corrrectly, you need a way to tell if the live is online or not.
    In the live case, there is no out-of-the-box support in SMP for detecting if the live has started. You will have to write your own code to see if the server is streaming.
    I suggest to make an improvement request in our bugtracker: http://bugs.adobe.com/jira/browse/FM - raise it as an issue . It will be better tracked and it will have a higher chance to being considered for fixing.
    S.

  • How do you get multiple live instruments to put out sound?

    I just got a M-Audio 61 keyboard from my wife for our anniversary. I love it and it works great with GarageBand 1.X. I also have a guitar I use with GB. It is plugged in the 1/8 in. mini jack input in the back of the Mac. I however can't get both to put out sound at the same time. Lets say, for instance, that I would play the guitar and my wife the keys. How can I get both to put out sound at the same time?
    Thank for any help you can offer.
    Your friend in Mac OS X,
    Jose

    Danke Christoph!
    I was glad to get your response. I thought I was not doing something right in GarageBand. I'll get GB2 and try out multiple live sources.
    Once again thanks.
    Your friend in Mac OS X,
    Jose Mauricio Cuervo

  • Quicktime live streams stop and then repeat

    Hi, I'm using firefox 2.0.0.11 and Quicktime 7.3.0
    I'm trying to listen to a live stream from a radio station that is a .wax live stream. Everything works fine, however, when the playback marker reaches the right side of the quicktime screen, the stream stops and it returns to the beginning and repeats what it's just played. I'd really like to listen to the whole stream until I decide to stop it. Can anyone help?
    Simon

    The same thing happened to me, EXCEPT, for me, I realized that if I NEVER touch the controller during the live stream it doesn't stop and loop. It keeps going until the feed ends.
    For me, it ONLY stops and loops if I try to use the controller while viewing the live stream.
    This is certainly not a fix, but a possible temporary solution for some, while Apple works on fixing this BUG.

  • Synchronous live streams

    Wondering if FMS 3.5 is capable of turning multiple live streams from web cams into a single stream to go out to client machines?  Not interested in concatenating the stream, but rather overlapping them.
    If this is not available through FMS 3.5, are there other tools available by which this could be achieved programmatically?
    Thanks.

    I would work backward in this case.  Take for instance a home DSL connection with 1.5 Mbps down.  Now given that constraint, you would need to aggregate 5 webcam streams over it.  This will compromise the bitrate of the content (ie visual quality) as each stream would take up less than 300 kbps as one would need to account for TCP overhead.   This means that the webcams need to encode the content to meet these requirements.
    Now by doing so, you have 5 separate streams coming from the webcam, which you now want to turn into a "single one".   You can multiplex these 5 streams over a single netconnection (or 5 streams over 5 different netconnections), but the network footprint will not be any smaller because those streams have been encoded at that bitrate.
    So the moral of the story is:  find a good encoder.

  • Live streaming audio

    I'm sure this topic has been discussed several times and I just can't find the answer.  However, I recently purchased a Pre and I cannot listen to any live streaming audio.  Some formats the device won't support and the formats the device will play only plays for 30 seconds.
    Post relates to: Pre p100eww (Sprint)

    Hi, and welcome to the Palm Support Community.
    I haven't tried it yet on my Pre, but it can handle some formats.  I suggest you go to the webOS software board, then use the Search field at the bottom and enter streaming audio.  You'll find several pages of hits including this thread, and links to other sources with lists of stations which work.
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

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

  • How to merge multiple live audio streams into a single stream in FMS?

    I need to merge multiple live audio streams into a single stream so that i can pass this stream as input to VOIP through a softphone.
    For this i tried the following approach:
    Created a new stream (str1) on FMS onAppStart and recorded the live streams (sent throgh microphone) in that new stream.
    Below is the code :
    application.onAppStart = function()
    application.myStream=Stream.get("foo");           
    application.myStream.record();
    application.onPublish = function (client,stream)
          var streamName = stream.name;
          application.myStream.play(streamName,-2,-1};
    The problem is that the Stream.play plays only 1 live stream at a time.As soon as a the 2nd live stream is sent to FMS then Stream.play stops playing the previous live stream.So,only the latest live stream is getting recorded.Whereas i need to record all the live streams in the new stream simultaneously.
    Any pointers regarding this are welcome.
    Thanks

    well i tried this once for one of my scripts and the final conclusion is its not possible to combine two streams into 1.....how would you time/encode the two voices......there is no know solution to this in flash. If you continue on despite me and find a solution please post it so we can explain to rest of world.

  • How do I use multiple cameras to live stream through FME?

    I am looking to live stream pool tournaments from multiple angles but don't know what software or hardware I might need. Anybody have any good how to advice or links they might share? I stream through Ustream.tv if that makes a difference. Should I look for something different? Thanks

    I am working on getting just the counter working by using
    the program posted previously, and I am running into issues. Periodically I get
    the error:
    Error -200141
    occurred at DAQmx Read (Counter DBL 1Chan 1Samp).vi
    Possible reason(s):
    Data was overwritten
    before it could be read by the system.
    If Data Transfer
    Mechanism is Interrupts, try using DMA. Otherwise, divide the input signal
    before taking the measurement.
    It seems to work better if I use cascaded counters, but I need timer 0 for
    analog channels when I run this code along with the program for the other
    measurements.
    I have tried averaging, and selecting different values for the millisecond
    timer, and these did not seem to have an effect.
    I tried different DAQms configurations and "Counter DBL 1Samp" seemed
    to work the best.
    The program will work for a while and then it will give me the above error
    message.
    If I use counter 0 as a cascaded counter input, the program runs fine. If I run
    this with other analog channels, it errors out because the analog channels use
    counter 0.
    If I use counter 1 as a cascaded counter input, it seems to work better than a
    single channel, but it will still error out with the above error.
    If I use only counter 1, I get the error above even faster.
    Also, none of the
    configurations give measurements outside the While Loop.
    The only place I can add a speed dial for the front panel is within the While
    Loop.
    Is there someway to get the signal to continuously send out of the while loop?
    I thought if I could get the signal out of the while loop, I could condition it
    anyway I wanted without the program erroring out.
    Any suggestions would be much appreciated.
    Thank you.
    Attachments:
    Counter_error.jpg ‏45 KB

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

  • Trying to listen to a live music stream on Firefox....Help?

    I'm new to this aspect of the internet, so here goes. I was given a port 8000 address for a live music stream by a trusted staff member of a chat site, along with everyone else, via global/general chat. According to chat, everyone else was hearing music via their web browser (Firefox for some, Chrome for others) but when I entered the given address into the address bar, it took me to a blank page (but with the port 8000 address still in the bar), and asked me if I wanted to open the "file" with windows media player or save it. I tried opening it first, eventually backed out and tried saving it, but both methods resulted in Firefox downloading an ever-expanding file, because it wasn't a preset file, but a live music stream being uploaded and played at the same time. I feel left out, because a few days later (and again after another few days) this person did some more live streams, and each time I got the same problem, only the first time it was on the old family desktop, and the second and third times it was on a new laptop. The desktop has Windows Vista, with a Celeron processor, and Firefox version 21.; the laptop had Windows 8 with a Dual Core processor, and also Firefox version 21.
    Is there some setting I have to fix, or do I need a special add-on?

    There has been a change in where Firefox searches for plugins and the plugins folder in the Firefox program folder is no longer scanned for plugins, so Firefox won't find them anymore if they are installed in the plugins folder instead of the "browser\plugins" folder that Firefox now scans.
    You can set the plugins.load_appdir_plugins pref to true on the about:config page to make Firefox scan the "<install>/plugins/" directory for plugins like the WMP plugin (np-mswmp.dll).
    You can alternatively move plugins from "<install directory>\plugins\" to "<install directory>\browser\plugins\" (create this folder when missing) to make Firefox find them again.
    *http://www.ghacks.net/2013/05/15/why-you-may-have-lost-access-to-plugins-or-extensions-in-firefox-21/
    *http://mike.kaply.com/2013/04/24/major-changes-coming-in-firefox-21/
    See also:
    *https://support.mozilla.org/kb/windows-media-or-other-plugins-stopped-working

  • Multiple out streams from one Live in stream

    Hi,
    Just wondering is there a viable way to get FMS to stream out
    different bitreates from one live stream?
    /A

    Hi Matthew,
    Welcome to SDN!
    Here is some on-line help. Let me know if you have any other questions.
    http://help.sap.com/saphelp_nw04/helpdata/en/4e/4a75bb7fe211d4b2c50050da4c74dc/frameset.htm
    Cheers! Bill

  • Live streaming with multiple remote cameras?

    look up lts security, i found it as a easy, high quality, low cost,  and great solution 

    I didn't see any discussions on SpiceWorks that covered this question. I'm involved in live streaming of my church's services, and we got hit by lightening 2 weeks ago. We had 3 cameras which were able to be remotely controlled by 1 Telemetrics box, and which sent video feed into a digital video mixer. Well, one of the cameras and the remote control box have died, so we are looking to replace the setup with better equipment. I'm able to run the equipment, and even troubleshoot it to an extent, but have no idea what's even out there. Does anyone have any recommendations on a setup for at least 3 remotely controllable (pan/tilt/zoom) HD cameras? The remote control could be either hardware or software based. I have no idea how much the church could budget for a new system, so a range of low-high cost options would be ideal for me to...
    This topic first appeared in the Spiceworks Community

Maybe you are looking for