mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
docs(travis): Update protocol.md - a263d8a [skip ci]
This commit is contained in:
parent
a263d8a364
commit
beb34deed8
@ -1439,6 +1439,98 @@
|
||||
"type": "class",
|
||||
"examples": []
|
||||
},
|
||||
{
|
||||
"subheads": [],
|
||||
"description": "Set the audio sync offset of a specified source.",
|
||||
"param": [
|
||||
"{String} `source` The name of the source.",
|
||||
"{int} `offset` The desired audio sync offset (in nanoseconds)."
|
||||
],
|
||||
"api": "requests",
|
||||
"name": "SetSyncOffset",
|
||||
"category": "sources",
|
||||
"params": [
|
||||
{
|
||||
"type": "String",
|
||||
"name": "source",
|
||||
"description": "The name of the source."
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "offset",
|
||||
"description": "The desired audio sync offset (in nanoseconds)."
|
||||
}
|
||||
],
|
||||
"names": [
|
||||
{
|
||||
"name": "",
|
||||
"description": "SetSyncOffset"
|
||||
}
|
||||
],
|
||||
"categories": [
|
||||
{
|
||||
"name": "",
|
||||
"description": "sources"
|
||||
}
|
||||
],
|
||||
"heading": {
|
||||
"level": 2,
|
||||
"text": "SetSyncOffset"
|
||||
},
|
||||
"lead": "",
|
||||
"type": "class",
|
||||
"examples": []
|
||||
},
|
||||
{
|
||||
"subheads": [],
|
||||
"description": "Get the audio sync offset of a specified source.",
|
||||
"param": "{String} `source` The name of the source.",
|
||||
"return": [
|
||||
"{String} `name` The name of the source.",
|
||||
"{int} `offset` The audio sync offset (in nanoseconds)."
|
||||
],
|
||||
"api": "requests",
|
||||
"name": "GetSyncOffset",
|
||||
"category": "sources",
|
||||
"returns": [
|
||||
{
|
||||
"type": "String",
|
||||
"name": "name",
|
||||
"description": "The name of the source."
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "offset",
|
||||
"description": "The audio sync offset (in nanoseconds)."
|
||||
}
|
||||
],
|
||||
"params": [
|
||||
{
|
||||
"type": "String",
|
||||
"name": "source",
|
||||
"description": "The name of the source."
|
||||
}
|
||||
],
|
||||
"names": [
|
||||
{
|
||||
"name": "",
|
||||
"description": "GetSyncOffset"
|
||||
}
|
||||
],
|
||||
"categories": [
|
||||
{
|
||||
"name": "",
|
||||
"description": "sources"
|
||||
}
|
||||
],
|
||||
"heading": {
|
||||
"level": 2,
|
||||
"text": "GetSyncOffset"
|
||||
},
|
||||
"lead": "",
|
||||
"type": "class",
|
||||
"examples": []
|
||||
},
|
||||
{
|
||||
"subheads": [],
|
||||
"description": "Sets the coordinates of a specified source item.",
|
||||
|
@ -96,6 +96,8 @@ auth_response = base64_encode(auth_response_hash)
|
||||
+ [ToggleMute](#togglemute)
|
||||
+ [SetMute](#setmute)
|
||||
+ [GetMute](#getmute)
|
||||
+ [SetSyncOffset](#setsyncoffset)
|
||||
+ [GetSyncOffset](#getsyncoffset)
|
||||
+ [SetSceneItemPosition](#setsceneitemposition)
|
||||
+ [SetSceneItemTransform](#setsceneitemtransform)
|
||||
+ [SetSceneItemCrop](#setsceneitemcrop)
|
||||
@ -735,6 +737,45 @@ Get the mute status of a specified source.
|
||||
| `muted` | _boolean_ | Mute status of the source. |
|
||||
|
||||
|
||||
---
|
||||
|
||||
### SetSyncOffset
|
||||
|
||||
Set the audio sync offset of a specified source.
|
||||
|
||||
**Request Fields:**
|
||||
|
||||
| Name | Type | Description |
|
||||
| ---- | :---: | ------------|
|
||||
| `source` | _String_ | The name of the source. |
|
||||
| `offset` | _int_ | The desired audio sync offset (in nanoseconds). |
|
||||
|
||||
|
||||
**Response Items:**
|
||||
|
||||
_No additional response items._
|
||||
|
||||
---
|
||||
|
||||
### GetSyncOffset
|
||||
|
||||
Get the audio sync offset of a specified source.
|
||||
|
||||
**Request Fields:**
|
||||
|
||||
| Name | Type | Description |
|
||||
| ---- | :---: | ------------|
|
||||
| `source` | _String_ | The name of the source. |
|
||||
|
||||
|
||||
**Response Items:**
|
||||
|
||||
| Name | Type | Description |
|
||||
| ---- | :---: | ------------|
|
||||
| `name` | _String_ | The name of the source. |
|
||||
| `offset` | _int_ | The audio sync offset (in nanoseconds). |
|
||||
|
||||
|
||||
---
|
||||
|
||||
### SetSceneItemPosition
|
||||
|
Loading…
x
Reference in New Issue
Block a user