Link to home
Start Free TrialLog in
Avatar of JessyEzzy
JessyEzzy

asked on

Automatically start video broadcasting

My question is concerning the Flash Comunication Server, I am creating a chat web application using the communication components of the flash communication server, my question is about the AVPresence component that lets you send and receive audio and video within your application, in order for the user to start audio/video broadcasting he has to click (Send Audio/Video) on the component, I don't want this to happen, I want that when the user browses to the page that contain the chat application , the audio/video broadcasting is started automatically without requireing him to manually start it.

here is how the chat application is supposed to look like:
http://www.macromedia.com/devnet/mx/flashcom/articles/first_comm_app.html

Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of negatyve
negatyve

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JessyEzzy
JessyEzzy

ASKER

Ok, i'll give it a try and tell you the results, but just give me a day cos I have problems with my camera, i'll have to buy another one.

Thanks.
Take your time.. :)
hello, I'm back
I can't find a startPublish method in the list of methods of the avp instance, the methods start with attachVideo and end with useHandCursor.

I have only one frame that contain all other components, I followed exactly the same steps in the url I mentionned in the first comment.

I am sorry but I am new to flash, and I don't know if I should place this line of code in this only frame or should I edit the component or something, but there is a lot of code appears when I edit it, I don't know where to add this line.

Thanks.
>and I don't know if I should place this line of code in this only frame

yes, in the same frame where the component is, not inside it
ok, when i've added the line, but I recieve the privacy message:
"Allow local to access your camera & microphone"
                        Allow/Deny

This message must appear, cos it's according to each user's setting, correct?
Or can it be removed and the video starts without having to allow first?

Thanks.
Thanks negatyve for your help, it's working fine.
I have another question concerning the video components, I will post it in a separate question.
Looking forward for more help from you :)

Thanks.

P.S. forget about the last comment today, it was stupid to ask, ofcousre the message has to appear.