Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

webcamPublisher.isPublishing unreliable


Level 2

Another bug report, unless I'm understanding this property wrong.


                              protected function cameraToggleBtn_clickHandler(event:MouseEvent):void


                                        if (!webCamPub.isPublishing){

                                                  webCamPub.connectSession = cSession;







Here's the scenario:

  1. Click a button (to turn on the webcam)
  2. Call WebcamPublisher.publish() from the event handler
  3. Webcam turns on (I see a green light on my laptop) and I see myself on stream
  4. Click the button again with a breakpoint at webcamPublisher.isPublishing
  5. Still returning false, unable to get to the stop(); portion of the else block
1 Reply


Level 2

Forgot to add, I'm using the spark_lccs swc (in case it matters)