Skip to content

Commit c34501c

Browse files
authored
Update README.md
1 parent be45c1f commit c34501c

File tree

1 file changed

+31
-6
lines changed

1 file changed

+31
-6
lines changed

README.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,11 @@ Value `0` to `1`
368368
- rename scene or source
369369
- *Example:* `/rename "Audio" "NewAudio"` will change the source named "Audio" to "NewAudio"
370370

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+
371376
## **~ Editing Commands While Selected in OBS: ~**
372377
#
373378
*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
469474

470475
In OSC for OBS use the following setup:
471476

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-
477477
### **Fader Volume Feedback**
478478

479479
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
486486

487487
<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">
488488

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+
489514
### **Stats Label Feedback**
490515

491516
***When Streaming/Recording:***
492517
- `/fps`
493518
- Returns frames per second `[int] fps`
494519
- `/streaming`
495-
- Returns “•LIVE” if stream is active
520+
- Returns `1` if stream started, `0` if stopped
496521
- `/recording`
497522
- Returns “•REC” when recording
498523
- `/streamTime`

0 commit comments

Comments
 (0)