Live stream - buffer and replay

Hi,
i have this issue, which i'm pretty sure isn't feasible, but my boss insists that i give it a try, so here we go:
i've developed a video player being used by a commercial TV channel, both for its VOD and live stream.  all the video content - live & VOD - is supplied via external CDN, over which i have little (or even no) control.
what we're trying to achieve now, is while the channel's live stream goes on commercials break, to display our own (website's) ads.  we can tell when the break begins and when it ends, but we cant' know in advance how long it'll last.
so our plan is to start running our own ads as the break begins, and when it ends - in case the ad is still running, buffer and 'record' the live stream, so when the ad ends the player will display the live stream, but from when its commercials break ended, with a short delay.
is such a thing even possible?  i mean displaying live stream with a deliberate delay?
thanks in advance for any thought or idea,
eRez

Hi,
One way you can do this is to use php script to identify the user agent of the client (http://php.about.com/od/learnphp/p/http_user_agent.htm) and then generate dynamic webpages based on the client (HLS for iOS based clients and HDS for flash based clients). As Apache can only serve static webpages, you'll need to use CQ/MySQL/something else. I've personally not attempted to do so, but this may be a good starting point : http://www.ibm.com/developerworks/linux/tutorials/l-php/
Hope this helps.
Thanks,
Apurva

Similar Messages

  • Live stream buffer shrinking

    We're encountering a problem with live audio streams going
    through FMS. We play back the streams with a generous buffer on the
    client to smooth out any hiccups in the end-user's connection. But
    over long periods of time (10-30 minutes) the amount of data in the
    listener's buffer (monitored with NetStream.bufferLength) gradually
    shrinks until it hits 0, pauses to buffer again, and refills. This
    occurs on several different internet connections, and there appears
    to be plenty of bandwidth available to refill the buffer even if
    momentary network problems occur.
    Is there anything we can configure in FMS or the client
    players to prevent this? Thanks in advance for any
    suggestions.

    No problems here viewing CNN live streams.  According to CNN FAQ, you need Flip4Mac to view their live streams/videos.
    "You may watch live video using the Flip4Mac plugin and Quicktime 7.1.2+"
    http://www.cnn.com/help/live.html

  • How come I wasn't able to view PGA Tour Memorial live stream? And how can I fix for next time?

    today, June 5, wasn't able to watch live stream of pga tour online. why? and what do I need to make it happen?

    oh. sorry...
    on my computer, I went to pgatour.com.....clicked on a link to watch Live Coverage....
    Got sound, but no picture.....there was like a timer wheel going around for a few seconds ...but no picture.
    Flash issue??  If so, what can I do to make it work next time?
    I do have a PC Work Computer, no problem receiving the picture.
    Hope I got more details this time...sorry...and thanks for your help.

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

  • Live stream HDS and HLS with one webpage.

    Hello,
    First off, I am not a web developer, but I can put together a page if I have to. I have been tasked with setting up our Adobe Media Server 5 for live streaming and have successfully gotten the HDS and HLS streams running. I have created the two pages on our webserver to link to the HDS and HLS streams and I wanted to be able to integrate them into one page so the users don't have to choose the appropriate stream. Can anyone point me to a site or maybe an adobe help on how to do this simply and effectively? Does adobe have some prewritten code for this somewhere?

    Hi,
    One way you can do this is to use php script to identify the user agent of the client (http://php.about.com/od/learnphp/p/http_user_agent.htm) and then generate dynamic webpages based on the client (HLS for iOS based clients and HDS for flash based clients). As Apache can only serve static webpages, you'll need to use CQ/MySQL/something else. I've personally not attempted to do so, but this may be a good starting point : http://www.ibm.com/developerworks/linux/tutorials/l-php/
    Hope this helps.
    Thanks,
    Apurva

  • Live Streaming video and Flex2(3?) + Flash Media Server?

    I've seen alot of topic on how to create video sites for
    clips, etc. with Flex and Flash Media Server, but how about live
    streaming video, like a concert or a seminar. I can't find any
    information on this at all, could anyone point me in the right
    direction?

    What you need is grab video/sound form camera/mic, publish it
    on FMS and let the other clients play it. In a few steps:
    // get camera and mic
    var cam:Camera = Camera.getCamera(); // get default camera
    var mic:Microphone = Microphone.getMicrophone(); // get
    default mic
    // if you have VideoDisplay, for monitoring
    videoDisplay.attachCamera(cam);
    // create new RTMP connection to FMS/your app
    var nc:NetConnection = new NetConnection();
    // new stream should be create *after* nc has connected, not
    before
    // so this is executed after the below nc.connect() succeeds
    nc.attachEventListener(Event.CONNECT, function(){
    var ns:NetStream = new NetStream();
    ns.attachCamera(cam);
    ns.attachMicrophone(mic);
    ns.publish("streamname", "live"); // or "record" if you want
    to live+rec
    // connect to default instance of app 'appname' on your FMS
    nc.connect("rtmp://fms.ip.address/appname");
    If you're using Flex2 and FMS2 (the latest FMS is 3), you
    might need to
    cuange the connection encoding to AMF0 (which is what FMS2
    uses) in order for this to work.
    Hope this helps; I've written it from my head so it probably
    has mistakes, but it's the general workflow; the docs in the
    language reference for specific functions mentioned here will also
    help.

  • Can you live stream RTMP and HLS

    Is it possible to live stream both RTMP and HLS with FMS 4.5?
    I want flash users to have the least latency possible using RTMP, and iOS users use HLS.
    If this is possible, how can I achieve this?

    Yes this should be possible..
    You can publish on netconnection rtmp://server-ip/livepkgr a stream say "livestream"
    On ios, you can susbscribe to http://server-ip:8134/hls-live/livepkgr/_definst_/livestream/livestream.m3u8
    On flash, you can subscribe to (Netconnection : rtmp://server-ip/livepkgr streamName: livestream)
    Hope it helps

  • Live Streaming/broadcasting and latency

    Hi,
    Can any one of you provide me with details on how much is
    latency experienced when live video and audio is streamed using FME
    + FMS + FP.
    Ex: A 256 kbps streaming.
    Does FME , FMS and FP uses buffering concept? if so, how can
    that be tweaked to deliver the live video with reduced latency. Is
    it possible to achieve a latency of less or equal to 1 second and
    how.
    We are using Web Cam, Windows Media Server, Windows Media
    Encoder and Windows Media Player to achieve the live streaming of
    events. But we end up having a latency of 8 to 15 seconds (in LAN).
    This is the major challenge we are facing. We are trying to
    find out if FME, FMS and FP can overcome the issues being faced.
    TIA,
    Mohith

    Hi Kevin,
    Thanks for the information.
    What will be the latency in second, from the point of
    capturing till the end user viewing in the FMP, over the internet.
    In some article i had seen the information which said that
    having 2 seconds of buffering would be appropriate for the end user
    to have acceptable limit (performance and quality) for viewing.
    Having said 2 seconds of buffering configured, it will sure
    add 2 seconds of latency.
    This for sure is acceptable if there is no user action to be
    expected (Ex: Telecasting of live sports event).
    Whereas for senarios like live auctions(of paintings) on the
    internet where participants can be present at the auction location
    as well as taking part in the auctioning through internet, every
    second of latency counts.
    your thoughts.
    Regards,
    Mohith

  • Live stream server and applet to receive rtp packet

    hello everybody,
    i have seen so many post about the architecture of livestreaming client -server, i opened this topic to discuss about the main problems implementing this,
    for me its uncleared how the applet comunicate with the server and how its gonna be implemented, i have seen so many posts about applets to receive rtp trafic from a medialocatro which get it from webcam,the problem is that this is local and not centralized with a web server,
    if someone has solution sketch or lines of code please to post ,
    thanks in advandce

    petrika wrote:
    hello everybody,
    i have seen so many post about the architecture of livestreaming client -server, i opened this topic to discuss about the main problems implementing this,
    for me its uncleared how the applet comunicate with the server If you're talking about the setup for the stream, you have to do that yourself using sockets...
    and how its gonna be implemented, Sockets. You should read an article describing how VOD works...
    i have seen so many posts about applets to receive rtp trafic from a medialocatro which get it from webcam,the problem is that this is local and not centralized with a web server,Not sure what the problem here is... the applet receives the web cam stream locally and sends it via RTP to a server... Applets run locally on your machine, not on the web server.

  • Transconding - Mixing in live streaming Microphone and MP3

    Hello,
    We intend to develop a Flex client application the user to send audio from your microphone and mp3 at the same time to a server that Flash Media Server.
    It would be a mix of microphone and music in mp3 that is playing in the application at the same time transmitted to the listeners.
    What will be the version of Flash Media Server that enables this mixing of audio from microphone and music played on the client in flex? Which version of Flash Media Server that can best meet my needs?

    As of now you won't be able to publish any local content say like mp3 from Flash Client to FMS. You would have to have mp3 file stored on server and then write some kind of logic where your audio content from microphone and mp3 playback is synced. There is no direct way that you can mix two contents and playback it as one stream. And you will need Flash Media Interactive Editon if you plan to write any server-side logic for sync.

  • Mixing in live streaming Microphone and MP3

    Hello,
    We intend to develop a Flex client application the user to send audio from your microphone and mp3 at the same time to a server that Flash Media Server.
    It would be a mix of microphone and music in mp3 that is playing in the application at the same time transmitted to the listeners.
    What will be the version of Flash Media Server that enables this mixing of audio from microphone and music played on the client in flex? Which version of Flash Media Server that can best meet my needs?

    As of now you won't be able to publish any local content say like mp3 from Flash Client to FMS. You would have to have mp3 file stored on server and then write some kind of logic where your audio content from microphone and mp3 playback is synced. There is no direct way that you can mix two contents and playback it as one stream. And you will need Flash Media Interactive Editon if you plan to write any server-side logic for sync.

  • Debugging live streaming ingest protocol

    Hi everyone,
    I posted a separate question last week about live streaming protocols. I had been searching for documentation on fmp4 live streaming ingestion and found nothing, but afterward I found the Smooth Streaming protocol specification (MS-SSTR-- the forum won't
    let me link to it directly), which seems to apply to my use case. Now I've spent a few days trying to make it work and so far haven't been able to do so.
    I'm not looking for a canned solution; I'm looking for resources to help me debug the problem.
    According to the specification, I should be able to make a long-lived, chunked http POST request to my ingest endpoint, sending the fragmented mp4 data as the request body. I've tried to implement this without success-- I open the request stream and
    write 1000 byte chunks at a time, but the connection is reset after only one or two chunks. I can't tell if the problem is the data or the chunk size or something else.
    And if I mimic Expression Encoder 4, which seems to diverge from the spec and not send its data chunked at all, the connection isn't reset no matter how much data I send, but the video never makes it to the preview stream on the Azure portal.
    So the question is, how can I debug this? Is there any error log or diagnostic output I can access? Each time I try something new, it doesn't work, but I have no way of knowing whether I am getting closer to or further from a working solution. I'm a bit
    lost here, so help would be greatly appreciated.

    Hi Jason, and thanks for getting back to me.
    The IP security thing is a good thought, but I think I have that part taken care of already. I saw the option to restrict ingest to the IP I used to configure the channel from in the Portal, and I made sure to set it to Off. Also, I can stream successfully
    from Expression, which would have the same source IP.
    As for why I want to use Smooth Streaming, basically there are two reasons. First, it seems like the simpler protocol conceptually. I'm already generating fragmented mp4 files (though I think they might be packaged wrong; I can't really tell which part is
    causing problems), and it seems simple enough that I could implement it without turning to a third-party library (the part that's feeding the stream is written in C#, though I'd be willing to rewrite in C++ if necessary, and there's no RTMP client
    that seems trustworthy-- FluorineFX, for instance, seems to have ceased development years ago now).
    Second, while reading the RTMP spec, I realized that even if I had such a library it isn't clear how I would need to use it with Azure. It allows creating objects or invoking methods on the server, but I couldn't find any guide to which objects and methods
    might be supported. And the spec also doesn't define specifically what video format, codec options, or packaging method I need to use; essentially I would seem to have all the same problems I'm having with Smooth, only with the added difficulty of needing
    a third-party library to implement the spec properly.
    I guess the main problem is that I don't really know how close or far I am from success. Like I said, I think I am doing something wrong in how the video is encoded, but for all I know I'm being dropped because I'm feeding the data too quickly
    or slowly. (I can't find any documentation on how much data Azure can buffer or how it handles underruns when the video to be streamed live is generated on the fly and not tied to strictly realtime output). If there's more documentation on specifically how
    Azure uses or expects data from these protocols, it'd be very helpful.

  • Strikeforce Fedor vs Henderson live stream 31/7

    bbbbb 23
    Strikeforce Fedor vs Henderson live stream Fedor has been on top of the MMA pound for pound rankings for over a decade, Strikeforce Fedor vs Henderson live stream however if someone saw his last two fights, they would think Strikeforce Fedor vs Henderson live stream otherwise. First he lost to Fabricio Werdum via submission, something watch Strikeforce Fedor vs Henderson online that had never happened in his career. Then he lost to Antonio "Big Foot" Silva in the Strikeforce Heavyweight grand prix. This fight is Fedor's opportunity to bounce back, and all of his fans are hoping he does so.
    Fedor vs Henderson live stream Dan Henderson has been a feared fighter for years, dating back to his days at Fedor vs Henderson live stream Pride and the UFC. He left the UFC for Strikeforce watch Fedor vs He Fedor vs Henderson live stream nderson online where he is now the Light Heavyweight Champion. This bout versus Fedor is not only his chance to prove that he is one of the most dominant fighters of nfl 2011 live stream all time, even at 41 years old, NFL pre season 2011 live stream but it is also the last fight on his contract ufc 133 live stream with Strikeforce. fffffff 88

    bbbbb 23
    Strikeforce Fedor vs Henderson live stream Fedor has been on top of the MMA pound for pound rankings for over a decade, Strikeforce Fedor vs Henderson live stream however if someone saw his last two fights, they would think Strikeforce Fedor vs Henderson live stream otherwise. First he lost to Fabricio Werdum via submission, something watch Strikeforce Fedor vs Henderson online that had never happened in his career. Then he lost to Antonio "Big Foot" Silva in the Strikeforce Heavyweight grand prix. This fight is Fedor's opportunity to bounce back, and all of his fans are hoping he does so.
    Fedor vs Henderson live stream Dan Henderson has been a feared fighter for years, dating back to his days at Fedor vs Henderson live stream Pride and the UFC. He left the UFC for Strikeforce watch Fedor vs He Fedor vs Henderson live stream nderson online where he is now the Light Heavyweight Champion. This bout versus Fedor is not only his chance to prove that he is one of the most dominant fighters of nfl 2011 live stream all time, even at 41 years old, NFL pre season 2011 live stream but it is also the last fight on his contract ufc 133 live stream with Strikeforce. fffffff 88

  • Audio live streaming not smooth

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

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

  • Remove last frame after live stream

    Hi,
    How can I remove/reset the last frame sent by a live streaming client? I'm using FMS 3.5.
    It can be a server or client side solution. any ideas?
    tks.

    Hi,
    What do you mean by removing the last frame from live stream?
    A live stream that is published to the server and there is a client which is subscribing to that live stream. And you dont want to send the last frame of the stream to the subscriber, is it? Or something else?
    Regards,
    Janaki L

Maybe you are looking for

  • Tricky upload file problem

    Hi, I have created a page to allow people to upload a file, OR just insert the url of the file. I am getting errors when I choose the option not upload the file. The first page has two input fields, one is text and the other is file - they both go to

  • LSMW-BAPI Method sales contract creation

    Hi, I have a requirement to create sales contract through batch input or bapi method or idoc . Please let me know if there are any existing applicable methods for it. with regards, Bharath

  • More trouble with AVCHD (seems a little different from others though)

    I am trying to "log and transfer" my video from a Canon Vixia HF200. The video is in AVCHD format. It pulls up in the browser of the Log/Transfer just fine. Then when i add a clip to the queue section the Status thing spins for a second then just fre

  • Real-time Sensors Program

    It's not as grand as a package management wrapper, but... Here's the code for a simple C program that will run sensors much like top. I'm sure there's something better out there but I'm not an uber coder yet so, this is my contribution #include <ncur

  • Default Value for Page Items

    Hi, I use page items quite heavily in my workbooks to allow the user to filter the recordsets as they require. Some of these page items are based on dates - i.e. Extract Date (my underlying tables are updated on a daily basis, so the Extract Date soo