feat: align legacy operator and playout behavior

This commit is contained in:
2026-07-15 21:04:05 +09:00
parent 06a16e5741
commit 83398044c6
77 changed files with 6377 additions and 391 deletions

View File

@@ -325,7 +325,7 @@ public sealed class DynamicK3dSessionTests
"GetScenePlayerOnChannel:9",
"LoadScene:test-scene",
"SetOutputChannelIndex:9",
"SetSceneEffectType:1:7:12",
"SetSceneEffectType:10:7:12",
"BeginTransaction",
"GetObject:headline",
"SetValue:headline:safe value",
@@ -360,12 +360,12 @@ public sealed class DynamicK3dSessionTests
[
new PlayoutUseBackground(true),
new PlayoutSetBackgroundTexture("Video/background.vrv"),
new PlayoutSetBackgroundVideo("Video/background.vrv", 2, true),
new PlayoutSetBackgroundVideo("Video/background.vrv", 2, 10),
new PlayoutSetValue("headline", "value"),
new PlayoutSetBackgroundVideo(
"Video/background.vrv",
3,
true,
1,
PlayoutMutationTiming.InTransaction),
new PlayoutSetAssetValue("badge", "Images/badge.png"),
new PlayoutSetVisible("badge", false),
@@ -406,10 +406,10 @@ public sealed class DynamicK3dSessionTests
{
"LoadScene:test-scene",
"SetOutputChannelIndex:9",
"SetSceneEffectType:1:7:4",
"SetSceneEffectType:10:7:4",
"UseBackground:1",
"SetBackgroundTexture:background.vrv",
"SetBackgroundVideo:background.vrv:2:1",
"SetBackgroundVideo:background.vrv:2:10",
"BeginTransaction",
"GetObject:headline",
"SetValue:headline:value",
@@ -469,16 +469,16 @@ public sealed class DynamicK3dSessionTests
"test-scene.t2s",
"test-scene",
[new PlayoutField("headline", "page two", true)],
FadeDuration: 59,
FadeDuration: 19,
Mutations:
[
new PlayoutUseBackground(false),
new PlayoutSetBackgroundTexture("Video/background.vrv"),
new PlayoutSetBackgroundVideo("Video/background.vrv", 4, true),
new PlayoutSetBackgroundVideo("Video/background.vrv", 4, 10),
new PlayoutSetBackgroundVideo(
"Video/background.vrv",
8,
true,
1,
PlayoutMutationTiming.InTransaction),
new PlayoutSetVisible("badge", false)
]));
@@ -516,7 +516,7 @@ public sealed class DynamicK3dSessionTests
{
"UseBackground:0",
"SetBackgroundTexture:background.vrv",
"SetBackgroundVideo:background.vrv:4:1",
"SetBackgroundVideo:background.vrv:4:10",
"BeginTransaction",
"GetObject:headline",
"SetValue:headline:page two",
@@ -774,6 +774,7 @@ public sealed class DynamicK3dSessionTests
scene.QueryVariablesFailure = null;
session.TakeOut(options.LayoutIndex, PlayoutTakeOutScope.All);
Assert.True(session.HasPendingTakeOutCallbacks);
callbacks.Fire("OnStopAll", 1);
Assert.Equal(
1,
@@ -847,6 +848,7 @@ public sealed class DynamicK3dSessionTests
1,
session.ProcessPendingCallbacks(options.LayoutIndex).UnloadedSceneCount);
Assert.False(session.HasPendingLifecycleCallbacks);
Assert.False(session.HasPendingTakeOutCallbacks);
session.Disconnect();
return true;
},
@@ -1300,7 +1302,7 @@ public sealed class DynamicK3dSessionTests
"KTAPConnect:1:127.0.0.1:30001:0",
"GetScenePlayer",
"LoadScene:test-scene",
"SetSceneEffectType:1:7:12",
"SetSceneEffectType:10:7:12",
"BeginTransaction",
"QueryVariables",
"EndTransaction",