Hello Susheel,

you need editRecordStreamSWF10.lzx

initItemsAndDefaultAttachCamera method

code:
if (availableSettings.getItem(avstored) != null) {
availableSettings.selectItem(avstored);
} else {
availableSettings.selectItemAt(0);
}

line: "availableSettings.selectItemAt(0);" need to be replaced

you need to "remember" index for
"availableSettings.addItem(canvas.getLabelName(450), "v");" and select it
as default


On Sun, Feb 28, 2016 at 5:00 PM, Susheel Jalali <susheel.jal...@coscend.com>
wrote:

> Dear OpenMeetings Developers,
>
> We would like to modify certain options in the "Choose devices" dialog box.
>
> Which file or database tables contain the data and ordering/default
> control for the entries  "Audio and video", "Audio only", "Video only",
> "Static image"?
>
> The following file has a method " initItemsAndDefaultAttachCamera()":
> ~/openmeetings/WebContent/swf10/video/editRecordStreamSWF10.lzx
>
> In this method, we are able to change the order in which the listbox
> dropdown options are added, and it works i.e. they are now shown in the new
> order.
>
> However, we would like to control which option is chosen as the default
> option e.g.  "Video Only". Even if both Audio and Video (camera) are found
> as detected, can we control the chosen default as "Audio only"?  Which
> file/ class/ method should we look into for that?
>
> The following file does not control or define this:
>       ~/openmeetings/WebContent/swf10/video/changeDevice.lzx
>
> We understand that Web camera resolutions are defined in "config.xml".
>
> Sincerely,
>
> Susheel Jalali
> Coscend Communications Solutions
> www.Coscend.com
> ----------------------------------------------------------------
>
> CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail
> Messages from Coscend Communications Solutions' posted at:
> http://www.Coscend.com/Terms_and_Conditions.html
>



-- 
WBR
Maxim aka solomax

Reply via email to