[Red5] Voice Chat problem: .publish() works only once
adamiak at gmail.com
Wed Nov 21 04:43:09 PST 2007
Hi. I'm writing a kind of voice chat where all users in a "room" do (on
their flash client)
but exactly one of them does:
which sends only sound from his microphone (video is disabled).
So one user is speaking, and all the other listen to him. When a user
notifies he stopped speaking, someone else begins publishing, etc.
Everything worked fine with red5-0.6.2, but as soon as I've upgraded to
red5-0.6.3, some strange error occurs. Only the first call to "publish()"
works, but any next calls to publish() cause no sound to be actually
transmitted - no matter if .publish() is called by the same user, or any
other one that has been formerly play()'ing.
What is even more strange, is that when amount of users in a room increases
(i.e. a new person starts play()'ing the stream), then the .publish() works
again (for anyone), but again - only once. No subseqent calls to publish()
transmit sound, until amount of users subscribed to the stream increases.
Right now I stick to 0.6.2, but I would be extremely grateful if anyone
could give me a hint what I'm doing wrong.
Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Red5