[Red5] Live Stream disconnection (explained)

Tyler Kocheran rfkrocktk at gmail.com
Wed Jan 7 15:04:41 PST 2009


"Falls over"? What exactly is happening?

On Wed, Jan 7, 2009 at 11:14 AM, Ben <ben at autonomic.net> wrote:

> Thank you Tyler, that's a helpful description.
>
> I had almost hoped it wasn't an automatic tidyup, as it means I'm still in
> the dark as to possible reasons why Red5 (and I started using it at v0.5)
> continually falls over after seemingly random periods of time :-)
>
> Many thanks,
>
> Ben
>
>
>
>> ------------------------------
>>
>> Message: 2
>> Date: Wed, 7 Jan 2009 09:26:13 -0800
>> From: "Tyler Kocheran" <rfkrocktk at gmail.com>
>> Subject: Re: [Red5] Live Stream disconnection
>> To: red5 at osflash.org
>> Message-ID:
>>        <82ec4e440901070926j2c1b18acn631a67ae57610587 at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>> Live streams die when the publishing client disconnects. Live streams are
>> typically webcam streams so it wouldn't make much sense to continue them
>> after the publisher is gone. I think you'll get a
>> "NetStream.Play.UnpublishNotify" notification in a NetStatusEvent
>> dispatched
>> from your NetStream object when this happens. The stream *might *just hang
>> on until all clients are disconnected, but I assume it would simply
>> trigger
>> the unpublish event and stop itself.
>>
>> Think of serverside streams as totally different ones. Serverside streams
>> can loop if specified by the creator, or they can just play once, but
>> they'll play independently of subscribers, which means they're "like a TV
>> station" as I have said before. VOD streams are streamed individually to
>> the
>> client so a client could be watching a completely different part of the
>> video at the same time another is watching another part. Live streams are
>> published (usually) from the client, and will play as long as the
>> publisher
>> keeps publishing. There are limitations to this fact such as client
>> idleness, but they aren't very important right now. Anyway, a live stream
>> will play as long as the publisher is publishing. It is published
>> regardless
>> of other clients being connected to it, and as soon as other clients
>> connect
>> to the stream, they'll see it, and that's all. Once the publisher stops
>> publishing, it is the end of the live stream, it dies.
>>
>> Does that help?
>>
>> On Wed, Jan 7, 2009 at 3:04 AM, Ben <ben at autonomic.net> wrote:
>>
>>
>>
>>
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>



-- 
And do this, knowing the time, that now it is high time to awake out of
sleep;
for now our salvation is nearer than when we first believed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090107/b756eed4/attachment-0001.html>


More information about the Red5 mailing list