@stinkycomputing/sesame-api-client 1.4.1-beta.9 → 1.5.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/command-list.d.ts +27 -2
- package/dist/command-list.d.ts.map +1 -1
- package/dist/generated/property-types.d.ts +845 -0
- package/dist/generated/property-types.d.ts.map +1 -0
- package/dist/index.browser.mjs +10357 -8475
- package/dist/index.browser.mjs.map +3 -3
- package/dist/index.cjs +10355 -8473
- package/dist/index.cjs.map +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +10355 -8473
- package/dist/index.mjs.map +2 -2
- package/dist/proto/api.d.ts +1331 -128
- package/dist/proto/api.js +4462 -1170
- package/dist/sesame-wire-protocol.d.ts +1 -1
- package/dist/sesame-wire-protocol.d.ts.map +1 -1
- package/docs/protocol-reference.md +1747 -765
- package/package.json +66 -65
package/dist/proto/api.d.ts
CHANGED
|
@@ -1462,6 +1462,321 @@ export namespace sesame {
|
|
|
1462
1462
|
*/
|
|
1463
1463
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1464
1464
|
}
|
|
1465
|
+
|
|
1466
|
+
/** Properties of an AudioPluginControlRequest. */
|
|
1467
|
+
interface IAudioPluginControlRequest {
|
|
1468
|
+
|
|
1469
|
+
/** AudioPluginControlRequest pluginId */
|
|
1470
|
+
pluginId?: (string|null);
|
|
1471
|
+
|
|
1472
|
+
/** AudioPluginControlRequest params */
|
|
1473
|
+
params?: (sesame.v1.audio.IAudioPluginParam[]|null);
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
/** Represents an AudioPluginControlRequest. */
|
|
1477
|
+
class AudioPluginControlRequest implements IAudioPluginControlRequest {
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* Constructs a new AudioPluginControlRequest.
|
|
1481
|
+
* @param [properties] Properties to set
|
|
1482
|
+
*/
|
|
1483
|
+
constructor(properties?: sesame.v1.audio.IAudioPluginControlRequest);
|
|
1484
|
+
|
|
1485
|
+
/** AudioPluginControlRequest pluginId. */
|
|
1486
|
+
public pluginId: string;
|
|
1487
|
+
|
|
1488
|
+
/** AudioPluginControlRequest params. */
|
|
1489
|
+
public params: sesame.v1.audio.IAudioPluginParam[];
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* Creates a new AudioPluginControlRequest instance using the specified properties.
|
|
1493
|
+
* @param [properties] Properties to set
|
|
1494
|
+
* @returns AudioPluginControlRequest instance
|
|
1495
|
+
*/
|
|
1496
|
+
public static create(properties?: sesame.v1.audio.IAudioPluginControlRequest): sesame.v1.audio.AudioPluginControlRequest;
|
|
1497
|
+
|
|
1498
|
+
/**
|
|
1499
|
+
* Encodes the specified AudioPluginControlRequest message. Does not implicitly {@link sesame.v1.audio.AudioPluginControlRequest.verify|verify} messages.
|
|
1500
|
+
* @param message AudioPluginControlRequest message or plain object to encode
|
|
1501
|
+
* @param [writer] Writer to encode to
|
|
1502
|
+
* @returns Writer
|
|
1503
|
+
*/
|
|
1504
|
+
public static encode(message: sesame.v1.audio.IAudioPluginControlRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* Encodes the specified AudioPluginControlRequest message, length delimited. Does not implicitly {@link sesame.v1.audio.AudioPluginControlRequest.verify|verify} messages.
|
|
1508
|
+
* @param message AudioPluginControlRequest message or plain object to encode
|
|
1509
|
+
* @param [writer] Writer to encode to
|
|
1510
|
+
* @returns Writer
|
|
1511
|
+
*/
|
|
1512
|
+
public static encodeDelimited(message: sesame.v1.audio.IAudioPluginControlRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* Decodes an AudioPluginControlRequest message from the specified reader or buffer.
|
|
1516
|
+
* @param reader Reader or buffer to decode from
|
|
1517
|
+
* @param [length] Message length if known beforehand
|
|
1518
|
+
* @returns AudioPluginControlRequest
|
|
1519
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1520
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1521
|
+
*/
|
|
1522
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.audio.AudioPluginControlRequest;
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* Decodes an AudioPluginControlRequest message from the specified reader or buffer, length delimited.
|
|
1526
|
+
* @param reader Reader or buffer to decode from
|
|
1527
|
+
* @returns AudioPluginControlRequest
|
|
1528
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1529
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1530
|
+
*/
|
|
1531
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.audio.AudioPluginControlRequest;
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* Verifies an AudioPluginControlRequest message.
|
|
1535
|
+
* @param message Plain object to verify
|
|
1536
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1537
|
+
*/
|
|
1538
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* Creates an AudioPluginControlRequest message from a plain object. Also converts values to their respective internal types.
|
|
1542
|
+
* @param object Plain object
|
|
1543
|
+
* @returns AudioPluginControlRequest
|
|
1544
|
+
*/
|
|
1545
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.audio.AudioPluginControlRequest;
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* Creates a plain object from an AudioPluginControlRequest message. Also converts values to other types if specified.
|
|
1549
|
+
* @param message AudioPluginControlRequest
|
|
1550
|
+
* @param [options] Conversion options
|
|
1551
|
+
* @returns Plain object
|
|
1552
|
+
*/
|
|
1553
|
+
public static toObject(message: sesame.v1.audio.AudioPluginControlRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1554
|
+
|
|
1555
|
+
/**
|
|
1556
|
+
* Converts this AudioPluginControlRequest to JSON.
|
|
1557
|
+
* @returns JSON object
|
|
1558
|
+
*/
|
|
1559
|
+
public toJSON(): { [k: string]: any };
|
|
1560
|
+
|
|
1561
|
+
/**
|
|
1562
|
+
* Gets the default type url for AudioPluginControlRequest
|
|
1563
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1564
|
+
* @returns The default type url
|
|
1565
|
+
*/
|
|
1566
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
/** Properties of an AudioChannelControlRequest. */
|
|
1570
|
+
interface IAudioChannelControlRequest {
|
|
1571
|
+
|
|
1572
|
+
/** AudioChannelControlRequest channelId */
|
|
1573
|
+
channelId?: (string|null);
|
|
1574
|
+
|
|
1575
|
+
/** AudioChannelControlRequest level */
|
|
1576
|
+
level?: (number|null);
|
|
1577
|
+
|
|
1578
|
+
/** AudioChannelControlRequest pan */
|
|
1579
|
+
pan?: (number|null);
|
|
1580
|
+
|
|
1581
|
+
/** AudioChannelControlRequest plugins */
|
|
1582
|
+
plugins?: (sesame.v1.audio.IAudioPluginControlRequest[]|null);
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
/** Represents an AudioChannelControlRequest. */
|
|
1586
|
+
class AudioChannelControlRequest implements IAudioChannelControlRequest {
|
|
1587
|
+
|
|
1588
|
+
/**
|
|
1589
|
+
* Constructs a new AudioChannelControlRequest.
|
|
1590
|
+
* @param [properties] Properties to set
|
|
1591
|
+
*/
|
|
1592
|
+
constructor(properties?: sesame.v1.audio.IAudioChannelControlRequest);
|
|
1593
|
+
|
|
1594
|
+
/** AudioChannelControlRequest channelId. */
|
|
1595
|
+
public channelId: string;
|
|
1596
|
+
|
|
1597
|
+
/** AudioChannelControlRequest level. */
|
|
1598
|
+
public level?: (number|null);
|
|
1599
|
+
|
|
1600
|
+
/** AudioChannelControlRequest pan. */
|
|
1601
|
+
public pan?: (number|null);
|
|
1602
|
+
|
|
1603
|
+
/** AudioChannelControlRequest plugins. */
|
|
1604
|
+
public plugins: sesame.v1.audio.IAudioPluginControlRequest[];
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* Creates a new AudioChannelControlRequest instance using the specified properties.
|
|
1608
|
+
* @param [properties] Properties to set
|
|
1609
|
+
* @returns AudioChannelControlRequest instance
|
|
1610
|
+
*/
|
|
1611
|
+
public static create(properties?: sesame.v1.audio.IAudioChannelControlRequest): sesame.v1.audio.AudioChannelControlRequest;
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* Encodes the specified AudioChannelControlRequest message. Does not implicitly {@link sesame.v1.audio.AudioChannelControlRequest.verify|verify} messages.
|
|
1615
|
+
* @param message AudioChannelControlRequest message or plain object to encode
|
|
1616
|
+
* @param [writer] Writer to encode to
|
|
1617
|
+
* @returns Writer
|
|
1618
|
+
*/
|
|
1619
|
+
public static encode(message: sesame.v1.audio.IAudioChannelControlRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1620
|
+
|
|
1621
|
+
/**
|
|
1622
|
+
* Encodes the specified AudioChannelControlRequest message, length delimited. Does not implicitly {@link sesame.v1.audio.AudioChannelControlRequest.verify|verify} messages.
|
|
1623
|
+
* @param message AudioChannelControlRequest message or plain object to encode
|
|
1624
|
+
* @param [writer] Writer to encode to
|
|
1625
|
+
* @returns Writer
|
|
1626
|
+
*/
|
|
1627
|
+
public static encodeDelimited(message: sesame.v1.audio.IAudioChannelControlRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* Decodes an AudioChannelControlRequest message from the specified reader or buffer.
|
|
1631
|
+
* @param reader Reader or buffer to decode from
|
|
1632
|
+
* @param [length] Message length if known beforehand
|
|
1633
|
+
* @returns AudioChannelControlRequest
|
|
1634
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1635
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1636
|
+
*/
|
|
1637
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.audio.AudioChannelControlRequest;
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* Decodes an AudioChannelControlRequest message from the specified reader or buffer, length delimited.
|
|
1641
|
+
* @param reader Reader or buffer to decode from
|
|
1642
|
+
* @returns AudioChannelControlRequest
|
|
1643
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1644
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1645
|
+
*/
|
|
1646
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.audio.AudioChannelControlRequest;
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* Verifies an AudioChannelControlRequest message.
|
|
1650
|
+
* @param message Plain object to verify
|
|
1651
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1652
|
+
*/
|
|
1653
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* Creates an AudioChannelControlRequest message from a plain object. Also converts values to their respective internal types.
|
|
1657
|
+
* @param object Plain object
|
|
1658
|
+
* @returns AudioChannelControlRequest
|
|
1659
|
+
*/
|
|
1660
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.audio.AudioChannelControlRequest;
|
|
1661
|
+
|
|
1662
|
+
/**
|
|
1663
|
+
* Creates a plain object from an AudioChannelControlRequest message. Also converts values to other types if specified.
|
|
1664
|
+
* @param message AudioChannelControlRequest
|
|
1665
|
+
* @param [options] Conversion options
|
|
1666
|
+
* @returns Plain object
|
|
1667
|
+
*/
|
|
1668
|
+
public static toObject(message: sesame.v1.audio.AudioChannelControlRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1669
|
+
|
|
1670
|
+
/**
|
|
1671
|
+
* Converts this AudioChannelControlRequest to JSON.
|
|
1672
|
+
* @returns JSON object
|
|
1673
|
+
*/
|
|
1674
|
+
public toJSON(): { [k: string]: any };
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* Gets the default type url for AudioChannelControlRequest
|
|
1678
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1679
|
+
* @returns The default type url
|
|
1680
|
+
*/
|
|
1681
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
/** Properties of an AudioControlRequest. */
|
|
1685
|
+
interface IAudioControlRequest {
|
|
1686
|
+
|
|
1687
|
+
/** AudioControlRequest channels */
|
|
1688
|
+
channels?: (sesame.v1.audio.IAudioChannelControlRequest[]|null);
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
/** Represents an AudioControlRequest. */
|
|
1692
|
+
class AudioControlRequest implements IAudioControlRequest {
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* Constructs a new AudioControlRequest.
|
|
1696
|
+
* @param [properties] Properties to set
|
|
1697
|
+
*/
|
|
1698
|
+
constructor(properties?: sesame.v1.audio.IAudioControlRequest);
|
|
1699
|
+
|
|
1700
|
+
/** AudioControlRequest channels. */
|
|
1701
|
+
public channels: sesame.v1.audio.IAudioChannelControlRequest[];
|
|
1702
|
+
|
|
1703
|
+
/**
|
|
1704
|
+
* Creates a new AudioControlRequest instance using the specified properties.
|
|
1705
|
+
* @param [properties] Properties to set
|
|
1706
|
+
* @returns AudioControlRequest instance
|
|
1707
|
+
*/
|
|
1708
|
+
public static create(properties?: sesame.v1.audio.IAudioControlRequest): sesame.v1.audio.AudioControlRequest;
|
|
1709
|
+
|
|
1710
|
+
/**
|
|
1711
|
+
* Encodes the specified AudioControlRequest message. Does not implicitly {@link sesame.v1.audio.AudioControlRequest.verify|verify} messages.
|
|
1712
|
+
* @param message AudioControlRequest message or plain object to encode
|
|
1713
|
+
* @param [writer] Writer to encode to
|
|
1714
|
+
* @returns Writer
|
|
1715
|
+
*/
|
|
1716
|
+
public static encode(message: sesame.v1.audio.IAudioControlRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1717
|
+
|
|
1718
|
+
/**
|
|
1719
|
+
* Encodes the specified AudioControlRequest message, length delimited. Does not implicitly {@link sesame.v1.audio.AudioControlRequest.verify|verify} messages.
|
|
1720
|
+
* @param message AudioControlRequest message or plain object to encode
|
|
1721
|
+
* @param [writer] Writer to encode to
|
|
1722
|
+
* @returns Writer
|
|
1723
|
+
*/
|
|
1724
|
+
public static encodeDelimited(message: sesame.v1.audio.IAudioControlRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* Decodes an AudioControlRequest message from the specified reader or buffer.
|
|
1728
|
+
* @param reader Reader or buffer to decode from
|
|
1729
|
+
* @param [length] Message length if known beforehand
|
|
1730
|
+
* @returns AudioControlRequest
|
|
1731
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1732
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1733
|
+
*/
|
|
1734
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.audio.AudioControlRequest;
|
|
1735
|
+
|
|
1736
|
+
/**
|
|
1737
|
+
* Decodes an AudioControlRequest message from the specified reader or buffer, length delimited.
|
|
1738
|
+
* @param reader Reader or buffer to decode from
|
|
1739
|
+
* @returns AudioControlRequest
|
|
1740
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1741
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1742
|
+
*/
|
|
1743
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.audio.AudioControlRequest;
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* Verifies an AudioControlRequest message.
|
|
1747
|
+
* @param message Plain object to verify
|
|
1748
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1749
|
+
*/
|
|
1750
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* Creates an AudioControlRequest message from a plain object. Also converts values to their respective internal types.
|
|
1754
|
+
* @param object Plain object
|
|
1755
|
+
* @returns AudioControlRequest
|
|
1756
|
+
*/
|
|
1757
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.audio.AudioControlRequest;
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* Creates a plain object from an AudioControlRequest message. Also converts values to other types if specified.
|
|
1761
|
+
* @param message AudioControlRequest
|
|
1762
|
+
* @param [options] Conversion options
|
|
1763
|
+
* @returns Plain object
|
|
1764
|
+
*/
|
|
1765
|
+
public static toObject(message: sesame.v1.audio.AudioControlRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* Converts this AudioControlRequest to JSON.
|
|
1769
|
+
* @returns JSON object
|
|
1770
|
+
*/
|
|
1771
|
+
public toJSON(): { [k: string]: any };
|
|
1772
|
+
|
|
1773
|
+
/**
|
|
1774
|
+
* Gets the default type url for AudioControlRequest
|
|
1775
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1776
|
+
* @returns The default type url
|
|
1777
|
+
*/
|
|
1778
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1779
|
+
}
|
|
1465
1780
|
}
|
|
1466
1781
|
|
|
1467
1782
|
/** Namespace commands. */
|
|
@@ -1542,6 +1857,9 @@ export namespace sesame {
|
|
|
1542
1857
|
/** CommandListItem setSourceMetadata */
|
|
1543
1858
|
setSourceMetadata?: (sesame.v1.sources.ISourceMetadataSetRequest|null);
|
|
1544
1859
|
|
|
1860
|
+
/** CommandListItem setMetadataBindings */
|
|
1861
|
+
setMetadataBindings?: (sesame.v1.commands.ISetMetadataBindingsRequest|null);
|
|
1862
|
+
|
|
1545
1863
|
/** CommandListItem transactionId */
|
|
1546
1864
|
transactionId?: (number|null);
|
|
1547
1865
|
|
|
@@ -1600,117 +1918,429 @@ export namespace sesame {
|
|
|
1600
1918
|
/** CommandListItem animateProperty. */
|
|
1601
1919
|
public animateProperty?: (sesame.v1.compositor.IPropertyAnimateRequest|null);
|
|
1602
1920
|
|
|
1603
|
-
/** CommandListItem addAudioMixer. */
|
|
1604
|
-
public addAudioMixer?: (sesame.v1.audio.IAudioMixerAddRequest|null);
|
|
1921
|
+
/** CommandListItem addAudioMixer. */
|
|
1922
|
+
public addAudioMixer?: (sesame.v1.audio.IAudioMixerAddRequest|null);
|
|
1923
|
+
|
|
1924
|
+
/** CommandListItem updateAudioMixer. */
|
|
1925
|
+
public updateAudioMixer?: (sesame.v1.audio.IAudioMixerUpdateRequest|null);
|
|
1926
|
+
|
|
1927
|
+
/** CommandListItem removeAudioMixer. */
|
|
1928
|
+
public removeAudioMixer?: (sesame.v1.audio.IAudioMixerRemoveRequest|null);
|
|
1929
|
+
|
|
1930
|
+
/** CommandListItem addAudioChannel. */
|
|
1931
|
+
public addAudioChannel?: (sesame.v1.audio.IAudioChannelAddRequest|null);
|
|
1932
|
+
|
|
1933
|
+
/** CommandListItem removeAudioChannel. */
|
|
1934
|
+
public removeAudioChannel?: (sesame.v1.audio.IAudioChannelRemoveRequest|null);
|
|
1935
|
+
|
|
1936
|
+
/** CommandListItem updateSourceTransport. */
|
|
1937
|
+
public updateSourceTransport?: (sesame.v1.sources.ISourceTransportCommand|null);
|
|
1938
|
+
|
|
1939
|
+
/** CommandListItem loadPlaylist. */
|
|
1940
|
+
public loadPlaylist?: (sesame.v1.sources.ILoadPlaylistRequest|null);
|
|
1941
|
+
|
|
1942
|
+
/** CommandListItem ejectPlaylist. */
|
|
1943
|
+
public ejectPlaylist?: (sesame.v1.sources.IEjectPlaylistRequest|null);
|
|
1944
|
+
|
|
1945
|
+
/** CommandListItem callback. */
|
|
1946
|
+
public callback?: (sesame.v1.common.ICallback|null);
|
|
1947
|
+
|
|
1948
|
+
/** CommandListItem setSourceMetadata. */
|
|
1949
|
+
public setSourceMetadata?: (sesame.v1.sources.ISourceMetadataSetRequest|null);
|
|
1950
|
+
|
|
1951
|
+
/** CommandListItem setMetadataBindings. */
|
|
1952
|
+
public setMetadataBindings?: (sesame.v1.commands.ISetMetadataBindingsRequest|null);
|
|
1953
|
+
|
|
1954
|
+
/** CommandListItem transactionId. */
|
|
1955
|
+
public transactionId?: (number|null);
|
|
1956
|
+
|
|
1957
|
+
/** CommandListItem transactionDeps. */
|
|
1958
|
+
public transactionDeps: number[];
|
|
1959
|
+
|
|
1960
|
+
/** CommandListItem item. */
|
|
1961
|
+
public item?: ("addSource"|"updateSource"|"removeSource"|"addOutput"|"updateOutput"|"removeOutput"|"addCompositor"|"removeCompositor"|"clearCompositor"|"addNode"|"removeNode"|"setProperty"|"animateProperty"|"addAudioMixer"|"updateAudioMixer"|"removeAudioMixer"|"addAudioChannel"|"removeAudioChannel"|"updateSourceTransport"|"loadPlaylist"|"ejectPlaylist"|"callback"|"setSourceMetadata"|"setMetadataBindings");
|
|
1962
|
+
|
|
1963
|
+
/**
|
|
1964
|
+
* Creates a new CommandListItem instance using the specified properties.
|
|
1965
|
+
* @param [properties] Properties to set
|
|
1966
|
+
* @returns CommandListItem instance
|
|
1967
|
+
*/
|
|
1968
|
+
public static create(properties?: sesame.v1.commands.ICommandListItem): sesame.v1.commands.CommandListItem;
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* Encodes the specified CommandListItem message. Does not implicitly {@link sesame.v1.commands.CommandListItem.verify|verify} messages.
|
|
1972
|
+
* @param message CommandListItem message or plain object to encode
|
|
1973
|
+
* @param [writer] Writer to encode to
|
|
1974
|
+
* @returns Writer
|
|
1975
|
+
*/
|
|
1976
|
+
public static encode(message: sesame.v1.commands.ICommandListItem, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1977
|
+
|
|
1978
|
+
/**
|
|
1979
|
+
* Encodes the specified CommandListItem message, length delimited. Does not implicitly {@link sesame.v1.commands.CommandListItem.verify|verify} messages.
|
|
1980
|
+
* @param message CommandListItem message or plain object to encode
|
|
1981
|
+
* @param [writer] Writer to encode to
|
|
1982
|
+
* @returns Writer
|
|
1983
|
+
*/
|
|
1984
|
+
public static encodeDelimited(message: sesame.v1.commands.ICommandListItem, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1985
|
+
|
|
1986
|
+
/**
|
|
1987
|
+
* Decodes a CommandListItem message from the specified reader or buffer.
|
|
1988
|
+
* @param reader Reader or buffer to decode from
|
|
1989
|
+
* @param [length] Message length if known beforehand
|
|
1990
|
+
* @returns CommandListItem
|
|
1991
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1992
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1993
|
+
*/
|
|
1994
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.commands.CommandListItem;
|
|
1995
|
+
|
|
1996
|
+
/**
|
|
1997
|
+
* Decodes a CommandListItem message from the specified reader or buffer, length delimited.
|
|
1998
|
+
* @param reader Reader or buffer to decode from
|
|
1999
|
+
* @returns CommandListItem
|
|
2000
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2001
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2002
|
+
*/
|
|
2003
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.commands.CommandListItem;
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* Verifies a CommandListItem message.
|
|
2007
|
+
* @param message Plain object to verify
|
|
2008
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2009
|
+
*/
|
|
2010
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2011
|
+
|
|
2012
|
+
/**
|
|
2013
|
+
* Creates a CommandListItem message from a plain object. Also converts values to their respective internal types.
|
|
2014
|
+
* @param object Plain object
|
|
2015
|
+
* @returns CommandListItem
|
|
2016
|
+
*/
|
|
2017
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.commands.CommandListItem;
|
|
2018
|
+
|
|
2019
|
+
/**
|
|
2020
|
+
* Creates a plain object from a CommandListItem message. Also converts values to other types if specified.
|
|
2021
|
+
* @param message CommandListItem
|
|
2022
|
+
* @param [options] Conversion options
|
|
2023
|
+
* @returns Plain object
|
|
2024
|
+
*/
|
|
2025
|
+
public static toObject(message: sesame.v1.commands.CommandListItem, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* Converts this CommandListItem to JSON.
|
|
2029
|
+
* @returns JSON object
|
|
2030
|
+
*/
|
|
2031
|
+
public toJSON(): { [k: string]: any };
|
|
2032
|
+
|
|
2033
|
+
/**
|
|
2034
|
+
* Gets the default type url for CommandListItem
|
|
2035
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2036
|
+
* @returns The default type url
|
|
2037
|
+
*/
|
|
2038
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2039
|
+
}
|
|
2040
|
+
|
|
2041
|
+
/** Properties of a MetadataEndpoint. */
|
|
2042
|
+
interface IMetadataEndpoint {
|
|
2043
|
+
|
|
2044
|
+
/** MetadataEndpoint node */
|
|
2045
|
+
node?: (string|null);
|
|
2046
|
+
|
|
2047
|
+
/** MetadataEndpoint track */
|
|
2048
|
+
track?: (string|null);
|
|
2049
|
+
|
|
2050
|
+
/** MetadataEndpoint metadataId */
|
|
2051
|
+
metadataId?: (string|null);
|
|
2052
|
+
}
|
|
2053
|
+
|
|
2054
|
+
/** Represents a MetadataEndpoint. */
|
|
2055
|
+
class MetadataEndpoint implements IMetadataEndpoint {
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
* Constructs a new MetadataEndpoint.
|
|
2059
|
+
* @param [properties] Properties to set
|
|
2060
|
+
*/
|
|
2061
|
+
constructor(properties?: sesame.v1.commands.IMetadataEndpoint);
|
|
2062
|
+
|
|
2063
|
+
/** MetadataEndpoint node. */
|
|
2064
|
+
public node: string;
|
|
2065
|
+
|
|
2066
|
+
/** MetadataEndpoint track. */
|
|
2067
|
+
public track: string;
|
|
2068
|
+
|
|
2069
|
+
/** MetadataEndpoint metadataId. */
|
|
2070
|
+
public metadataId: string;
|
|
2071
|
+
|
|
2072
|
+
/**
|
|
2073
|
+
* Creates a new MetadataEndpoint instance using the specified properties.
|
|
2074
|
+
* @param [properties] Properties to set
|
|
2075
|
+
* @returns MetadataEndpoint instance
|
|
2076
|
+
*/
|
|
2077
|
+
public static create(properties?: sesame.v1.commands.IMetadataEndpoint): sesame.v1.commands.MetadataEndpoint;
|
|
2078
|
+
|
|
2079
|
+
/**
|
|
2080
|
+
* Encodes the specified MetadataEndpoint message. Does not implicitly {@link sesame.v1.commands.MetadataEndpoint.verify|verify} messages.
|
|
2081
|
+
* @param message MetadataEndpoint message or plain object to encode
|
|
2082
|
+
* @param [writer] Writer to encode to
|
|
2083
|
+
* @returns Writer
|
|
2084
|
+
*/
|
|
2085
|
+
public static encode(message: sesame.v1.commands.IMetadataEndpoint, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2086
|
+
|
|
2087
|
+
/**
|
|
2088
|
+
* Encodes the specified MetadataEndpoint message, length delimited. Does not implicitly {@link sesame.v1.commands.MetadataEndpoint.verify|verify} messages.
|
|
2089
|
+
* @param message MetadataEndpoint message or plain object to encode
|
|
2090
|
+
* @param [writer] Writer to encode to
|
|
2091
|
+
* @returns Writer
|
|
2092
|
+
*/
|
|
2093
|
+
public static encodeDelimited(message: sesame.v1.commands.IMetadataEndpoint, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2094
|
+
|
|
2095
|
+
/**
|
|
2096
|
+
* Decodes a MetadataEndpoint message from the specified reader or buffer.
|
|
2097
|
+
* @param reader Reader or buffer to decode from
|
|
2098
|
+
* @param [length] Message length if known beforehand
|
|
2099
|
+
* @returns MetadataEndpoint
|
|
2100
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2101
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2102
|
+
*/
|
|
2103
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.commands.MetadataEndpoint;
|
|
2104
|
+
|
|
2105
|
+
/**
|
|
2106
|
+
* Decodes a MetadataEndpoint message from the specified reader or buffer, length delimited.
|
|
2107
|
+
* @param reader Reader or buffer to decode from
|
|
2108
|
+
* @returns MetadataEndpoint
|
|
2109
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2110
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2111
|
+
*/
|
|
2112
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.commands.MetadataEndpoint;
|
|
2113
|
+
|
|
2114
|
+
/**
|
|
2115
|
+
* Verifies a MetadataEndpoint message.
|
|
2116
|
+
* @param message Plain object to verify
|
|
2117
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2118
|
+
*/
|
|
2119
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* Creates a MetadataEndpoint message from a plain object. Also converts values to their respective internal types.
|
|
2123
|
+
* @param object Plain object
|
|
2124
|
+
* @returns MetadataEndpoint
|
|
2125
|
+
*/
|
|
2126
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.commands.MetadataEndpoint;
|
|
2127
|
+
|
|
2128
|
+
/**
|
|
2129
|
+
* Creates a plain object from a MetadataEndpoint message. Also converts values to other types if specified.
|
|
2130
|
+
* @param message MetadataEndpoint
|
|
2131
|
+
* @param [options] Conversion options
|
|
2132
|
+
* @returns Plain object
|
|
2133
|
+
*/
|
|
2134
|
+
public static toObject(message: sesame.v1.commands.MetadataEndpoint, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2135
|
+
|
|
2136
|
+
/**
|
|
2137
|
+
* Converts this MetadataEndpoint to JSON.
|
|
2138
|
+
* @returns JSON object
|
|
2139
|
+
*/
|
|
2140
|
+
public toJSON(): { [k: string]: any };
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* Gets the default type url for MetadataEndpoint
|
|
2144
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2145
|
+
* @returns The default type url
|
|
2146
|
+
*/
|
|
2147
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
/** Properties of a MetadataBinding. */
|
|
2151
|
+
interface IMetadataBinding {
|
|
2152
|
+
|
|
2153
|
+
/** MetadataBinding from */
|
|
2154
|
+
from?: (sesame.v1.commands.IMetadataEndpoint|null);
|
|
2155
|
+
|
|
2156
|
+
/** MetadataBinding to */
|
|
2157
|
+
to?: (sesame.v1.commands.IMetadataEndpoint|null);
|
|
2158
|
+
}
|
|
2159
|
+
|
|
2160
|
+
/** Represents a MetadataBinding. */
|
|
2161
|
+
class MetadataBinding implements IMetadataBinding {
|
|
2162
|
+
|
|
2163
|
+
/**
|
|
2164
|
+
* Constructs a new MetadataBinding.
|
|
2165
|
+
* @param [properties] Properties to set
|
|
2166
|
+
*/
|
|
2167
|
+
constructor(properties?: sesame.v1.commands.IMetadataBinding);
|
|
2168
|
+
|
|
2169
|
+
/** MetadataBinding from. */
|
|
2170
|
+
public from?: (sesame.v1.commands.IMetadataEndpoint|null);
|
|
2171
|
+
|
|
2172
|
+
/** MetadataBinding to. */
|
|
2173
|
+
public to?: (sesame.v1.commands.IMetadataEndpoint|null);
|
|
2174
|
+
|
|
2175
|
+
/**
|
|
2176
|
+
* Creates a new MetadataBinding instance using the specified properties.
|
|
2177
|
+
* @param [properties] Properties to set
|
|
2178
|
+
* @returns MetadataBinding instance
|
|
2179
|
+
*/
|
|
2180
|
+
public static create(properties?: sesame.v1.commands.IMetadataBinding): sesame.v1.commands.MetadataBinding;
|
|
2181
|
+
|
|
2182
|
+
/**
|
|
2183
|
+
* Encodes the specified MetadataBinding message. Does not implicitly {@link sesame.v1.commands.MetadataBinding.verify|verify} messages.
|
|
2184
|
+
* @param message MetadataBinding message or plain object to encode
|
|
2185
|
+
* @param [writer] Writer to encode to
|
|
2186
|
+
* @returns Writer
|
|
2187
|
+
*/
|
|
2188
|
+
public static encode(message: sesame.v1.commands.IMetadataBinding, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2189
|
+
|
|
2190
|
+
/**
|
|
2191
|
+
* Encodes the specified MetadataBinding message, length delimited. Does not implicitly {@link sesame.v1.commands.MetadataBinding.verify|verify} messages.
|
|
2192
|
+
* @param message MetadataBinding message or plain object to encode
|
|
2193
|
+
* @param [writer] Writer to encode to
|
|
2194
|
+
* @returns Writer
|
|
2195
|
+
*/
|
|
2196
|
+
public static encodeDelimited(message: sesame.v1.commands.IMetadataBinding, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1605
2197
|
|
|
1606
|
-
/**
|
|
1607
|
-
|
|
2198
|
+
/**
|
|
2199
|
+
* Decodes a MetadataBinding message from the specified reader or buffer.
|
|
2200
|
+
* @param reader Reader or buffer to decode from
|
|
2201
|
+
* @param [length] Message length if known beforehand
|
|
2202
|
+
* @returns MetadataBinding
|
|
2203
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2204
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2205
|
+
*/
|
|
2206
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.commands.MetadataBinding;
|
|
1608
2207
|
|
|
1609
|
-
/**
|
|
1610
|
-
|
|
2208
|
+
/**
|
|
2209
|
+
* Decodes a MetadataBinding message from the specified reader or buffer, length delimited.
|
|
2210
|
+
* @param reader Reader or buffer to decode from
|
|
2211
|
+
* @returns MetadataBinding
|
|
2212
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2213
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2214
|
+
*/
|
|
2215
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.commands.MetadataBinding;
|
|
1611
2216
|
|
|
1612
|
-
/**
|
|
1613
|
-
|
|
2217
|
+
/**
|
|
2218
|
+
* Verifies a MetadataBinding message.
|
|
2219
|
+
* @param message Plain object to verify
|
|
2220
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2221
|
+
*/
|
|
2222
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1614
2223
|
|
|
1615
|
-
/**
|
|
1616
|
-
|
|
2224
|
+
/**
|
|
2225
|
+
* Creates a MetadataBinding message from a plain object. Also converts values to their respective internal types.
|
|
2226
|
+
* @param object Plain object
|
|
2227
|
+
* @returns MetadataBinding
|
|
2228
|
+
*/
|
|
2229
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.commands.MetadataBinding;
|
|
1617
2230
|
|
|
1618
|
-
/**
|
|
1619
|
-
|
|
2231
|
+
/**
|
|
2232
|
+
* Creates a plain object from a MetadataBinding message. Also converts values to other types if specified.
|
|
2233
|
+
* @param message MetadataBinding
|
|
2234
|
+
* @param [options] Conversion options
|
|
2235
|
+
* @returns Plain object
|
|
2236
|
+
*/
|
|
2237
|
+
public static toObject(message: sesame.v1.commands.MetadataBinding, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1620
2238
|
|
|
1621
|
-
/**
|
|
1622
|
-
|
|
2239
|
+
/**
|
|
2240
|
+
* Converts this MetadataBinding to JSON.
|
|
2241
|
+
* @returns JSON object
|
|
2242
|
+
*/
|
|
2243
|
+
public toJSON(): { [k: string]: any };
|
|
1623
2244
|
|
|
1624
|
-
/**
|
|
1625
|
-
|
|
2245
|
+
/**
|
|
2246
|
+
* Gets the default type url for MetadataBinding
|
|
2247
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2248
|
+
* @returns The default type url
|
|
2249
|
+
*/
|
|
2250
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2251
|
+
}
|
|
1626
2252
|
|
|
1627
|
-
|
|
1628
|
-
|
|
2253
|
+
/** Properties of a SetMetadataBindingsRequest. */
|
|
2254
|
+
interface ISetMetadataBindingsRequest {
|
|
1629
2255
|
|
|
1630
|
-
/**
|
|
1631
|
-
|
|
2256
|
+
/** SetMetadataBindingsRequest bindings */
|
|
2257
|
+
bindings?: (sesame.v1.commands.IMetadataBinding[]|null);
|
|
2258
|
+
}
|
|
1632
2259
|
|
|
1633
|
-
|
|
1634
|
-
|
|
2260
|
+
/** Represents a SetMetadataBindingsRequest. */
|
|
2261
|
+
class SetMetadataBindingsRequest implements ISetMetadataBindingsRequest {
|
|
1635
2262
|
|
|
1636
|
-
/**
|
|
1637
|
-
|
|
2263
|
+
/**
|
|
2264
|
+
* Constructs a new SetMetadataBindingsRequest.
|
|
2265
|
+
* @param [properties] Properties to set
|
|
2266
|
+
*/
|
|
2267
|
+
constructor(properties?: sesame.v1.commands.ISetMetadataBindingsRequest);
|
|
1638
2268
|
|
|
1639
|
-
/**
|
|
1640
|
-
public
|
|
2269
|
+
/** SetMetadataBindingsRequest bindings. */
|
|
2270
|
+
public bindings: sesame.v1.commands.IMetadataBinding[];
|
|
1641
2271
|
|
|
1642
2272
|
/**
|
|
1643
|
-
* Creates a new
|
|
2273
|
+
* Creates a new SetMetadataBindingsRequest instance using the specified properties.
|
|
1644
2274
|
* @param [properties] Properties to set
|
|
1645
|
-
* @returns
|
|
2275
|
+
* @returns SetMetadataBindingsRequest instance
|
|
1646
2276
|
*/
|
|
1647
|
-
public static create(properties?: sesame.v1.commands.
|
|
2277
|
+
public static create(properties?: sesame.v1.commands.ISetMetadataBindingsRequest): sesame.v1.commands.SetMetadataBindingsRequest;
|
|
1648
2278
|
|
|
1649
2279
|
/**
|
|
1650
|
-
* Encodes the specified
|
|
1651
|
-
* @param message
|
|
2280
|
+
* Encodes the specified SetMetadataBindingsRequest message. Does not implicitly {@link sesame.v1.commands.SetMetadataBindingsRequest.verify|verify} messages.
|
|
2281
|
+
* @param message SetMetadataBindingsRequest message or plain object to encode
|
|
1652
2282
|
* @param [writer] Writer to encode to
|
|
1653
2283
|
* @returns Writer
|
|
1654
2284
|
*/
|
|
1655
|
-
public static encode(message: sesame.v1.commands.
|
|
2285
|
+
public static encode(message: sesame.v1.commands.ISetMetadataBindingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1656
2286
|
|
|
1657
2287
|
/**
|
|
1658
|
-
* Encodes the specified
|
|
1659
|
-
* @param message
|
|
2288
|
+
* Encodes the specified SetMetadataBindingsRequest message, length delimited. Does not implicitly {@link sesame.v1.commands.SetMetadataBindingsRequest.verify|verify} messages.
|
|
2289
|
+
* @param message SetMetadataBindingsRequest message or plain object to encode
|
|
1660
2290
|
* @param [writer] Writer to encode to
|
|
1661
2291
|
* @returns Writer
|
|
1662
2292
|
*/
|
|
1663
|
-
public static encodeDelimited(message: sesame.v1.commands.
|
|
2293
|
+
public static encodeDelimited(message: sesame.v1.commands.ISetMetadataBindingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1664
2294
|
|
|
1665
2295
|
/**
|
|
1666
|
-
* Decodes a
|
|
2296
|
+
* Decodes a SetMetadataBindingsRequest message from the specified reader or buffer.
|
|
1667
2297
|
* @param reader Reader or buffer to decode from
|
|
1668
2298
|
* @param [length] Message length if known beforehand
|
|
1669
|
-
* @returns
|
|
2299
|
+
* @returns SetMetadataBindingsRequest
|
|
1670
2300
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1671
2301
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1672
2302
|
*/
|
|
1673
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.commands.
|
|
2303
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.commands.SetMetadataBindingsRequest;
|
|
1674
2304
|
|
|
1675
2305
|
/**
|
|
1676
|
-
* Decodes a
|
|
2306
|
+
* Decodes a SetMetadataBindingsRequest message from the specified reader or buffer, length delimited.
|
|
1677
2307
|
* @param reader Reader or buffer to decode from
|
|
1678
|
-
* @returns
|
|
2308
|
+
* @returns SetMetadataBindingsRequest
|
|
1679
2309
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1680
2310
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1681
2311
|
*/
|
|
1682
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.commands.
|
|
2312
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.commands.SetMetadataBindingsRequest;
|
|
1683
2313
|
|
|
1684
2314
|
/**
|
|
1685
|
-
* Verifies a
|
|
2315
|
+
* Verifies a SetMetadataBindingsRequest message.
|
|
1686
2316
|
* @param message Plain object to verify
|
|
1687
2317
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
1688
2318
|
*/
|
|
1689
2319
|
public static verify(message: { [k: string]: any }): (string|null);
|
|
1690
2320
|
|
|
1691
2321
|
/**
|
|
1692
|
-
* Creates a
|
|
2322
|
+
* Creates a SetMetadataBindingsRequest message from a plain object. Also converts values to their respective internal types.
|
|
1693
2323
|
* @param object Plain object
|
|
1694
|
-
* @returns
|
|
2324
|
+
* @returns SetMetadataBindingsRequest
|
|
1695
2325
|
*/
|
|
1696
|
-
public static fromObject(object: { [k: string]: any }): sesame.v1.commands.
|
|
2326
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.commands.SetMetadataBindingsRequest;
|
|
1697
2327
|
|
|
1698
2328
|
/**
|
|
1699
|
-
* Creates a plain object from a
|
|
1700
|
-
* @param message
|
|
2329
|
+
* Creates a plain object from a SetMetadataBindingsRequest message. Also converts values to other types if specified.
|
|
2330
|
+
* @param message SetMetadataBindingsRequest
|
|
1701
2331
|
* @param [options] Conversion options
|
|
1702
2332
|
* @returns Plain object
|
|
1703
2333
|
*/
|
|
1704
|
-
public static toObject(message: sesame.v1.commands.
|
|
2334
|
+
public static toObject(message: sesame.v1.commands.SetMetadataBindingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1705
2335
|
|
|
1706
2336
|
/**
|
|
1707
|
-
* Converts this
|
|
2337
|
+
* Converts this SetMetadataBindingsRequest to JSON.
|
|
1708
2338
|
* @returns JSON object
|
|
1709
2339
|
*/
|
|
1710
2340
|
public toJSON(): { [k: string]: any };
|
|
1711
2341
|
|
|
1712
2342
|
/**
|
|
1713
|
-
* Gets the default type url for
|
|
2343
|
+
* Gets the default type url for SetMetadataBindingsRequest
|
|
1714
2344
|
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1715
2345
|
* @returns The default type url
|
|
1716
2346
|
*/
|
|
@@ -1929,15 +2559,20 @@ export namespace sesame {
|
|
|
1929
2559
|
VIDEO_FORMAT_1080_60P = 4
|
|
1930
2560
|
}
|
|
1931
2561
|
|
|
1932
|
-
/**
|
|
1933
|
-
enum
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
2562
|
+
/** CodecType enum. */
|
|
2563
|
+
enum CodecType {
|
|
2564
|
+
CODEC_TYPE_UNSPECIFIED = 0,
|
|
2565
|
+
CODEC_TYPE_VIDEO_VP8 = 1,
|
|
2566
|
+
CODEC_TYPE_VIDEO_VP9 = 2,
|
|
2567
|
+
CODEC_TYPE_VIDEO_AVC = 3,
|
|
2568
|
+
CODEC_TYPE_VIDEO_HEVC = 4,
|
|
2569
|
+
CODEC_TYPE_VIDEO_AV1 = 5,
|
|
2570
|
+
CODEC_TYPE_VIDEO_PRORES = 6,
|
|
2571
|
+
CODEC_TYPE_VIDEO_DNXHR = 7,
|
|
2572
|
+
CODEC_TYPE_AUDIO_OPUS = 64,
|
|
2573
|
+
CODEC_TYPE_AUDIO_AAC = 65,
|
|
2574
|
+
CODEC_TYPE_AUDIO_PCM = 66,
|
|
2575
|
+
CODEC_TYPE_AUDIO_PCM_S24LE = 67
|
|
1941
2576
|
}
|
|
1942
2577
|
|
|
1943
2578
|
/** Properties of an Empty. */
|
|
@@ -2162,7 +2797,7 @@ export namespace sesame {
|
|
|
2162
2797
|
boolValue?: (boolean|null);
|
|
2163
2798
|
|
|
2164
2799
|
/** PropValue intValue */
|
|
2165
|
-
intValue?: (number|null);
|
|
2800
|
+
intValue?: (number|Long|null);
|
|
2166
2801
|
}
|
|
2167
2802
|
|
|
2168
2803
|
/** Represents a PropValue. */
|
|
@@ -2187,7 +2822,7 @@ export namespace sesame {
|
|
|
2187
2822
|
public boolValue?: (boolean|null);
|
|
2188
2823
|
|
|
2189
2824
|
/** PropValue intValue. */
|
|
2190
|
-
public intValue?: (number|null);
|
|
2825
|
+
public intValue?: (number|Long|null);
|
|
2191
2826
|
|
|
2192
2827
|
/** PropValue value. */
|
|
2193
2828
|
public value?: ("floatValue"|"vec4Value"|"stringValue"|"boolValue"|"intValue");
|
|
@@ -2698,6 +3333,7 @@ export namespace sesame {
|
|
|
2698
3333
|
EVENT_TOPIC_TRANSPORT = 2,
|
|
2699
3334
|
EVENT_TOPIC_CALLBACK = 3,
|
|
2700
3335
|
EVENT_TOPIC_JOB = 4,
|
|
3336
|
+
EVENT_TOPIC_METADATA = 5,
|
|
2701
3337
|
EVENT_TOPIC_RECORDER = 6
|
|
2702
3338
|
}
|
|
2703
3339
|
}
|
|
@@ -2757,14 +3393,6 @@ export namespace sesame {
|
|
|
2757
3393
|
SOURCE_TRANSPORT_CMD_SET_SCRUBBING = 15
|
|
2758
3394
|
}
|
|
2759
3395
|
|
|
2760
|
-
/** DecoderType enum. */
|
|
2761
|
-
enum DecoderType {
|
|
2762
|
-
DECODER_TYPE_UNSPECIFIED = 0,
|
|
2763
|
-
DECODER_TYPE_H264 = 1,
|
|
2764
|
-
DECODER_TYPE_HEVC = 2,
|
|
2765
|
-
DECODER_TYPE_AV1 = 3
|
|
2766
|
-
}
|
|
2767
|
-
|
|
2768
3396
|
/** SourceTextureSize enum. */
|
|
2769
3397
|
enum SourceTextureSize {
|
|
2770
3398
|
SOURCE_TEXTURE_SIZE_UNSPECIFIED = 0,
|
|
@@ -3246,8 +3874,8 @@ export namespace sesame {
|
|
|
3246
3874
|
/** RecorderSourceConfig recorderId */
|
|
3247
3875
|
recorderId?: (string|null);
|
|
3248
3876
|
|
|
3249
|
-
/** RecorderSourceConfig
|
|
3250
|
-
|
|
3877
|
+
/** RecorderSourceConfig codec */
|
|
3878
|
+
codec?: (sesame.v1.common.CodecType|null);
|
|
3251
3879
|
}
|
|
3252
3880
|
|
|
3253
3881
|
/** Represents a RecorderSourceConfig. */
|
|
@@ -3262,8 +3890,8 @@ export namespace sesame {
|
|
|
3262
3890
|
/** RecorderSourceConfig recorderId. */
|
|
3263
3891
|
public recorderId: string;
|
|
3264
3892
|
|
|
3265
|
-
/** RecorderSourceConfig
|
|
3266
|
-
public
|
|
3893
|
+
/** RecorderSourceConfig codec. */
|
|
3894
|
+
public codec: sesame.v1.common.CodecType;
|
|
3267
3895
|
|
|
3268
3896
|
/**
|
|
3269
3897
|
* Creates a new RecorderSourceConfig instance using the specified properties.
|
|
@@ -3969,6 +4597,9 @@ export namespace sesame {
|
|
|
3969
4597
|
|
|
3970
4598
|
/** WebsocketSourceConfig decodeBufferFrames */
|
|
3971
4599
|
decodeBufferFrames?: (number|null);
|
|
4600
|
+
|
|
4601
|
+
/** WebsocketSourceConfig incomingMetadataTracks */
|
|
4602
|
+
incomingMetadataTracks?: (string[]|null);
|
|
3972
4603
|
}
|
|
3973
4604
|
|
|
3974
4605
|
/** Represents a WebsocketSourceConfig. */
|
|
@@ -3986,6 +4617,9 @@ export namespace sesame {
|
|
|
3986
4617
|
/** WebsocketSourceConfig decodeBufferFrames. */
|
|
3987
4618
|
public decodeBufferFrames: number;
|
|
3988
4619
|
|
|
4620
|
+
/** WebsocketSourceConfig incomingMetadataTracks. */
|
|
4621
|
+
public incomingMetadataTracks: string[];
|
|
4622
|
+
|
|
3989
4623
|
/**
|
|
3990
4624
|
* Creates a new WebsocketSourceConfig instance using the specified properties.
|
|
3991
4625
|
* @param [properties] Properties to set
|
|
@@ -4078,6 +4712,9 @@ export namespace sesame {
|
|
|
4078
4712
|
|
|
4079
4713
|
/** MoqSourceConfig decodeBufferFrames */
|
|
4080
4714
|
decodeBufferFrames?: (number|null);
|
|
4715
|
+
|
|
4716
|
+
/** MoqSourceConfig incomingMetadataTracks */
|
|
4717
|
+
incomingMetadataTracks?: (string[]|null);
|
|
4081
4718
|
}
|
|
4082
4719
|
|
|
4083
4720
|
/** Represents a MoqSourceConfig. */
|
|
@@ -4101,6 +4738,9 @@ export namespace sesame {
|
|
|
4101
4738
|
/** MoqSourceConfig decodeBufferFrames. */
|
|
4102
4739
|
public decodeBufferFrames: number;
|
|
4103
4740
|
|
|
4741
|
+
/** MoqSourceConfig incomingMetadataTracks. */
|
|
4742
|
+
public incomingMetadataTracks: string[];
|
|
4743
|
+
|
|
4104
4744
|
/**
|
|
4105
4745
|
* Creates a new MoqSourceConfig instance using the specified properties.
|
|
4106
4746
|
* @param [properties] Properties to set
|
|
@@ -5397,6 +6037,109 @@ export namespace sesame {
|
|
|
5397
6037
|
*/
|
|
5398
6038
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5399
6039
|
}
|
|
6040
|
+
|
|
6041
|
+
/** Properties of a TransportControlRequest. */
|
|
6042
|
+
interface ITransportControlRequest {
|
|
6043
|
+
|
|
6044
|
+
/** TransportControlRequest cmdType */
|
|
6045
|
+
cmdType?: (sesame.v1.sources.SourceTransportCommandType|null);
|
|
6046
|
+
|
|
6047
|
+
/** TransportControlRequest value */
|
|
6048
|
+
value?: (sesame.v1.common.IPropValue|null);
|
|
6049
|
+
}
|
|
6050
|
+
|
|
6051
|
+
/** Represents a TransportControlRequest. */
|
|
6052
|
+
class TransportControlRequest implements ITransportControlRequest {
|
|
6053
|
+
|
|
6054
|
+
/**
|
|
6055
|
+
* Constructs a new TransportControlRequest.
|
|
6056
|
+
* @param [properties] Properties to set
|
|
6057
|
+
*/
|
|
6058
|
+
constructor(properties?: sesame.v1.sources.ITransportControlRequest);
|
|
6059
|
+
|
|
6060
|
+
/** TransportControlRequest cmdType. */
|
|
6061
|
+
public cmdType: sesame.v1.sources.SourceTransportCommandType;
|
|
6062
|
+
|
|
6063
|
+
/** TransportControlRequest value. */
|
|
6064
|
+
public value?: (sesame.v1.common.IPropValue|null);
|
|
6065
|
+
|
|
6066
|
+
/**
|
|
6067
|
+
* Creates a new TransportControlRequest instance using the specified properties.
|
|
6068
|
+
* @param [properties] Properties to set
|
|
6069
|
+
* @returns TransportControlRequest instance
|
|
6070
|
+
*/
|
|
6071
|
+
public static create(properties?: sesame.v1.sources.ITransportControlRequest): sesame.v1.sources.TransportControlRequest;
|
|
6072
|
+
|
|
6073
|
+
/**
|
|
6074
|
+
* Encodes the specified TransportControlRequest message. Does not implicitly {@link sesame.v1.sources.TransportControlRequest.verify|verify} messages.
|
|
6075
|
+
* @param message TransportControlRequest message or plain object to encode
|
|
6076
|
+
* @param [writer] Writer to encode to
|
|
6077
|
+
* @returns Writer
|
|
6078
|
+
*/
|
|
6079
|
+
public static encode(message: sesame.v1.sources.ITransportControlRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6080
|
+
|
|
6081
|
+
/**
|
|
6082
|
+
* Encodes the specified TransportControlRequest message, length delimited. Does not implicitly {@link sesame.v1.sources.TransportControlRequest.verify|verify} messages.
|
|
6083
|
+
* @param message TransportControlRequest message or plain object to encode
|
|
6084
|
+
* @param [writer] Writer to encode to
|
|
6085
|
+
* @returns Writer
|
|
6086
|
+
*/
|
|
6087
|
+
public static encodeDelimited(message: sesame.v1.sources.ITransportControlRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
6088
|
+
|
|
6089
|
+
/**
|
|
6090
|
+
* Decodes a TransportControlRequest message from the specified reader or buffer.
|
|
6091
|
+
* @param reader Reader or buffer to decode from
|
|
6092
|
+
* @param [length] Message length if known beforehand
|
|
6093
|
+
* @returns TransportControlRequest
|
|
6094
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6095
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6096
|
+
*/
|
|
6097
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.sources.TransportControlRequest;
|
|
6098
|
+
|
|
6099
|
+
/**
|
|
6100
|
+
* Decodes a TransportControlRequest message from the specified reader or buffer, length delimited.
|
|
6101
|
+
* @param reader Reader or buffer to decode from
|
|
6102
|
+
* @returns TransportControlRequest
|
|
6103
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
6104
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
6105
|
+
*/
|
|
6106
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.sources.TransportControlRequest;
|
|
6107
|
+
|
|
6108
|
+
/**
|
|
6109
|
+
* Verifies a TransportControlRequest message.
|
|
6110
|
+
* @param message Plain object to verify
|
|
6111
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
6112
|
+
*/
|
|
6113
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
6114
|
+
|
|
6115
|
+
/**
|
|
6116
|
+
* Creates a TransportControlRequest message from a plain object. Also converts values to their respective internal types.
|
|
6117
|
+
* @param object Plain object
|
|
6118
|
+
* @returns TransportControlRequest
|
|
6119
|
+
*/
|
|
6120
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.sources.TransportControlRequest;
|
|
6121
|
+
|
|
6122
|
+
/**
|
|
6123
|
+
* Creates a plain object from a TransportControlRequest message. Also converts values to other types if specified.
|
|
6124
|
+
* @param message TransportControlRequest
|
|
6125
|
+
* @param [options] Conversion options
|
|
6126
|
+
* @returns Plain object
|
|
6127
|
+
*/
|
|
6128
|
+
public static toObject(message: sesame.v1.sources.TransportControlRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
6129
|
+
|
|
6130
|
+
/**
|
|
6131
|
+
* Converts this TransportControlRequest to JSON.
|
|
6132
|
+
* @returns JSON object
|
|
6133
|
+
*/
|
|
6134
|
+
public toJSON(): { [k: string]: any };
|
|
6135
|
+
|
|
6136
|
+
/**
|
|
6137
|
+
* Gets the default type url for TransportControlRequest
|
|
6138
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
6139
|
+
* @returns The default type url
|
|
6140
|
+
*/
|
|
6141
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
6142
|
+
}
|
|
5400
6143
|
}
|
|
5401
6144
|
|
|
5402
6145
|
/** Namespace recorder. */
|
|
@@ -8933,6 +9676,127 @@ export namespace sesame {
|
|
|
8933
9676
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
8934
9677
|
}
|
|
8935
9678
|
|
|
9679
|
+
/** Properties of a MetadataEvent. */
|
|
9680
|
+
interface IMetadataEvent {
|
|
9681
|
+
|
|
9682
|
+
/** MetadataEvent sourceNodeId */
|
|
9683
|
+
sourceNodeId?: (string|null);
|
|
9684
|
+
|
|
9685
|
+
/** MetadataEvent trackName */
|
|
9686
|
+
trackName?: (string|null);
|
|
9687
|
+
|
|
9688
|
+
/** MetadataEvent targetNodeId */
|
|
9689
|
+
targetNodeId?: (string|null);
|
|
9690
|
+
|
|
9691
|
+
/** MetadataEvent metadataId */
|
|
9692
|
+
metadataId?: (string|null);
|
|
9693
|
+
|
|
9694
|
+
/** MetadataEvent payload */
|
|
9695
|
+
payload?: (Uint8Array|null);
|
|
9696
|
+
}
|
|
9697
|
+
|
|
9698
|
+
/** Represents a MetadataEvent. */
|
|
9699
|
+
class MetadataEvent implements IMetadataEvent {
|
|
9700
|
+
|
|
9701
|
+
/**
|
|
9702
|
+
* Constructs a new MetadataEvent.
|
|
9703
|
+
* @param [properties] Properties to set
|
|
9704
|
+
*/
|
|
9705
|
+
constructor(properties?: sesame.v1.status.IMetadataEvent);
|
|
9706
|
+
|
|
9707
|
+
/** MetadataEvent sourceNodeId. */
|
|
9708
|
+
public sourceNodeId: string;
|
|
9709
|
+
|
|
9710
|
+
/** MetadataEvent trackName. */
|
|
9711
|
+
public trackName: string;
|
|
9712
|
+
|
|
9713
|
+
/** MetadataEvent targetNodeId. */
|
|
9714
|
+
public targetNodeId: string;
|
|
9715
|
+
|
|
9716
|
+
/** MetadataEvent metadataId. */
|
|
9717
|
+
public metadataId: string;
|
|
9718
|
+
|
|
9719
|
+
/** MetadataEvent payload. */
|
|
9720
|
+
public payload: Uint8Array;
|
|
9721
|
+
|
|
9722
|
+
/**
|
|
9723
|
+
* Creates a new MetadataEvent instance using the specified properties.
|
|
9724
|
+
* @param [properties] Properties to set
|
|
9725
|
+
* @returns MetadataEvent instance
|
|
9726
|
+
*/
|
|
9727
|
+
public static create(properties?: sesame.v1.status.IMetadataEvent): sesame.v1.status.MetadataEvent;
|
|
9728
|
+
|
|
9729
|
+
/**
|
|
9730
|
+
* Encodes the specified MetadataEvent message. Does not implicitly {@link sesame.v1.status.MetadataEvent.verify|verify} messages.
|
|
9731
|
+
* @param message MetadataEvent message or plain object to encode
|
|
9732
|
+
* @param [writer] Writer to encode to
|
|
9733
|
+
* @returns Writer
|
|
9734
|
+
*/
|
|
9735
|
+
public static encode(message: sesame.v1.status.IMetadataEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9736
|
+
|
|
9737
|
+
/**
|
|
9738
|
+
* Encodes the specified MetadataEvent message, length delimited. Does not implicitly {@link sesame.v1.status.MetadataEvent.verify|verify} messages.
|
|
9739
|
+
* @param message MetadataEvent message or plain object to encode
|
|
9740
|
+
* @param [writer] Writer to encode to
|
|
9741
|
+
* @returns Writer
|
|
9742
|
+
*/
|
|
9743
|
+
public static encodeDelimited(message: sesame.v1.status.IMetadataEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9744
|
+
|
|
9745
|
+
/**
|
|
9746
|
+
* Decodes a MetadataEvent message from the specified reader or buffer.
|
|
9747
|
+
* @param reader Reader or buffer to decode from
|
|
9748
|
+
* @param [length] Message length if known beforehand
|
|
9749
|
+
* @returns MetadataEvent
|
|
9750
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9751
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9752
|
+
*/
|
|
9753
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.status.MetadataEvent;
|
|
9754
|
+
|
|
9755
|
+
/**
|
|
9756
|
+
* Decodes a MetadataEvent message from the specified reader or buffer, length delimited.
|
|
9757
|
+
* @param reader Reader or buffer to decode from
|
|
9758
|
+
* @returns MetadataEvent
|
|
9759
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9760
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9761
|
+
*/
|
|
9762
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.status.MetadataEvent;
|
|
9763
|
+
|
|
9764
|
+
/**
|
|
9765
|
+
* Verifies a MetadataEvent message.
|
|
9766
|
+
* @param message Plain object to verify
|
|
9767
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
9768
|
+
*/
|
|
9769
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
9770
|
+
|
|
9771
|
+
/**
|
|
9772
|
+
* Creates a MetadataEvent message from a plain object. Also converts values to their respective internal types.
|
|
9773
|
+
* @param object Plain object
|
|
9774
|
+
* @returns MetadataEvent
|
|
9775
|
+
*/
|
|
9776
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.status.MetadataEvent;
|
|
9777
|
+
|
|
9778
|
+
/**
|
|
9779
|
+
* Creates a plain object from a MetadataEvent message. Also converts values to other types if specified.
|
|
9780
|
+
* @param message MetadataEvent
|
|
9781
|
+
* @param [options] Conversion options
|
|
9782
|
+
* @returns Plain object
|
|
9783
|
+
*/
|
|
9784
|
+
public static toObject(message: sesame.v1.status.MetadataEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9785
|
+
|
|
9786
|
+
/**
|
|
9787
|
+
* Converts this MetadataEvent to JSON.
|
|
9788
|
+
* @returns JSON object
|
|
9789
|
+
*/
|
|
9790
|
+
public toJSON(): { [k: string]: any };
|
|
9791
|
+
|
|
9792
|
+
/**
|
|
9793
|
+
* Gets the default type url for MetadataEvent
|
|
9794
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9795
|
+
* @returns The default type url
|
|
9796
|
+
*/
|
|
9797
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9798
|
+
}
|
|
9799
|
+
|
|
8936
9800
|
/** Properties of an Event. */
|
|
8937
9801
|
interface IEvent {
|
|
8938
9802
|
|
|
@@ -8948,6 +9812,9 @@ export namespace sesame {
|
|
|
8948
9812
|
/** Event jobEvent */
|
|
8949
9813
|
jobEvent?: (sesame.v1.jobs.IJob|null);
|
|
8950
9814
|
|
|
9815
|
+
/** Event metadataEvent */
|
|
9816
|
+
metadataEvent?: (sesame.v1.status.IMetadataEvent|null);
|
|
9817
|
+
|
|
8951
9818
|
/** Event recorderEvent */
|
|
8952
9819
|
recorderEvent?: (sesame.v1.recorder.IRecorderEvent|null);
|
|
8953
9820
|
}
|
|
@@ -8973,11 +9840,14 @@ export namespace sesame {
|
|
|
8973
9840
|
/** Event jobEvent. */
|
|
8974
9841
|
public jobEvent?: (sesame.v1.jobs.IJob|null);
|
|
8975
9842
|
|
|
9843
|
+
/** Event metadataEvent. */
|
|
9844
|
+
public metadataEvent?: (sesame.v1.status.IMetadataEvent|null);
|
|
9845
|
+
|
|
8976
9846
|
/** Event recorderEvent. */
|
|
8977
9847
|
public recorderEvent?: (sesame.v1.recorder.IRecorderEvent|null);
|
|
8978
9848
|
|
|
8979
9849
|
/** Event event. */
|
|
8980
|
-
public event?: ("errorEvent"|"transportEvent"|"callbackEvent"|"jobEvent"|"recorderEvent");
|
|
9850
|
+
public event?: ("errorEvent"|"transportEvent"|"callbackEvent"|"jobEvent"|"metadataEvent"|"recorderEvent");
|
|
8981
9851
|
|
|
8982
9852
|
/**
|
|
8983
9853
|
* Creates a new Event instance using the specified properties.
|
|
@@ -9194,8 +10064,8 @@ export namespace sesame {
|
|
|
9194
10064
|
/** Properties of an EncoderConfig. */
|
|
9195
10065
|
interface IEncoderConfig {
|
|
9196
10066
|
|
|
9197
|
-
/** EncoderConfig
|
|
9198
|
-
|
|
10067
|
+
/** EncoderConfig codec */
|
|
10068
|
+
codec?: (sesame.v1.common.CodecType|null);
|
|
9199
10069
|
|
|
9200
10070
|
/** EncoderConfig preset */
|
|
9201
10071
|
preset?: (sesame.v1.outputs.EncoderPreset|null);
|
|
@@ -9225,8 +10095,8 @@ export namespace sesame {
|
|
|
9225
10095
|
*/
|
|
9226
10096
|
constructor(properties?: sesame.v1.outputs.IEncoderConfig);
|
|
9227
10097
|
|
|
9228
|
-
/** EncoderConfig
|
|
9229
|
-
public
|
|
10098
|
+
/** EncoderConfig codec. */
|
|
10099
|
+
public codec: sesame.v1.common.CodecType;
|
|
9230
10100
|
|
|
9231
10101
|
/** EncoderConfig preset. */
|
|
9232
10102
|
public preset: sesame.v1.outputs.EncoderPreset;
|
|
@@ -9441,6 +10311,9 @@ export namespace sesame {
|
|
|
9441
10311
|
|
|
9442
10312
|
/** EncodedWebSocketOutputConfig encoder */
|
|
9443
10313
|
encoder?: (sesame.v1.outputs.IEncoderConfig|null);
|
|
10314
|
+
|
|
10315
|
+
/** EncodedWebSocketOutputConfig metadataTracks */
|
|
10316
|
+
metadataTracks?: (string[]|null);
|
|
9444
10317
|
}
|
|
9445
10318
|
|
|
9446
10319
|
/** Represents an EncodedWebSocketOutputConfig. */
|
|
@@ -9458,6 +10331,9 @@ export namespace sesame {
|
|
|
9458
10331
|
/** EncodedWebSocketOutputConfig encoder. */
|
|
9459
10332
|
public encoder?: (sesame.v1.outputs.IEncoderConfig|null);
|
|
9460
10333
|
|
|
10334
|
+
/** EncodedWebSocketOutputConfig metadataTracks. */
|
|
10335
|
+
public metadataTracks: string[];
|
|
10336
|
+
|
|
9461
10337
|
/**
|
|
9462
10338
|
* Creates a new EncodedWebSocketOutputConfig instance using the specified properties.
|
|
9463
10339
|
* @param [properties] Properties to set
|
|
@@ -9907,6 +10783,9 @@ export namespace sesame {
|
|
|
9907
10783
|
|
|
9908
10784
|
/** EncodedMoqOutputConfig key */
|
|
9909
10785
|
key?: (string|null);
|
|
10786
|
+
|
|
10787
|
+
/** EncodedMoqOutputConfig metadataTracks */
|
|
10788
|
+
metadataTracks?: (string[]|null);
|
|
9910
10789
|
}
|
|
9911
10790
|
|
|
9912
10791
|
/** Represents an EncodedMoqOutputConfig. */
|
|
@@ -9930,6 +10809,9 @@ export namespace sesame {
|
|
|
9930
10809
|
/** EncodedMoqOutputConfig key. */
|
|
9931
10810
|
public key: string;
|
|
9932
10811
|
|
|
10812
|
+
/** EncodedMoqOutputConfig metadataTracks. */
|
|
10813
|
+
public metadataTracks: string[];
|
|
10814
|
+
|
|
9933
10815
|
/**
|
|
9934
10816
|
* Creates a new EncodedMoqOutputConfig instance using the specified properties.
|
|
9935
10817
|
* @param [properties] Properties to set
|
|
@@ -11690,15 +12572,6 @@ export namespace sesame {
|
|
|
11690
12572
|
CONTAINER_FORMAT_MXF = 4
|
|
11691
12573
|
}
|
|
11692
12574
|
|
|
11693
|
-
/** AudioCodecId enum. */
|
|
11694
|
-
enum AudioCodecId {
|
|
11695
|
-
AUDIO_CODEC_ID_UNSPECIFIED = 0,
|
|
11696
|
-
AUDIO_CODEC_ID_AAC = 1,
|
|
11697
|
-
AUDIO_CODEC_ID_OPUS = 2,
|
|
11698
|
-
AUDIO_CODEC_ID_PCM_S16LE = 3,
|
|
11699
|
-
AUDIO_CODEC_ID_PCM_S24LE = 4
|
|
11700
|
-
}
|
|
11701
|
-
|
|
11702
12575
|
/** RateControlMode enum. */
|
|
11703
12576
|
enum RateControlMode {
|
|
11704
12577
|
RATE_CONTROL_MODE_UNSPECIFIED = 0,
|
|
@@ -12453,7 +13326,7 @@ export namespace sesame {
|
|
|
12453
13326
|
container?: (sesame.v1.jobs.ContainerFormat|null);
|
|
12454
13327
|
|
|
12455
13328
|
/** ExportConfiguration videoCodec */
|
|
12456
|
-
videoCodec?: (sesame.v1.common.
|
|
13329
|
+
videoCodec?: (sesame.v1.common.CodecType|null);
|
|
12457
13330
|
|
|
12458
13331
|
/** ExportConfiguration width */
|
|
12459
13332
|
width?: (number|null);
|
|
@@ -12504,7 +13377,7 @@ export namespace sesame {
|
|
|
12504
13377
|
fullRange?: (boolean|null);
|
|
12505
13378
|
|
|
12506
13379
|
/** ExportConfiguration audioCodec */
|
|
12507
|
-
audioCodec?: (sesame.v1.
|
|
13380
|
+
audioCodec?: (sesame.v1.common.CodecType|null);
|
|
12508
13381
|
|
|
12509
13382
|
/** ExportConfiguration audioBitrateKbps */
|
|
12510
13383
|
audioBitrateKbps?: (number|null);
|
|
@@ -12535,7 +13408,7 @@ export namespace sesame {
|
|
|
12535
13408
|
public container: sesame.v1.jobs.ContainerFormat;
|
|
12536
13409
|
|
|
12537
13410
|
/** ExportConfiguration videoCodec. */
|
|
12538
|
-
public videoCodec: sesame.v1.common.
|
|
13411
|
+
public videoCodec: sesame.v1.common.CodecType;
|
|
12539
13412
|
|
|
12540
13413
|
/** ExportConfiguration width. */
|
|
12541
13414
|
public width: number;
|
|
@@ -12586,7 +13459,7 @@ export namespace sesame {
|
|
|
12586
13459
|
public fullRange: boolean;
|
|
12587
13460
|
|
|
12588
13461
|
/** ExportConfiguration audioCodec. */
|
|
12589
|
-
public audioCodec: sesame.v1.
|
|
13462
|
+
public audioCodec: sesame.v1.common.CodecType;
|
|
12590
13463
|
|
|
12591
13464
|
/** ExportConfiguration audioBitrateKbps. */
|
|
12592
13465
|
public audioBitrateKbps: number;
|
|
@@ -13448,6 +14321,115 @@ export namespace sesame {
|
|
|
13448
14321
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13449
14322
|
}
|
|
13450
14323
|
|
|
14324
|
+
/** Properties of a PublishMetadataRequest. */
|
|
14325
|
+
interface IPublishMetadataRequest {
|
|
14326
|
+
|
|
14327
|
+
/** PublishMetadataRequest nodeId */
|
|
14328
|
+
nodeId?: (string|null);
|
|
14329
|
+
|
|
14330
|
+
/** PublishMetadataRequest metadataId */
|
|
14331
|
+
metadataId?: (string|null);
|
|
14332
|
+
|
|
14333
|
+
/** PublishMetadataRequest payload */
|
|
14334
|
+
payload?: (Uint8Array|null);
|
|
14335
|
+
}
|
|
14336
|
+
|
|
14337
|
+
/** Represents a PublishMetadataRequest. */
|
|
14338
|
+
class PublishMetadataRequest implements IPublishMetadataRequest {
|
|
14339
|
+
|
|
14340
|
+
/**
|
|
14341
|
+
* Constructs a new PublishMetadataRequest.
|
|
14342
|
+
* @param [properties] Properties to set
|
|
14343
|
+
*/
|
|
14344
|
+
constructor(properties?: sesame.v1.rpc.IPublishMetadataRequest);
|
|
14345
|
+
|
|
14346
|
+
/** PublishMetadataRequest nodeId. */
|
|
14347
|
+
public nodeId: string;
|
|
14348
|
+
|
|
14349
|
+
/** PublishMetadataRequest metadataId. */
|
|
14350
|
+
public metadataId: string;
|
|
14351
|
+
|
|
14352
|
+
/** PublishMetadataRequest payload. */
|
|
14353
|
+
public payload: Uint8Array;
|
|
14354
|
+
|
|
14355
|
+
/**
|
|
14356
|
+
* Creates a new PublishMetadataRequest instance using the specified properties.
|
|
14357
|
+
* @param [properties] Properties to set
|
|
14358
|
+
* @returns PublishMetadataRequest instance
|
|
14359
|
+
*/
|
|
14360
|
+
public static create(properties?: sesame.v1.rpc.IPublishMetadataRequest): sesame.v1.rpc.PublishMetadataRequest;
|
|
14361
|
+
|
|
14362
|
+
/**
|
|
14363
|
+
* Encodes the specified PublishMetadataRequest message. Does not implicitly {@link sesame.v1.rpc.PublishMetadataRequest.verify|verify} messages.
|
|
14364
|
+
* @param message PublishMetadataRequest message or plain object to encode
|
|
14365
|
+
* @param [writer] Writer to encode to
|
|
14366
|
+
* @returns Writer
|
|
14367
|
+
*/
|
|
14368
|
+
public static encode(message: sesame.v1.rpc.IPublishMetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14369
|
+
|
|
14370
|
+
/**
|
|
14371
|
+
* Encodes the specified PublishMetadataRequest message, length delimited. Does not implicitly {@link sesame.v1.rpc.PublishMetadataRequest.verify|verify} messages.
|
|
14372
|
+
* @param message PublishMetadataRequest message or plain object to encode
|
|
14373
|
+
* @param [writer] Writer to encode to
|
|
14374
|
+
* @returns Writer
|
|
14375
|
+
*/
|
|
14376
|
+
public static encodeDelimited(message: sesame.v1.rpc.IPublishMetadataRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14377
|
+
|
|
14378
|
+
/**
|
|
14379
|
+
* Decodes a PublishMetadataRequest message from the specified reader or buffer.
|
|
14380
|
+
* @param reader Reader or buffer to decode from
|
|
14381
|
+
* @param [length] Message length if known beforehand
|
|
14382
|
+
* @returns PublishMetadataRequest
|
|
14383
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14384
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14385
|
+
*/
|
|
14386
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.rpc.PublishMetadataRequest;
|
|
14387
|
+
|
|
14388
|
+
/**
|
|
14389
|
+
* Decodes a PublishMetadataRequest message from the specified reader or buffer, length delimited.
|
|
14390
|
+
* @param reader Reader or buffer to decode from
|
|
14391
|
+
* @returns PublishMetadataRequest
|
|
14392
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14393
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14394
|
+
*/
|
|
14395
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.rpc.PublishMetadataRequest;
|
|
14396
|
+
|
|
14397
|
+
/**
|
|
14398
|
+
* Verifies a PublishMetadataRequest message.
|
|
14399
|
+
* @param message Plain object to verify
|
|
14400
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14401
|
+
*/
|
|
14402
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14403
|
+
|
|
14404
|
+
/**
|
|
14405
|
+
* Creates a PublishMetadataRequest message from a plain object. Also converts values to their respective internal types.
|
|
14406
|
+
* @param object Plain object
|
|
14407
|
+
* @returns PublishMetadataRequest
|
|
14408
|
+
*/
|
|
14409
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.rpc.PublishMetadataRequest;
|
|
14410
|
+
|
|
14411
|
+
/**
|
|
14412
|
+
* Creates a plain object from a PublishMetadataRequest message. Also converts values to other types if specified.
|
|
14413
|
+
* @param message PublishMetadataRequest
|
|
14414
|
+
* @param [options] Conversion options
|
|
14415
|
+
* @returns Plain object
|
|
14416
|
+
*/
|
|
14417
|
+
public static toObject(message: sesame.v1.rpc.PublishMetadataRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14418
|
+
|
|
14419
|
+
/**
|
|
14420
|
+
* Converts this PublishMetadataRequest to JSON.
|
|
14421
|
+
* @returns JSON object
|
|
14422
|
+
*/
|
|
14423
|
+
public toJSON(): { [k: string]: any };
|
|
14424
|
+
|
|
14425
|
+
/**
|
|
14426
|
+
* Gets the default type url for PublishMetadataRequest
|
|
14427
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
14428
|
+
* @returns The default type url
|
|
14429
|
+
*/
|
|
14430
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
14431
|
+
}
|
|
14432
|
+
|
|
13451
14433
|
/** Represents a SesameAPIService */
|
|
13452
14434
|
class SesameAPIService extends $protobuf.rpc.Service {
|
|
13453
14435
|
|
|
@@ -13635,6 +14617,20 @@ export namespace sesame {
|
|
|
13635
14617
|
* @returns Promise
|
|
13636
14618
|
*/
|
|
13637
14619
|
public requestIODeviceList(request: sesame.v1.common.IEmpty): Promise<sesame.v1.status.IODeviceListResponse>;
|
|
14620
|
+
|
|
14621
|
+
/**
|
|
14622
|
+
* Calls PublishMetadata.
|
|
14623
|
+
* @param request PublishMetadataRequest message or plain object
|
|
14624
|
+
* @param callback Node-style callback called with the error, if any, and Empty
|
|
14625
|
+
*/
|
|
14626
|
+
public publishMetadata(request: sesame.v1.rpc.IPublishMetadataRequest, callback: sesame.v1.rpc.SesameAPIService.PublishMetadataCallback): void;
|
|
14627
|
+
|
|
14628
|
+
/**
|
|
14629
|
+
* Calls PublishMetadata.
|
|
14630
|
+
* @param request PublishMetadataRequest message or plain object
|
|
14631
|
+
* @returns Promise
|
|
14632
|
+
*/
|
|
14633
|
+
public publishMetadata(request: sesame.v1.rpc.IPublishMetadataRequest): Promise<sesame.v1.common.Empty>;
|
|
13638
14634
|
}
|
|
13639
14635
|
|
|
13640
14636
|
namespace SesameAPIService {
|
|
@@ -13722,6 +14718,13 @@ export namespace sesame {
|
|
|
13722
14718
|
* @param [response] IODeviceListResponse
|
|
13723
14719
|
*/
|
|
13724
14720
|
type RequestIODeviceListCallback = (error: (Error|null), response?: sesame.v1.status.IODeviceListResponse) => void;
|
|
14721
|
+
|
|
14722
|
+
/**
|
|
14723
|
+
* Callback as used by {@link sesame.v1.rpc.SesameAPIService#publishMetadata}.
|
|
14724
|
+
* @param error Error, if any
|
|
14725
|
+
* @param [response] Empty
|
|
14726
|
+
*/
|
|
14727
|
+
type PublishMetadataCallback = (error: (Error|null), response?: sesame.v1.common.Empty) => void;
|
|
13725
14728
|
}
|
|
13726
14729
|
}
|
|
13727
14730
|
|
|
@@ -13739,24 +14742,11 @@ export namespace sesame {
|
|
|
13739
14742
|
FRAME_TYPE_DATA = 6
|
|
13740
14743
|
}
|
|
13741
14744
|
|
|
13742
|
-
/** CodecType enum. */
|
|
13743
|
-
enum CodecType {
|
|
13744
|
-
CODEC_TYPE_UNSPECIFIED = 0,
|
|
13745
|
-
CODEC_TYPE_VIDEO_VP8 = 1,
|
|
13746
|
-
CODEC_TYPE_VIDEO_VP9 = 2,
|
|
13747
|
-
CODEC_TYPE_VIDEO_AVC = 3,
|
|
13748
|
-
CODEC_TYPE_VIDEO_HEVC = 4,
|
|
13749
|
-
CODEC_TYPE_VIDEO_AV1 = 5,
|
|
13750
|
-
CODEC_TYPE_AUDIO_OPUS = 64,
|
|
13751
|
-
CODEC_TYPE_AUDIO_AAC = 65,
|
|
13752
|
-
CODEC_TYPE_AUDIO_PCM = 66
|
|
13753
|
-
}
|
|
13754
|
-
|
|
13755
14745
|
/** Properties of a MediaCodecData. */
|
|
13756
14746
|
interface IMediaCodecData {
|
|
13757
14747
|
|
|
13758
14748
|
/** MediaCodecData codecType */
|
|
13759
|
-
codecType?: (sesame.v1.
|
|
14749
|
+
codecType?: (sesame.v1.common.CodecType|null);
|
|
13760
14750
|
|
|
13761
14751
|
/** MediaCodecData sampleRate */
|
|
13762
14752
|
sampleRate?: (number|null);
|
|
@@ -13796,7 +14786,7 @@ export namespace sesame {
|
|
|
13796
14786
|
constructor(properties?: sesame.v1.wire.IMediaCodecData);
|
|
13797
14787
|
|
|
13798
14788
|
/** MediaCodecData codecType. */
|
|
13799
|
-
public codecType: sesame.v1.
|
|
14789
|
+
public codecType: sesame.v1.common.CodecType;
|
|
13800
14790
|
|
|
13801
14791
|
/** MediaCodecData sampleRate. */
|
|
13802
14792
|
public sampleRate: number;
|
|
@@ -13903,26 +14893,242 @@ export namespace sesame {
|
|
|
13903
14893
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
13904
14894
|
}
|
|
13905
14895
|
|
|
13906
|
-
/** Properties of a
|
|
13907
|
-
interface
|
|
13908
|
-
|
|
13909
|
-
/** FrameHeader type */
|
|
13910
|
-
type?: (sesame.v1.wire.FrameType|null);
|
|
14896
|
+
/** Properties of a MediaFrameData. */
|
|
14897
|
+
interface IMediaFrameData {
|
|
13911
14898
|
|
|
13912
|
-
/**
|
|
14899
|
+
/** MediaFrameData pts */
|
|
13913
14900
|
pts?: (number|Long|null);
|
|
13914
14901
|
|
|
13915
|
-
/**
|
|
13916
|
-
id?: (number|Long|null);
|
|
13917
|
-
|
|
13918
|
-
/** FrameHeader keyframe */
|
|
14902
|
+
/** MediaFrameData keyframe */
|
|
13919
14903
|
keyframe?: (boolean|null);
|
|
13920
14904
|
|
|
13921
|
-
/**
|
|
14905
|
+
/** MediaFrameData codecData */
|
|
13922
14906
|
codecData?: (sesame.v1.wire.IMediaCodecData|null);
|
|
14907
|
+
}
|
|
14908
|
+
|
|
14909
|
+
/** Represents a MediaFrameData. */
|
|
14910
|
+
class MediaFrameData implements IMediaFrameData {
|
|
14911
|
+
|
|
14912
|
+
/**
|
|
14913
|
+
* Constructs a new MediaFrameData.
|
|
14914
|
+
* @param [properties] Properties to set
|
|
14915
|
+
*/
|
|
14916
|
+
constructor(properties?: sesame.v1.wire.IMediaFrameData);
|
|
14917
|
+
|
|
14918
|
+
/** MediaFrameData pts. */
|
|
14919
|
+
public pts: (number|Long);
|
|
14920
|
+
|
|
14921
|
+
/** MediaFrameData keyframe. */
|
|
14922
|
+
public keyframe: boolean;
|
|
14923
|
+
|
|
14924
|
+
/** MediaFrameData codecData. */
|
|
14925
|
+
public codecData?: (sesame.v1.wire.IMediaCodecData|null);
|
|
14926
|
+
|
|
14927
|
+
/**
|
|
14928
|
+
* Creates a new MediaFrameData instance using the specified properties.
|
|
14929
|
+
* @param [properties] Properties to set
|
|
14930
|
+
* @returns MediaFrameData instance
|
|
14931
|
+
*/
|
|
14932
|
+
public static create(properties?: sesame.v1.wire.IMediaFrameData): sesame.v1.wire.MediaFrameData;
|
|
14933
|
+
|
|
14934
|
+
/**
|
|
14935
|
+
* Encodes the specified MediaFrameData message. Does not implicitly {@link sesame.v1.wire.MediaFrameData.verify|verify} messages.
|
|
14936
|
+
* @param message MediaFrameData message or plain object to encode
|
|
14937
|
+
* @param [writer] Writer to encode to
|
|
14938
|
+
* @returns Writer
|
|
14939
|
+
*/
|
|
14940
|
+
public static encode(message: sesame.v1.wire.IMediaFrameData, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14941
|
+
|
|
14942
|
+
/**
|
|
14943
|
+
* Encodes the specified MediaFrameData message, length delimited. Does not implicitly {@link sesame.v1.wire.MediaFrameData.verify|verify} messages.
|
|
14944
|
+
* @param message MediaFrameData message or plain object to encode
|
|
14945
|
+
* @param [writer] Writer to encode to
|
|
14946
|
+
* @returns Writer
|
|
14947
|
+
*/
|
|
14948
|
+
public static encodeDelimited(message: sesame.v1.wire.IMediaFrameData, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
14949
|
+
|
|
14950
|
+
/**
|
|
14951
|
+
* Decodes a MediaFrameData message from the specified reader or buffer.
|
|
14952
|
+
* @param reader Reader or buffer to decode from
|
|
14953
|
+
* @param [length] Message length if known beforehand
|
|
14954
|
+
* @returns MediaFrameData
|
|
14955
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14956
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14957
|
+
*/
|
|
14958
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.wire.MediaFrameData;
|
|
14959
|
+
|
|
14960
|
+
/**
|
|
14961
|
+
* Decodes a MediaFrameData message from the specified reader or buffer, length delimited.
|
|
14962
|
+
* @param reader Reader or buffer to decode from
|
|
14963
|
+
* @returns MediaFrameData
|
|
14964
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14965
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14966
|
+
*/
|
|
14967
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.wire.MediaFrameData;
|
|
14968
|
+
|
|
14969
|
+
/**
|
|
14970
|
+
* Verifies a MediaFrameData message.
|
|
14971
|
+
* @param message Plain object to verify
|
|
14972
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
14973
|
+
*/
|
|
14974
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
14975
|
+
|
|
14976
|
+
/**
|
|
14977
|
+
* Creates a MediaFrameData message from a plain object. Also converts values to their respective internal types.
|
|
14978
|
+
* @param object Plain object
|
|
14979
|
+
* @returns MediaFrameData
|
|
14980
|
+
*/
|
|
14981
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.wire.MediaFrameData;
|
|
14982
|
+
|
|
14983
|
+
/**
|
|
14984
|
+
* Creates a plain object from a MediaFrameData message. Also converts values to other types if specified.
|
|
14985
|
+
* @param message MediaFrameData
|
|
14986
|
+
* @param [options] Conversion options
|
|
14987
|
+
* @returns Plain object
|
|
14988
|
+
*/
|
|
14989
|
+
public static toObject(message: sesame.v1.wire.MediaFrameData, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
14990
|
+
|
|
14991
|
+
/**
|
|
14992
|
+
* Converts this MediaFrameData to JSON.
|
|
14993
|
+
* @returns JSON object
|
|
14994
|
+
*/
|
|
14995
|
+
public toJSON(): { [k: string]: any };
|
|
14996
|
+
|
|
14997
|
+
/**
|
|
14998
|
+
* Gets the default type url for MediaFrameData
|
|
14999
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
15000
|
+
* @returns The default type url
|
|
15001
|
+
*/
|
|
15002
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
15003
|
+
}
|
|
15004
|
+
|
|
15005
|
+
/** DataType enum. */
|
|
15006
|
+
enum DataType {
|
|
15007
|
+
DATA_TYPE_UNSPECIFIED = 0,
|
|
15008
|
+
DATA_TYPE_JSON = 1,
|
|
15009
|
+
DATA_TYPE_TRANSPORT_STATUS = 2,
|
|
15010
|
+
DATA_TYPE_AUDIO_STATE = 3,
|
|
15011
|
+
DATA_TYPE_TRANSPORT_CONTROL = 4,
|
|
15012
|
+
DATA_TYPE_AUDIO_CONTROL = 5
|
|
15013
|
+
}
|
|
15014
|
+
|
|
15015
|
+
/** Properties of a DataFrameData. */
|
|
15016
|
+
interface IDataFrameData {
|
|
15017
|
+
|
|
15018
|
+
/** DataFrameData dataType */
|
|
15019
|
+
dataType?: (sesame.v1.wire.DataType|null);
|
|
15020
|
+
|
|
15021
|
+
/** DataFrameData trackName */
|
|
15022
|
+
trackName?: (string|null);
|
|
15023
|
+
}
|
|
15024
|
+
|
|
15025
|
+
/** Represents a DataFrameData. */
|
|
15026
|
+
class DataFrameData implements IDataFrameData {
|
|
15027
|
+
|
|
15028
|
+
/**
|
|
15029
|
+
* Constructs a new DataFrameData.
|
|
15030
|
+
* @param [properties] Properties to set
|
|
15031
|
+
*/
|
|
15032
|
+
constructor(properties?: sesame.v1.wire.IDataFrameData);
|
|
15033
|
+
|
|
15034
|
+
/** DataFrameData dataType. */
|
|
15035
|
+
public dataType: sesame.v1.wire.DataType;
|
|
15036
|
+
|
|
15037
|
+
/** DataFrameData trackName. */
|
|
15038
|
+
public trackName: string;
|
|
15039
|
+
|
|
15040
|
+
/**
|
|
15041
|
+
* Creates a new DataFrameData instance using the specified properties.
|
|
15042
|
+
* @param [properties] Properties to set
|
|
15043
|
+
* @returns DataFrameData instance
|
|
15044
|
+
*/
|
|
15045
|
+
public static create(properties?: sesame.v1.wire.IDataFrameData): sesame.v1.wire.DataFrameData;
|
|
15046
|
+
|
|
15047
|
+
/**
|
|
15048
|
+
* Encodes the specified DataFrameData message. Does not implicitly {@link sesame.v1.wire.DataFrameData.verify|verify} messages.
|
|
15049
|
+
* @param message DataFrameData message or plain object to encode
|
|
15050
|
+
* @param [writer] Writer to encode to
|
|
15051
|
+
* @returns Writer
|
|
15052
|
+
*/
|
|
15053
|
+
public static encode(message: sesame.v1.wire.IDataFrameData, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15054
|
+
|
|
15055
|
+
/**
|
|
15056
|
+
* Encodes the specified DataFrameData message, length delimited. Does not implicitly {@link sesame.v1.wire.DataFrameData.verify|verify} messages.
|
|
15057
|
+
* @param message DataFrameData message or plain object to encode
|
|
15058
|
+
* @param [writer] Writer to encode to
|
|
15059
|
+
* @returns Writer
|
|
15060
|
+
*/
|
|
15061
|
+
public static encodeDelimited(message: sesame.v1.wire.IDataFrameData, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
15062
|
+
|
|
15063
|
+
/**
|
|
15064
|
+
* Decodes a DataFrameData message from the specified reader or buffer.
|
|
15065
|
+
* @param reader Reader or buffer to decode from
|
|
15066
|
+
* @param [length] Message length if known beforehand
|
|
15067
|
+
* @returns DataFrameData
|
|
15068
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15069
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15070
|
+
*/
|
|
15071
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.wire.DataFrameData;
|
|
15072
|
+
|
|
15073
|
+
/**
|
|
15074
|
+
* Decodes a DataFrameData message from the specified reader or buffer, length delimited.
|
|
15075
|
+
* @param reader Reader or buffer to decode from
|
|
15076
|
+
* @returns DataFrameData
|
|
15077
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15078
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15079
|
+
*/
|
|
15080
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.wire.DataFrameData;
|
|
15081
|
+
|
|
15082
|
+
/**
|
|
15083
|
+
* Verifies a DataFrameData message.
|
|
15084
|
+
* @param message Plain object to verify
|
|
15085
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
15086
|
+
*/
|
|
15087
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
15088
|
+
|
|
15089
|
+
/**
|
|
15090
|
+
* Creates a DataFrameData message from a plain object. Also converts values to their respective internal types.
|
|
15091
|
+
* @param object Plain object
|
|
15092
|
+
* @returns DataFrameData
|
|
15093
|
+
*/
|
|
15094
|
+
public static fromObject(object: { [k: string]: any }): sesame.v1.wire.DataFrameData;
|
|
15095
|
+
|
|
15096
|
+
/**
|
|
15097
|
+
* Creates a plain object from a DataFrameData message. Also converts values to other types if specified.
|
|
15098
|
+
* @param message DataFrameData
|
|
15099
|
+
* @param [options] Conversion options
|
|
15100
|
+
* @returns Plain object
|
|
15101
|
+
*/
|
|
15102
|
+
public static toObject(message: sesame.v1.wire.DataFrameData, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
15103
|
+
|
|
15104
|
+
/**
|
|
15105
|
+
* Converts this DataFrameData to JSON.
|
|
15106
|
+
* @returns JSON object
|
|
15107
|
+
*/
|
|
15108
|
+
public toJSON(): { [k: string]: any };
|
|
15109
|
+
|
|
15110
|
+
/**
|
|
15111
|
+
* Gets the default type url for DataFrameData
|
|
15112
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
15113
|
+
* @returns The default type url
|
|
15114
|
+
*/
|
|
15115
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
15116
|
+
}
|
|
15117
|
+
|
|
15118
|
+
/** Properties of a FrameHeader. */
|
|
15119
|
+
interface IFrameHeader {
|
|
15120
|
+
|
|
15121
|
+
/** FrameHeader type */
|
|
15122
|
+
type?: (sesame.v1.wire.FrameType|null);
|
|
13923
15123
|
|
|
13924
15124
|
/** FrameHeader routingMetadata */
|
|
13925
15125
|
routingMetadata?: (string|null);
|
|
15126
|
+
|
|
15127
|
+
/** FrameHeader media */
|
|
15128
|
+
media?: (sesame.v1.wire.IMediaFrameData|null);
|
|
15129
|
+
|
|
15130
|
+
/** FrameHeader data */
|
|
15131
|
+
data?: (sesame.v1.wire.IDataFrameData|null);
|
|
13926
15132
|
}
|
|
13927
15133
|
|
|
13928
15134
|
/** Represents a FrameHeader. */
|
|
@@ -13937,20 +15143,17 @@ export namespace sesame {
|
|
|
13937
15143
|
/** FrameHeader type. */
|
|
13938
15144
|
public type: sesame.v1.wire.FrameType;
|
|
13939
15145
|
|
|
13940
|
-
/** FrameHeader
|
|
13941
|
-
public
|
|
13942
|
-
|
|
13943
|
-
/** FrameHeader id. */
|
|
13944
|
-
public id: (number|Long);
|
|
15146
|
+
/** FrameHeader routingMetadata. */
|
|
15147
|
+
public routingMetadata: string;
|
|
13945
15148
|
|
|
13946
|
-
/** FrameHeader
|
|
13947
|
-
public
|
|
15149
|
+
/** FrameHeader media. */
|
|
15150
|
+
public media?: (sesame.v1.wire.IMediaFrameData|null);
|
|
13948
15151
|
|
|
13949
|
-
/** FrameHeader
|
|
13950
|
-
public
|
|
15152
|
+
/** FrameHeader data. */
|
|
15153
|
+
public data?: (sesame.v1.wire.IDataFrameData|null);
|
|
13951
15154
|
|
|
13952
|
-
/** FrameHeader
|
|
13953
|
-
public
|
|
15155
|
+
/** FrameHeader typeData. */
|
|
15156
|
+
public typeData?: ("media"|"data");
|
|
13954
15157
|
|
|
13955
15158
|
/**
|
|
13956
15159
|
* Creates a new FrameHeader instance using the specified properties.
|