Hello,
I notice in the samples that WebCamera displays the cam. Is there an easy way of disabling the "Start my camera" button? I wish to control this from the app itself.
<rtc:WebCamera width="65%" height="396" id="webCamPub"/>
I notice in the WebCamera sample that it achieves removing the default "Start my camera" button, by assigning the rtc Webcamera a width and height of 1 and manipulating these through WebCamPublisher class, but I do not see anywhere a "button" = disabled or something similar .
Solved! Go to Solution.
Views
Replies
Total Likes
Hi there,
For situations like this, we highly encourage that you build your own
custom UI using the WebcamPublisher / WebcamSubscriber. It's got all of the
same functionality as the WebCamera pod, but with a LOT more flexibility.
nigel
Views
Replies
Total Likes
I figured out the sample is using WebCamSubscriber, hence the lack of "Start my Camera" button.
Would be neat to be able to disable this via a switch for WebCamera as well.
For now I will try to override the addStartStopBtn function
Views
Replies
Total Likes
Hi there,
For situations like this, we highly encourage that you build your own
custom UI using the WebcamPublisher / WebcamSubscriber. It's got all of the
same functionality as the WebCamera pod, but with a LOT more flexibility.
nigel
Views
Replies
Total Likes
Ok thanks, overriding the addStartStopBtn function fortunately was a piece of cake for the WebCamera class, and that was all I needed.
I notice WebCamera is extremely advanced compared to the simpler webcamsuvscriber stuff.
I try to build on adobe grown material so I can avoid high maintenance costs down the road
Views
Replies
Total Likes
Hi,
You can customize both the functionality and the look and feel of
WebCamera component using the WebcamPublisher and WebcamSubscriber API's
For more information, you can look into WebCamera Sample, or see how the
WebCamera Pod is built in the SDK source.(file WebCamer.as in
src/com/adobe/rtc/pods)
Thanks
Arun
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies