Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Webcampublisher error - flash 10

Avatar

Former Community Member

I get the following error when logging is a guest (with auto-promote users set on the room via the Room Console)

You don't have permission to configure roles on this stream.

at com.adobe.rtc.collaboration::WebcamPublisher/publish()[C:\work\main\connect\SDKApp\payload\libs\flashOnly\player10\src\com\adobe\rtc\collaboration\WebcamPublisher.as:715]

Shouldn't a guest with userrole 50 be able to publish webcam streams ?

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

I tried the scenario you mentioned, and the users were able to publish webcam streams. Can you post ur code, or double check the room settings.

Also can you trace if the user is actually being promoted using session.userManager.myUserRole where session is your ConnectSession.

Also you can double check your code with code posted in this example. http://blogs.adobe.com/arunpon/2009/11/simple_lccs_collaborative_app.html

Thanks

Arun

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

Hi,

I tried the scenario you mentioned, and the users were able to publish webcam streams. Can you post ur code, or double check the room settings.

Also can you trace if the user is actually being promoted using session.userManager.myUserRole where session is your ConnectSession.

Also you can double check your code with code posted in this example. http://blogs.adobe.com/arunpon/2009/11/simple_lccs_collaborative_app.html

Thanks

Arun

Avatar

Former Community Member

Hi,

In this case, it appears you're passing a publisherID to the publish()

method - this means you're pushing someone else start publishing. Our error

message in this case is comically deficient (looks as though it was

copy-pasted from somewhere else). The problem is that only an OWNER is

allowed to push other users to publish their streams. Just don't pass any

arguments to the publish() method, and it will just publish your own stream

- that should work.

As a side note, we discovered that you can't even pass your OWN userID to

this method (it still goes through the security check). So we're fixing that

for the next build and improving that crazy error message.

hope that helps

nigel

Avatar

Former Community Member

Thanks both of you.

You're right, Nigel. It works when I don't pass my user ID

Thanks