Wowza Community

Wowza/Flex AV Chat example

Thanks it does work you are very kind :slight_smile:

I ask because when I speak in the voice goes to two shots you can change values ​​by decreasing the video and increasing the voice

You can integrate text chat?

Thanks Thanks

Hello, I am still me … help

Thanks for help but I can not enter txtchat avchat

You can do a single mxml file txtchat avchat with a single connection using publishname

Thank you for your kindness

Hello I have a problem, I formatted the Wowza server I connect to a chat uesrs connected but do not see anyone even if I click on play

Sorry but I copied the jar file I rebooted Wowza server, but I do not see the user connected Wowza servers.

because???

Thanks and sorry again

Configure logging: file:///C:/Program Files/Wowza Media Systems/Wowza Media Serv

er 2.2.3/conf/log4j.properties

INFO server server-start Wowza Media Server 2 Developer 2.2.3 build26454 -

INFO server comment - Serial number: XXXXX-XXXXX-XXXXX-XXXXX-GAVYA

INFO server comment - Maximum connections: 10

INFO server comment - Hardware Available Processors: 2

INFO server comment - Hardware Physical Memory: 377MB/1023MB

INFO server comment - Hardware Swap Space: 2105MB/2473MB

INFO server comment - Max File Descriptor Count: Unlimited

INFO server comment - OS Name: Windows 2003

INFO server comment - OS Version: 5.2

INFO server comment - OS Architecture: x86

INFO server comment - Java Name: Java HotSpot™ Client VM

INFO server comment - Java Vendor: Sun Microsystems Inc.

INFO server comment - Java Version: 1.6.0_24

INFO server comment - Java VM Version: 19.1-b02

INFO server comment - Java Spec Version: 1.6

INFO server comment - Java Home: C:\Program Files\Java\jre6

INFO server comment - Java Max Heap Size: 742MB

INFO server comment - Java Architecture: 32

INFO server comment - Java Encoding[file.encoding]: Cp1252

INFO server comment - Java Args[0]: -Xmx768M

INFO server comment - Java Args[1]: -Dcom.sun.management.jmxremote=true

INFO server comment - Java Args[2]: -Dcom.wowza.wms.AppHome=C:\Program

INFO server comment - Java Args[3]: Files\Wowza

INFO server comment - Java Args[4]: Media

INFO server comment - Java Args[5]: Systems\Wowza

INFO server comment - Java Args[6]: Media

INFO server comment - Java Args[7]: Server

INFO server comment - Java Args[8]: 2.2.3

INFO server comment - Java Args[9]: -Dcom.wowza.wms.ConfigURL=

INFO server comment - Java Args[10]: -Dcom.wowza.wms.ConfigHome=C:\Program

INFO server comment - Java Args[11]: Files\Wowza

INFO server comment - Java Args[12]: Media

INFO server comment - Java Args[13]: Systems\Wowza

INFO server comment - Java Args[14]: Media

INFO server comment - Java Args[15]: Server

INFO server comment - Java Args[16]: 2.2.3

INFO server comment - Java GC[0]: Copy

INFO server comment - Java GC[1]: MarkSweepCompact

INFO server comment - Server threads[h/t]: 10/10

INFO server comment - CMDInterface now listening: [any]:8083

INFO vhost vhost-start defaultVHost -

INFO server comment - defaultVHost threads[h/t]:120/80 home:C:\Program Files\W

owza Media Systems\Wowza Media Server 2.2.3

INFO vhost comment defaultVHost Bind attempt ([any]:1935:4)

INFO vhost comment defaultVHost Bind successful ([any]:1935)

INFO vhost comment defaultVHost Bind attempt ([any]:8086:1)

INFO vhost comment defaultVHost Bind successful ([any]:8086)

INFO server comment - Wowza Media Server is started!

ERROR server comment - loadModFunctions: java.lang.ClassNotFoundException: com.w

owza.wms.example.module.AVChat

java.lang.ClassNotFoundException: com.wowza.wms.example.module.AVChat

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at com.wowza.wms.util.ModuleUtils.addModuleToApp(Unknown Source)

at com.wowza.wms.util.ApplicationUtils.loadModules(Unknown Source)

at com.wowza.wms.util.ApplicationUtils.loadConfigFile(Unknown Source)

at com.wowza.wms.application.ApplicationInstance.loadConfig(Unknown Sour

ce)

at com.wowza.wms.application.ApplicationInstance.(Unknown Source)

at com.wowza.wms.application.Application.getAppInstance(Unknown Source)

at com.wowza.wms.module.ModuleConnect.connect(Unknown Source)

at com.wowza.wms.request.RequestProcessFunctions.processFunctions(Unknow

n Source)

