Avatar billede globulous Nybegynder
17. september 2004 - 12:35 Der er 3 kommentarer og
1 løsning

FCS: individual streams in, one multicast room to show them in.

Ok, Heres how I understand this to work. Please let me know if it makes sense and if you have any code examples or tutorial links for this kind of thing that would be super!

Lets say I make an swf with embedded video on the stage called "video_in". The simplified AS is as such:
//
client_cam = Camera.get();
client_mic = Microphone.get();
video_in.attachVideo(client_cam);


/*
then I would need to make some kind of call to the app will run it say: "video_app" (what does that code look like?)

then somehow in the server side video_app main.asc code I need to attach this video feed to a sharedObject right??
*/

.
.
Then I make a second swf called "video_out" (my swf for multicast).
It calls to the video_app, locates its sharedObject (via a common URI??) and finds out how many clients are connected to it, attaches as many embedded videos and needed and simply streams each clients live video back out through each embedded video.

Does this make sense?
Avatar billede nikolajdu Nybegynder
17. september 2004 - 12:47 #1
Avatar billede globulous Nybegynder
17. september 2004 - 13:10 #2
Well I like the code anyway, and now it looks like Im gonna be installing central which is free. This example is pretty close to what I want to do. If you look at
http://www.macromedia.com/devnet/central/articles/vchat_02.html
in my app, i want the "users list" shown here to be streaming video clips of the people currently streaming (maybe just 3 at a time with a button to advance to the next 3). When the user finds a person to chat with, he clicks on that person and then comes to the one on one chat. This is a pretty essential detail in my client's vision of this app, so I really need to know how to get the actual streams to multicast. Ive seen www.collab.nl for example, but they use all components (which kinda bugs me). THen there is www.chatbugs.com...only hes running all that in an especially supernerd fasion that Im a bit afraid to unearth. I'd love to figure out how to get each of those clients associated with the sharedObject to stream video instead of just text.
Avatar billede nikolajdu Nybegynder
20. oktober 2004 - 10:10 #3
you should close this question :))
Avatar billede globulous Nybegynder
20. oktober 2004 - 11:49 #4
sorry
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester