ShowCameraDialog BasicButton
<!-- Dialog with available camera settings is displayed. User can chose between several options. When clicking OK live stream is published and played in all videoplayers with specific stream uid. --> <SkinObject><Type>BasicButton</Type> <Name>ButtonStartStreaming</Name> <Visible>true</Visible> <!-- When user clicks the button - select camera dialog is shown. User can select one streaming option - see bellow. --> <OnClick> <Action>ShowDialog_SelectCamera</Action> <!-- If AutoShowDialog property is true, then dialog is shown automatically. This feature is very useful for dynamic skinning and also if developer wants to display dialog immediately after application is started. You can use special value true_AutoSelectDefault to speed up selection. --> <AutoShowDialog>true_AutoSelectDefault</AutoShowDialog> <StreamingConfiguration> <!-- Name of the stream. This name is very important, because it is used later in VideoPlayer component to play live online stream. --> <StreamName>Stream1</StreamName> <!-- Special option called NoCamera --> <AVOption_NoCamera>true</AVOption_NoCamera> <!-- AVOption section can repeat as many times as developer wants it. User can select just one. AVOption contains complete information about stream quality, compression and necessary bandwidth. --> <AVOption> <!-- Title - short text representation for this option --> <Title>Standart configuration</Title> <!-- longer description --> <Description> Standart configuration 320x240 pixels, 10 FPS, high quality, audio 32kbps. </Description> <!-- Is this video option selected as default? Only one AVOption can be default. --> <IsDefault>false</IsDefault> <!-- Audio setup --> <Audio> <!-- audio kbitrate --> <Kbitrate>32</Kbitrate> <!-- silence level, number in interva from 0 to 100 --> <SilenceLevel>5</SilenceLevel> </Audio> <!-- Video setup --> <Video> <!-- Resolution of the video which will be broadcasted to the world --> <Resolution> <Width>320</Width> <Height>240</Height> </Resolution> <!-- Video kbitrate --> <Kbitrate>320</Kbitrate> <!-- Frames per second --> <FPS>10</FPS> <!-- quality min value 10, max value 100 --> <Quality>80</Quality> <!-- When the key frame appears in outgoing video stream --> <KeyFrameInterval>30</KeyFrameInterval> </Video> </AVOption> <AVOption> <!-- Small text representation for this option --> <Title>Good configuration</Title> <!-- longer description --> <Description> Standart configuration 320x240 pixels, 24 FPS, high quality, audio 32kbps. </Description> <!-- only one configuration should be default --> <IsDefault>true</IsDefault> <!-- audio setup --> <Audio> <!-- kbitrate --> <Kbitrate>32</Kbitrate> <!-- silence mode, number in interva from 0 to 100 --> <SilenceLevel>5</SilenceLevel> </Audio> <!-- video setup --> <Video> <!-- Resolution in which user will be broadcasted to the world --> <Resolution> <Width>320</Width> <Height>240</Height> </Resolution> <!-- kbitrate --> <Kbitrate>450</Kbitrate> <!-- frames per second --> <FPS>24</FPS> <!-- quality min value 10, max value 100 --> <Quality>95</Quality> <!-- when the key frame appears --> <KeyFrameInterval>30</KeyFrameInterval> </Video> </AVOption> <AVOption> <!-- Small text representation for this option --> <Title>Extra configuration</Title> <!-- longer description --> <Description> Standart configuration 400x300 pixels, 24 FPS, high quality, audio 32kbps. </Description> <!-- only one configuration should be default --> <IsDefault>false</IsDefault> <!-- audio setup --> <Audio> <!-- kbitrate --> <Kbitrate>32</Kbitrate> <!-- silence mode, number in interva from 0 to 100 --> <SilenceLevel>5</SilenceLevel> </Audio> <!-- video setup --> <Video> <!-- Resolution in which user will be broadcasted to the world --> <Resolution> <Width>400</Width> <Height>300</Height> </Resolution> <!-- kbitrate --> <Kbitrate>550</Kbitrate> <!-- frames per second --> <FPS>24</FPS> <!-- quality min value 10, max value 100 --> <Quality>95</Quality> <!-- when the key frame appears --> <KeyFrameInterval>30</KeyFrameInterval> </Video> </AVOption> </StreamingConfiguration> </OnClick> <Position> <Left>250</Left> <Top>100%-45</Top> <Width>100</Width> <Height>36</Height> </Position> <LookAndFeel> <!-- Button design --> <Images> <NormalImage>./skin/images/startstreaming_btn_01.png</NormalImage> <OverImage>./skin/images/startstreaming_btn_02.png</OverImage> <DownImage>./skin/images/startstreaming_btn_03.png</DownImage> </Images> <!-- alpha value between 0..1 --> <AlphaBlend>1</AlphaBlend> <!-- Could be one of the following values http://www.google.cz/#q=flash.display.blendmode --> <BlendMode>normal</BlendMode> <!-- color transformation --> <ColorTransform> <Color redMultiplier="0.1" greenMultiplier="0.5" blueMultiplier="0.8" alphaMultiplier="1" redOffset="128" greenOffset="128" blueOffset="128" alphaOffset="0" /> <!-- <Color brightness="0" tintColor="0xFF000000" tintMultiplier="0" /> --> </ColorTransform> </LookAndFeel> </SkinObject>
Latest news (source CNN):

