Go Live no longer requires YouTube connection; auth stays optional enhancement
This commit is contained in:
@@ -77,7 +77,7 @@ public class MainViewModel : ViewModelBase
|
|||||||
}
|
}
|
||||||
|
|
||||||
public bool ShowConnect => !IsYouTubeConnected;
|
public bool ShowConnect => !IsYouTubeConnected;
|
||||||
public bool ShowGoLive => IsYouTubeConnected && IsOffline;
|
public bool ShowGoLive => IsOffline;
|
||||||
|
|
||||||
// Commands
|
// Commands
|
||||||
public ICommand AddSceneCommand { get; }
|
public ICommand AddSceneCommand { get; }
|
||||||
@@ -97,7 +97,7 @@ public class MainViewModel : ViewModelBase
|
|||||||
AddSceneCommand = new RelayCommand(_ => AddScene());
|
AddSceneCommand = new RelayCommand(_ => AddScene());
|
||||||
RemoveSceneCommand = new RelayCommand(scene => RemoveScene(scene as Scene));
|
RemoveSceneCommand = new RelayCommand(scene => RemoveScene(scene as Scene));
|
||||||
ConnectCommand = new RelayCommand(_ => ConnectYouTube());
|
ConnectCommand = new RelayCommand(_ => ConnectYouTube());
|
||||||
GoLiveCommand = new RelayCommand(_ => StartStream(), _ => IsYouTubeConnected && IsOffline);
|
GoLiveCommand = new RelayCommand(_ => StartStream(), _ => IsOffline);
|
||||||
EndStreamCommand = new RelayCommand(_ => StopStream(), _ => IsLive);
|
EndStreamCommand = new RelayCommand(_ => StopStream(), _ => IsLive);
|
||||||
|
|
||||||
// Start with a default scene
|
// Start with a default scene
|
||||||
|
|||||||
Reference in New Issue
Block a user