@@ -368,6 +368,11 @@ Value `0` to `1`
368
368
- rename scene or source
369
369
- * Example:* ` /rename "Audio" "NewAudio" ` will change the source named "Audio" to "NewAudio"
370
370
371
+ ## ** - Send Closed Captions -**
372
+ *** ` /sendCC [text] ` **
373
+ - Send the text as embedded CEA-608 caption data
374
+ - * Example:* ` /sendCC "Hello world." ` will send "Hello world." as an embedded closed caption
375
+
371
376
## ** ~ Editing Commands While Selected in OBS: ~ **
372
377
#
373
378
* Mainly used for ** [ TouchOSC] ( https://hexler.net/products/touchosc ) ***
@@ -469,11 +474,6 @@ Use the following setup for `/scene` command for a *push button* in TouchOSC Edi
469
474
470
475
In OSC for OBS use the following setup:
471
476
472
- <img width =" 292 " alt =" Screen Shot 2021-04-13 at 5 46 07 PM " src =" https://user-images.githubusercontent.com/70780576/114638300-28409480-9c80-11eb-83aa-1feb3b332941.png " >
473
-
474
- - prefix must be ` /scene/ ` and suffix left blank
475
-
476
-
477
477
### ** Fader Volume Feedback**
478
478
479
479
Use the following setup for ` /[source]/volume ` command for a * fader* in TouchOSC Editor:
@@ -486,13 +486,38 @@ Use the following setup for `/[source]/audioToggle` command for a *toggle button
486
486
487
487
<img width =" 252 " alt =" Screen Shot 2021-04-19 at 8 33 18 PM " src =" https://user-images.githubusercontent.com/70780576/115337099-42351800-a155-11eb-930e-edf868ff4033.png " >
488
488
489
+ ### ** Media Playback Feedback**
490
+
491
+ #### ** Play**
492
+ - When a media is played in OBS the following OSC is sent ` /[source]/mediaPlay 1 ` , ` /[source]/mediaPause 0 ` , and ` /[source]/mediaStop 0 `
493
+
494
+ #### ** Pause**
495
+ - When a media is paused in OBS the following OSC is sent ` /[source]/mediaPause 1 ` , ` /[source]/mediaPlay 0 ` , and ` /[source]/mediaStop 0 `
496
+
497
+ #### ** Stop**
498
+ - When a media is stopped in OBS the following OSC is sent ` /[source]/mediaStop 1 ` , ` /[source]/mediaPause 0 ` , and ` /[source]/mediaPlay 0 `
499
+
500
+ ### ** Source Visibility**
501
+
502
+ - When a source visibility is changed in OBS the following OSC is sent ` /[scene]/[source]/visible [0 or 1] `
503
+ - (` 0 ` if off and ` 1 ` if on)
504
+
505
+ ### ** Transitions**
506
+
507
+ #### ** Transition Type**
508
+ - When a transition is triggered in OBS the following OSC is sent ` /transitionType [type] `
509
+
510
+ #### ** Transition Duration**
511
+ - When a transition is triggered in OBS the following OSC is sent ` /transitionDuration [int] `
512
+
513
+
489
514
### ** Stats Label Feedback**
490
515
491
516
*** When Streaming/Recording:***
492
517
- ` /fps `
493
518
- Returns frames per second ` [int] fps `
494
519
- ` /streaming `
495
- - Returns “•LIVE” if stream is active
520
+ - Returns ` 1 ` if stream started, ` 0 ` if stopped
496
521
- ` /recording `
497
522
- Returns “•REC” when recording
498
523
- ` /streamTime `
0 commit comments