mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
docs(ci): Update protocol.md - 2344842 [skip ci]
This commit is contained in:
parent
2344842163
commit
01c898b104
@ -4441,10 +4441,10 @@
|
|||||||
"media control": [
|
"media control": [
|
||||||
{
|
{
|
||||||
"subheads": [],
|
"subheads": [],
|
||||||
"description": "Pause or play a media source. Supports ffmpeg and vlc media sources (as of OBS v25.0.8)",
|
"description": "Pause or play a media source. Supports ffmpeg and vlc media sources (as of OBS v25.0.8)\nNote :Leaving out `playPause` toggles the current pause state",
|
||||||
"param": [
|
"param": [
|
||||||
"{String} `sourceName` Source name.",
|
"{String} `sourceName` Source name.",
|
||||||
"{boolean} `playPause` Whether to pause or play the source. `false` for play, `true` for pause."
|
"{boolean} `playPause` (optional) Whether to pause or play the source. `false` for play, `true` for pause."
|
||||||
],
|
],
|
||||||
"api": "requests",
|
"api": "requests",
|
||||||
"name": "PlayPauseMedia",
|
"name": "PlayPauseMedia",
|
||||||
@ -4459,7 +4459,7 @@
|
|||||||
{
|
{
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"name": "playPause",
|
"name": "playPause",
|
||||||
"description": "Whether to pause or play the source. `false` for play, `true` for pause."
|
"description": "(optional) Whether to pause or play the source. `false` for play, `true` for pause."
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"names": [
|
"names": [
|
||||||
|
@ -1809,13 +1809,14 @@ _No additional response items._
|
|||||||
- Added in v4.9.0
|
- Added in v4.9.0
|
||||||
|
|
||||||
Pause or play a media source. Supports ffmpeg and vlc media sources (as of OBS v25.0.8)
|
Pause or play a media source. Supports ffmpeg and vlc media sources (as of OBS v25.0.8)
|
||||||
|
Note :Leaving out `playPause` toggles the current pause state
|
||||||
|
|
||||||
**Request Fields:**
|
**Request Fields:**
|
||||||
|
|
||||||
| Name | Type | Description |
|
| Name | Type | Description |
|
||||||
| ---- | :---: | ------------|
|
| ---- | :---: | ------------|
|
||||||
| `sourceName` | _String_ | Source name. |
|
| `sourceName` | _String_ | Source name. |
|
||||||
| `playPause` | _boolean_ | Whether to pause or play the source. `false` for play, `true` for pause. |
|
| `playPause` | _boolean_ | (optional) Whether to pause or play the source. `false` for play, `true` for pause. |
|
||||||
|
|
||||||
|
|
||||||
**Response Items:**
|
**Response Items:**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user