File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed
src/BootstrapBlazor.Server/Components/Samples Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 88
99<Tips class =" mt-3" >
1010 <p >JitsiMeet是一个开源的WebRTC会议程序,可以自托管安装也可以使用官方的托管服务(免费计划为25MAU),此组件仅为JitsiMeet的客户端程序,不含服务端。</p >
11+ <p >默认的测试会议仅支持5分钟的会议,并且主持人需要登录。子托管以及官方托管服务不需要。</p >
1112</Tips >
1213
13- <DemoBlock Introduction =" 使用JitsiMeet创建会议室,支持执行命令,支持OnLoad回调。例子中隐藏了内置的邀请程序,无法在会议中找到邀请链接" Title =" 使用JitsiMeet创建会议室" Name =" Normal" >
14+ <DemoBlock Introduction =" 使用JitsiMeet创建会议室,支持执行命令,支持OnLoad回调(meet.jit.si不会触发回调也不会响应命令,请使用8x8.vc或子托管域名测试) 。例子中隐藏了内置的邀请程序,无法在会议中找到邀请链接。 " Title =" 使用JitsiMeet创建会议室" Name =" Normal" >
1415 <Button OnClick =" RunCommand" >执行命令</Button >
15- <Meet @ref =" Meet" Option =" @Option" Domain =" meet.jit.si" OnLoad =" OnLoad" ></Meet >
16+ <div class =" row g-3" >
17+ <div class =" col-6" >
18+ <BootstrapInput @bind-Value =" Domain" DisplayText =" 服务器地址" ShowLabel =" true" ></BootstrapInput >
19+ </div >
20+ <div class =" col-6" >
21+ <BootstrapInput @bind-Value =" RoomName" DisplayText =" 会议室名称" ShowLabel =" true" ></BootstrapInput >
22+ </div >
23+ </div >
24+ <Meet @ref =" Meet" Option =" @Option" Domain =" @Domain" OnLoad =" OnLoad" ></Meet >
1625</DemoBlock >
Original file line number Diff line number Diff line change @@ -9,11 +9,20 @@ public partial class Meets : ComponentBase
99
1010 private Meet ? Meet { get ; set ; }
1111
12+ private string Domain { get ; set ; } = "meet.jit.si" ;
13+
14+ private string ? RoomName { get ; set ; } = "BootstrapBlazor" ;
15+
16+ private bool IsDisable { get ; set ; } = true ;
17+
18+ /// <summary>
19+ /// <inheritdoc />
20+ /// </summary>
1221 protected override void OnInitialized ( )
1322 {
1423 base . OnInitialized ( ) ;
1524 Option = new MeetOption ( ) ;
16- Option . RoomName = "BootstrapBlazor" ;
25+ Option . RoomName = RoomName ;
1726 Option . Width = "100%" ;
1827 Option . Height = 700 ;
1928 Option . ConfigOverwrite = new
You can’t perform that action at this time.
0 commit comments