How to programmatically switch the smart client view form live to playbak?
See VideoOS.Platform.Messaging.MessageId.SmartClient Class Reference
-
“SmartClient.ChangeModeCommand” or “SmartClient.ChangeWorkSpaceStateCommand”
Ref. VideoOS.Platform.ClientControl Class Reference
-
LiveBuildInWorkSpaceId = new Guid(“B8C936BF-815D-4D5D-BAAF-1CEAFC7428C0”)
PlaybackBuildInWorkSpaceId = new Guid(“DA486915-863C-4ECE-B301-5FC7FD80A2B0”)
Hi Bo,
Can you provide more details on how these two GUIDs:
LiveBuildInWorkSpaceId and PlaybackBuildInWorkSpaceId
Can be used to perform tab switching between Live and Playback mode?
I have no idea how can I use them.
I tried both SmartClient.ChangeModeCommand and
SmartClient.ChangeWorkSpaceStateCommand in VideoOS.Platform.Messaging.MessageId.SmartClient Class,
The following code snippet shows my functions to change the mode.
I guess I’m missing the destination FQID for the EnvironmentManager.Instance.SendMessage(…); function.
May I know how can I get it?
private void ChangeToLiveMode(object sender, EventArgs e)
{
VideoOS.Platform.Messaging.Message
message = new VideoOS.Platform.Messaging.Message(
MessageId.SmartClient.ChangeModeCommand, Mode.ClientLive);
EnvironmentManager.Instance.SendMessage(message, null);
}
private void ChangeToPlaybackMode(object sender, EventArgs e)
{
VideoOS.Platform.Messaging.Message
message = new VideoOS.Platform.Messaging.Message(
MessageId.SmartClient.ChangeModeCommand, Mode.Playback);
EnvironmentManager.Instance.SendMessage(message, null);
}
I have tried the solution as mentioned in the following post, but it’s not working.
Please see the Smart Client View and Windows tool plugin sample. The Workspace tab.
PS. Please do not reuse very old questions in the forum but create new questions. Using new threads/questions will also ensure that the questions does not get lost and has very long answer times.