2

Scripting: ScenePrivate.PlayStream() working?

I'm trying out the new-ish ScenePrivate.PlayStream() method for choosing from one of the 4 "Web audio streams", which you set in Scene Settings:

I'm finding that it never really switches. Here's a snippet of code I'm using:

//int StreamNumber = 1;
int StreamNumber = 2;

try {
// StreamChannel.AudioChannel1 = 11
// StreamChannel.AudioChannel2 = 12
ScenePrivate.PlayStream((StreamChannel) (
10 + StreamNumber
), 0);
} catch (Exception Ex) {
Log.Write("Error switching audio stream: " + Ex.Message);
}

 

8 comments

Please sign in to leave a comment.