[Red5] Again NetStream.Publish.BadName
Alexander Polunochev
a.volume at gmail.com
Wed Nov 14 09:00:08 PST 2007
What is a Provider actually?
What should be returned in this case from bsScope.getProviders() -
when the same client tries to publish the stream with the same name?
And finally what the right way for red5 to pass the publish() method
call further ?
Hi all.
>
> I've lost in starting-closing of the streams and need help.
>
> I have a flash client which makes publishing with attached video to red5
> and
> then (!) for stopping of transmission of the video it substitutes Cam for
> null and publish it again.
> This causes closing of the stream due to NetStream.Publish.BadName error
> (I've made a breakpoint at the server method publish(..,..) and got it
> there). WTF ?
>
> That code from StreamService.java:
> ...
> IBroadcastScope bsScope = getBroadcastScope(scope, name);
> if (bsScope != null && !bsScope.getProviders().isEmpty()){
> /// BadName situation "generation"
> }
> ...
>
> How it could get there? I can't imagine.
>
> -----
> Maybe it's a wrong way to interrupt broadcasting, but I need that stream
> to
> stay alive (when switching between different members in chat-application).
>
> Any ideas ?
>
> Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071114/aa32591e/attachment.html
More information about the Red5
mailing list