Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Calling/CallingQuickstart.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Azure.Communication.Calling">
<Version>1.0.0-beta.33</Version>
<Version>1.0.0-beta.34</Version>
</PackageReference>
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
<Version>6.2.12</Version>
Expand Down
9 changes: 8 additions & 1 deletion Calling/MainPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,19 @@ public sealed partial class MainPage : Page
public MainPage()
{
this.InitializeComponent();
Task.Run(() => this.InitCallAgentAndDeviceManagerAsync()).Wait();
this.Loaded += OnLoadedAsync;

ApplicationView.PreferredLaunchViewSize = new Size(800, 600);
ApplicationView.PreferredLaunchWindowingMode = ApplicationViewWindowingMode.PreferredLaunchViewSize;
}

private async void OnLoadedAsync(object sender, RoutedEventArgs e)
{
this.Loaded -= OnLoadedAsync;

await this.InitCallAgentAndDeviceManagerAsync();
}

private async Task InitCallAgentAndDeviceManagerAsync()
{
var callClient = new CallClient();
Expand Down