Expand my Community achievements bar.

SOLVED

Webcam

Avatar

Level 2

I got a very simple question.  I am building a chat web app that allows only 5 people at a time in a room using Player 10 API for Flex. Now, I'm having a problem displaying webcams of everyone who is logged in.  Only one (my) camera shows up.  How can I show everyone's camera?

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

That’s strange. Can you send us a code snippet ? Are you doing using the webcamsubscriber correctly ? If you are using windows machine and all 5 instances are opened from one machine and you share, the player will take only one camera stream from one machine.

If that’s the case, open instances from different machines( which is the real life use case) or use a mac and it should be fine.

For test, can you run the defaultPods example in simpleApp that has WebCamera component from 5 different machines, share camera from each and let us know. If it still doesn’t work. Send me the code.

Thanks

Hironmay Basu

View solution in original post

2 Replies

Avatar

Correct answer by
Former Community Member

That’s strange. Can you send us a code snippet ? Are you doing using the webcamsubscriber correctly ? If you are using windows machine and all 5 instances are opened from one machine and you share, the player will take only one camera stream from one machine.

If that’s the case, open instances from different machines( which is the real life use case) or use a mac and it should be fine.

For test, can you run the defaultPods example in simpleApp that has WebCamera component from 5 different machines, share camera from each and let us know. If it still doesn’t work. Send me the code.

Thanks

Hironmay Basu

Avatar

Level 2

Thanks.  It worked on multiple machines

The following has evaluated to null or missing: ==> liqladmin("SELECT id, value FROM metrics WHERE id = 'net_accepted_solutions' and user.id = '${acceptedAnswer.author.id}'").data.items [in template "analytics-container" at line 83, column 41] ---- Tip: It's the step after the last dot that caused this error, not those before it. ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign answerAuthorNetSolutions = li... [in template "analytics-container" at line 83, column 5] ----