It seems that you will need some sort of central server that acts as a directory for creating and registering names. One idea is to build off an already existing unique namespace, such as email addresses. Maybe have your user enter their email address and use that as the name of the stream?
On 2009-12-01, at 07:25, cem sonmez wrote: > Hi, at first the thing that i m working on look like this : > http://bit.ly/774JJE > when the user (*user1*) clicks the "publish my cam" button, video stream is > being published to the server. Then when another client(*user2*) click the > "show user's cam" button, published stream is beind played on the clients > videoview via calling the stream with the given static name (e.g. > stream1.publish("*broadcastVideo*","live");). But when the users2 also click > the "publish my cam" button, as most of you know > NetStream.Publish.BadName exception > is being thrown bec. of publishing the streams with the same name (* > broadcastVideo*). > > So my questions > > 1- is there any way to give the stream name dynamically > 2- how to determine the published stream names (which is created dynamically > before) when i want to play stream. > > Or another idea how to work out this problem? > > Best regards. > > > -- > Cem SONMEZ
