docs(travis): Update protocol.md - a263d8a [skip ci]

This commit is contained in:
Travis CI 2017-08-13 15:42:56 +00:00
parent a263d8a364
commit beb34deed8
2 changed files with 133 additions and 0 deletions

View File

@ -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.",

View File

@ -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