[Red5] StreamNotFound and play(name)

Manuel Raña info at vengava.com
Sat Apr 18 02:59:22 PDT 2009


Hi Daniel,

It's seems too obious but maybe it depends on the application
implementation, not the default behaviour.

It'd make sense to me that an app returns StreamNotFound when the app itself
only looks for prerecorded streams or already created live streams even if
you're subscribing through ns.play("stream").


2009/4/18 Mondain <mondain at gmail.com>

> No apology needed. I'll check into the vod vs live and see what else I can
> find out.
> Paul
>
>
> On Fri, Apr 17, 2009 at 8:42 PM, Daniel Rossi <electroteque at gmail.com>wrote:
>
>> I apologise paul, it seems the default is -2 which the server will handle
>> a live stream which is what red5 is doing then ?  However both FMS and Wowza
>> somehow recognise its a VOD file and send the StreamNotFound event but red5
>> doesn't it thinks the file is a live stream if it can't be found.
>> Hopefully thats enough info ?
>>
>>
>> On 18/04/2009, at 6:28 AM, Mondain wrote:
>>
>> Looks like enough to move forward on.. thanks Manuel.
>>
>> On Fri, Apr 17, 2009 at 1:21 PM, Manuel Raña <info at vengava.com> wrote:
>>
>>> You can get it here in parameters section:
>>>
>>> http://livedocs.adobe.com/flex/3/langref/flash/net/NetStream.html#play()<http://livedocs.adobe.com/flex/3/langref/flash/net/NetStream.html#play%28%29>
>>>
>>>
>>>
>>> 2009/4/17 Mondain <mondain at gmail.com>
>>>
>>> Hmm, can you research and get the definitive answer? I will definitely be
>>>> glad to add it to the codebase. I just don't have time to look it up myself
>>>> atm.
>>>> Paul
>>>>
>>>> On Fri, Apr 17, 2009 at 10:13 AM, Daniel Rossi <electroteque at gmail.com>wrote:
>>>>
>>>>> play(name, -2) or play(name, -1) , triggers a live request usually
>>>>> correct ? play(name) is for VOD by default. play(name,0) red5 requires this.
>>>>>
>>>>> On 18/04/2009, at 2:58 AM, Mondain wrote:
>>>>>
>>>>> I personally have wanted to fix that vod vs live logic for awhile but
>>>>> I'm not sure about the best approach. Is a call to play(name) only for vod
>>>>> requests?
>>>>> Paul
>>>>>
>>>>> On Fri, Apr 17, 2009 at 5:21 AM, Daniel Rossi <electroteque at gmail.com>wrote:
>>>>>
>>>>>> I had bought this up years ago but had worked around this by doing
>>>>>> play(name,0). I have now ported my custom video player to flowplayer with
>>>>>> some custom plugins and it connects like play(name), which initiates a VOD
>>>>>> stream fine with FMS and Wowza and both servers return StreamNotFound.
>>>>>> However in Red5's case, if i call play(name) instead of play(name,0), if the
>>>>>> VOD cannot be found it will treat it like a live stream and sit there
>>>>>> waiting for that stream and never return StreamNotFound.
>>>>>>
>>>>>> Can we get that happening at all ?
>>>>>>
>>>>>> _______________________________________________
>>>>>> Red5 mailing list
>>>>>> Red5 at osflash.org
>>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> http://gregoire.org/
>>>>> http://osflash.org/red5
>>>>>  _______________________________________________
>>>>> Red5 mailing list
>>>>> Red5 at osflash.org
>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Red5 mailing list
>>>>> Red5 at osflash.org
>>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> http://gregoire.org/
>>>> http://osflash.org/red5
>>>>
>>>> _______________________________________________
>>>> Red5 mailing list
>>>> Red5 at osflash.org
>>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Red5 mailing list
>>> Red5 at osflash.org
>>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>>
>>>
>>
>>
>> --
>> http://gregoire.org/
>> http://osflash.org/red5
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>>
>> _______________________________________________
>> Red5 mailing list
>> Red5 at osflash.org
>> http://osflash.org/mailman/listinfo/red5_osflash.org
>>
>>
>
>
> --
> http://gregoire.org/
> http://osflash.org/red5
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/red5_osflash.org/attachments/20090418/841159f7/attachment.html>


More information about the Red5 mailing list