at com.wowza.wms.request.RTMPRequestAdapter.service(Unknown Source)

at com.wowza.wms.server.ServerHandler.serviceRequest(Unknown Source)

at com.wowza.wms.server.ServerHandler.handleMessageReceived(Unknown Sour

ce)

at com.wowza.wms.server.ServerHandler.messageReceived(Unknown Source)

at com.wowza.wms.server.ServerHandlerThreadedSession.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source

)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)

INFO application app-start definst avchat/definst

INFO session connect-pending 10.11.12.13 -

INFO session connect 10.11.12.13 -

INFO stream create - -

INFO stream publish sss -

INFO stream unpublish sss -

INFO stream destroy sss -

INFO session disconnect 1626413968 -

INFO application app-stop definst avchat/definst

Thanks I solved the problem but because I get this error?

And if I try to connect tells me connection closed

C:\flex\bin>mxmlc Avchat.mxml

Loading configuration file C:\flex\frameworks\flex-config.xml

C:\flex\bin\com\wowza\encryptionAS3\TEA.as(57): col: 15 Warning: variable ‘p’ no

n contiene una dichiarazione di tipo.

for (var p = 0; p < n; p++) {

^

C:\flex\bin\com\wowza\encryptionAS3\TEA.as(92): col: 15 Warning: variable ‘p’ no

n contiene una dichiarazione di tipo.

for (var p = n-1; p >= 0; p–) {

^

C:\flex\bin\AVChat.swf (272030 bytes)

Hello all ok because you have been kind

thanks

Hey rrlanham, thanks for this nice example

I got it running and it s doing fine, however, it seems i can’t have a list of the current connected users.

It was written somewhere that it was supposed to display users name (instead of clientId) but to do so there would need to be something like a login box, no ? I guess i m missing something there !

Publish this code on github.com, please!

Hi Richard

After downloading your source set all files according your README.HTML in wowza server.suppose user1 pulish user1stream(streamname) and after this user2 publish user2stream(streamname).then in user1 side user1

show two stream user1stream and user2stream in listboxes.But video and microphone will play for user1stream not user2stream as user1 first publishes.

main problem is— stream which first publishes work for video and microphone.but other publishes stream not work for video and audio.

its very urgent…please help asap

There is a .jar file included with this example. Make sure you have have copied that to your Wowza /lib folder, and added the Module to the Application.xml, and re-started Wowza. Then each user should see the stream the other has published.

Richard

Hi rechard

Thanks for reply.need your help.

we have done everythings which are mentioned you.but this problem means— video and audio play for one stream which published first but video and audio does not play for other stream

means the problem

Lets suppose with user1 and user2. If user1 1st publish the a steam " steam1" and user2 publish another steam is “steam2”. But now if user2 select the user1 steam “steam1” then he/she can able to see the user1 video/audio and his own video. But user1 who 1st the create the steam he never see the user2 video/audio he(user1) .

please help…

Hi Rechard

Please help us… please check http://navsoft.co.in:8088/client/avchat.html

you show the problem

we use rtmp address – rtmp://navsoft.co.in/avchat

is it wrong??

It didn’t load for me. I’m not sure what the problem could be. It is an as-is example. If you want to extend it and do not know Flash/Flex (Actionscript 3) you will have to look for a Flash and Wowza developer. We have a list of independent consultants that you can get by sending request to support@wowza.com

Richard

Hi Richard

Thanks for reply.also we contact support@wowza.com through mail

but facing one problem when publish stream by 2nd user,3rd user…

after stopping wowza server if we run bin/startup.bat in command prompt.then for publishing stream by user1 no licensing issue but for publishing stream by user2,user3… having licensing issue

issues are for user2,user3… Licensing[avchat/definst/guest_196964007]*** licence limit for publishing streams

publishing streams are stopped…

What, this old Flex example? It’s here for free.

Richard

Excuse me, could you renew the link for download the video chat example sources, please, current link doesn’t work. Thank you!

Richard, could i ask you to inform me by email kyyz9l@yandex.ru, if you will find this example, as soon as it possible. It very necessary for me. Thank you very much!!

Thank you very much!!!

rrlanham,

I can’t download this archive: http://dotnet.lakesidetechnical.com/wowza/avchat/avchat.zip

Can you reload this archive?

can you re-explain what I need to try this application with computer 1 and computer 2 ?

and can you help me to do a live video chat application (1 <-> many)?

.Urgent thank you!

can you re-explain what I need to try this application with computer 1 and computer 2 ?

and can you help me to do a live video chat application (1 <-> many)?

.Urgent thank you!]

cool ,where to see your attachment?

Hi Jaime,

Attached is the file that Richard was referring to.

Michelle

avchat.zip