@stinkycomputing/sesame-api-client 1.4.2-alpha.1 → 1.5.0-alpha.2

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.
@@ -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
 
@@ -1630,6 +1948,9 @@ export namespace sesame {
1630
1948
  /** CommandListItem setSourceMetadata. */
1631
1949
  public setSourceMetadata?: (sesame.v1.sources.ISourceMetadataSetRequest|null);
1632
1950
 
1951
+ /** CommandListItem setMetadataBindings. */
1952
+ public setMetadataBindings?: (sesame.v1.commands.ISetMetadataBindingsRequest|null);
1953
+
1633
1954
  /** CommandListItem transactionId. */
1634
1955
  public transactionId?: (number|null);
1635
1956
 
@@ -1637,7 +1958,7 @@ export namespace sesame {
1637
1958
  public transactionDeps: number[];
1638
1959
 
1639
1960
  /** CommandListItem item. */
1640
- 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");
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");
1641
1962
 
1642
1963
  /**
1643
1964
  * Creates a new CommandListItem instance using the specified properties.
@@ -1660,57 +1981,366 @@ export namespace sesame {
1660
1981
  * @param [writer] Writer to encode to
1661
1982
  * @returns Writer
1662
1983
  */
1663
- public static encodeDelimited(message: sesame.v1.commands.ICommandListItem, writer?: $protobuf.Writer): $protobuf.Writer;
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;
2197
+
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;
2207
+
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;
2216
+
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);
2223
+
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;
2230
+
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 };
2238
+
2239
+ /**
2240
+ * Converts this MetadataBinding to JSON.
2241
+ * @returns JSON object
2242
+ */
2243
+ public toJSON(): { [k: string]: any };
2244
+
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
+ }
2252
+
2253
+ /** Properties of a SetMetadataBindingsRequest. */
2254
+ interface ISetMetadataBindingsRequest {
2255
+
2256
+ /** SetMetadataBindingsRequest bindings */
2257
+ bindings?: (sesame.v1.commands.IMetadataBinding[]|null);
2258
+ }
2259
+
2260
+ /** Represents a SetMetadataBindingsRequest. */
2261
+ class SetMetadataBindingsRequest implements ISetMetadataBindingsRequest {
2262
+
2263
+ /**
2264
+ * Constructs a new SetMetadataBindingsRequest.
2265
+ * @param [properties] Properties to set
2266
+ */
2267
+ constructor(properties?: sesame.v1.commands.ISetMetadataBindingsRequest);
2268
+
2269
+ /** SetMetadataBindingsRequest bindings. */
2270
+ public bindings: sesame.v1.commands.IMetadataBinding[];
2271
+
2272
+ /**
2273
+ * Creates a new SetMetadataBindingsRequest instance using the specified properties.
2274
+ * @param [properties] Properties to set
2275
+ * @returns SetMetadataBindingsRequest instance
2276
+ */
2277
+ public static create(properties?: sesame.v1.commands.ISetMetadataBindingsRequest): sesame.v1.commands.SetMetadataBindingsRequest;
2278
+
2279
+ /**
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
2282
+ * @param [writer] Writer to encode to
2283
+ * @returns Writer
2284
+ */
2285
+ public static encode(message: sesame.v1.commands.ISetMetadataBindingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2286
+
2287
+ /**
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
2290
+ * @param [writer] Writer to encode to
2291
+ * @returns Writer
2292
+ */
2293
+ public static encodeDelimited(message: sesame.v1.commands.ISetMetadataBindingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1664
2294
 
1665
2295
  /**
1666
- * Decodes a CommandListItem message from the specified reader or buffer.
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 CommandListItem
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.CommandListItem;
2303
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.commands.SetMetadataBindingsRequest;
1674
2304
 
1675
2305
  /**
1676
- * Decodes a CommandListItem message from the specified reader or buffer, length delimited.
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 CommandListItem
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.CommandListItem;
2312
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.commands.SetMetadataBindingsRequest;
1683
2313
 
1684
2314
  /**
1685
- * Verifies a CommandListItem message.
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 CommandListItem message from a plain object. Also converts values to their respective internal types.
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 CommandListItem
2324
+ * @returns SetMetadataBindingsRequest
1695
2325
  */
1696
- public static fromObject(object: { [k: string]: any }): sesame.v1.commands.CommandListItem;
2326
+ public static fromObject(object: { [k: string]: any }): sesame.v1.commands.SetMetadataBindingsRequest;
1697
2327
 
1698
2328
  /**
1699
- * Creates a plain object from a CommandListItem message. Also converts values to other types if specified.
1700
- * @param message CommandListItem
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.CommandListItem, options?: $protobuf.IConversionOptions): { [k: string]: any };
2334
+ public static toObject(message: sesame.v1.commands.SetMetadataBindingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1705
2335
 
1706
2336
  /**
1707
- * Converts this CommandListItem to JSON.
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 CommandListItem
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
  */
@@ -2696,14 +3326,6 @@ export namespace sesame {
2696
3326
  public static getTypeUrl(typeUrlPrefix?: string): string;
2697
3327
  }
2698
3328
 
2699
- /** DataTrackType enum. */
2700
- enum DataTrackType {
2701
- DATA_TRACK_TYPE_UNSPECIFIED = 0,
2702
- DATA_TRACK_TYPE_JSON = 1,
2703
- DATA_TRACK_TYPE_SERVER_STATE_TRANSPORT = 2,
2704
- DATA_TRACK_TYPE_SERVER_STATE_AUDIO = 3
2705
- }
2706
-
2707
3329
  /** EventTopic enum. */
2708
3330
  enum EventTopic {
2709
3331
  EVENT_TOPIC_UNSPECIFIED = 0,
@@ -2711,7 +3333,7 @@ export namespace sesame {
2711
3333
  EVENT_TOPIC_TRANSPORT = 2,
2712
3334
  EVENT_TOPIC_CALLBACK = 3,
2713
3335
  EVENT_TOPIC_JOB = 4,
2714
- EVENT_TOPIC_DATA_TRACK = 5,
3336
+ EVENT_TOPIC_METADATA = 5,
2715
3337
  EVENT_TOPIC_RECORDER = 6
2716
3338
  }
2717
3339
  }
@@ -3967,109 +4589,6 @@ export namespace sesame {
3967
4589
  public static getTypeUrl(typeUrlPrefix?: string): string;
3968
4590
  }
3969
4591
 
3970
- /** Properties of a SourceDataTrack. */
3971
- interface ISourceDataTrack {
3972
-
3973
- /** SourceDataTrack type */
3974
- type?: (sesame.v1.common.DataTrackType|null);
3975
-
3976
- /** SourceDataTrack name */
3977
- name?: (string|null);
3978
- }
3979
-
3980
- /** Represents a SourceDataTrack. */
3981
- class SourceDataTrack implements ISourceDataTrack {
3982
-
3983
- /**
3984
- * Constructs a new SourceDataTrack.
3985
- * @param [properties] Properties to set
3986
- */
3987
- constructor(properties?: sesame.v1.sources.ISourceDataTrack);
3988
-
3989
- /** SourceDataTrack type. */
3990
- public type: sesame.v1.common.DataTrackType;
3991
-
3992
- /** SourceDataTrack name. */
3993
- public name: string;
3994
-
3995
- /**
3996
- * Creates a new SourceDataTrack instance using the specified properties.
3997
- * @param [properties] Properties to set
3998
- * @returns SourceDataTrack instance
3999
- */
4000
- public static create(properties?: sesame.v1.sources.ISourceDataTrack): sesame.v1.sources.SourceDataTrack;
4001
-
4002
- /**
4003
- * Encodes the specified SourceDataTrack message. Does not implicitly {@link sesame.v1.sources.SourceDataTrack.verify|verify} messages.
4004
- * @param message SourceDataTrack message or plain object to encode
4005
- * @param [writer] Writer to encode to
4006
- * @returns Writer
4007
- */
4008
- public static encode(message: sesame.v1.sources.ISourceDataTrack, writer?: $protobuf.Writer): $protobuf.Writer;
4009
-
4010
- /**
4011
- * Encodes the specified SourceDataTrack message, length delimited. Does not implicitly {@link sesame.v1.sources.SourceDataTrack.verify|verify} messages.
4012
- * @param message SourceDataTrack message or plain object to encode
4013
- * @param [writer] Writer to encode to
4014
- * @returns Writer
4015
- */
4016
- public static encodeDelimited(message: sesame.v1.sources.ISourceDataTrack, writer?: $protobuf.Writer): $protobuf.Writer;
4017
-
4018
- /**
4019
- * Decodes a SourceDataTrack message from the specified reader or buffer.
4020
- * @param reader Reader or buffer to decode from
4021
- * @param [length] Message length if known beforehand
4022
- * @returns SourceDataTrack
4023
- * @throws {Error} If the payload is not a reader or valid buffer
4024
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4025
- */
4026
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.sources.SourceDataTrack;
4027
-
4028
- /**
4029
- * Decodes a SourceDataTrack message from the specified reader or buffer, length delimited.
4030
- * @param reader Reader or buffer to decode from
4031
- * @returns SourceDataTrack
4032
- * @throws {Error} If the payload is not a reader or valid buffer
4033
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
4034
- */
4035
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.sources.SourceDataTrack;
4036
-
4037
- /**
4038
- * Verifies a SourceDataTrack message.
4039
- * @param message Plain object to verify
4040
- * @returns `null` if valid, otherwise the reason why it is not
4041
- */
4042
- public static verify(message: { [k: string]: any }): (string|null);
4043
-
4044
- /**
4045
- * Creates a SourceDataTrack message from a plain object. Also converts values to their respective internal types.
4046
- * @param object Plain object
4047
- * @returns SourceDataTrack
4048
- */
4049
- public static fromObject(object: { [k: string]: any }): sesame.v1.sources.SourceDataTrack;
4050
-
4051
- /**
4052
- * Creates a plain object from a SourceDataTrack message. Also converts values to other types if specified.
4053
- * @param message SourceDataTrack
4054
- * @param [options] Conversion options
4055
- * @returns Plain object
4056
- */
4057
- public static toObject(message: sesame.v1.sources.SourceDataTrack, options?: $protobuf.IConversionOptions): { [k: string]: any };
4058
-
4059
- /**
4060
- * Converts this SourceDataTrack to JSON.
4061
- * @returns JSON object
4062
- */
4063
- public toJSON(): { [k: string]: any };
4064
-
4065
- /**
4066
- * Gets the default type url for SourceDataTrack
4067
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4068
- * @returns The default type url
4069
- */
4070
- public static getTypeUrl(typeUrlPrefix?: string): string;
4071
- }
4072
-
4073
4592
  /** Properties of a WebsocketSourceConfig. */
4074
4593
  interface IWebsocketSourceConfig {
4075
4594
 
@@ -4079,8 +4598,8 @@ export namespace sesame {
4079
4598
  /** WebsocketSourceConfig decodeBufferFrames */
4080
4599
  decodeBufferFrames?: (number|null);
4081
4600
 
4082
- /** WebsocketSourceConfig dataTracks */
4083
- dataTracks?: (sesame.v1.sources.ISourceDataTrack[]|null);
4601
+ /** WebsocketSourceConfig incomingMetadataTracks */
4602
+ incomingMetadataTracks?: (string[]|null);
4084
4603
  }
4085
4604
 
4086
4605
  /** Represents a WebsocketSourceConfig. */
@@ -4098,8 +4617,8 @@ export namespace sesame {
4098
4617
  /** WebsocketSourceConfig decodeBufferFrames. */
4099
4618
  public decodeBufferFrames: number;
4100
4619
 
4101
- /** WebsocketSourceConfig dataTracks. */
4102
- public dataTracks: sesame.v1.sources.ISourceDataTrack[];
4620
+ /** WebsocketSourceConfig incomingMetadataTracks. */
4621
+ public incomingMetadataTracks: string[];
4103
4622
 
4104
4623
  /**
4105
4624
  * Creates a new WebsocketSourceConfig instance using the specified properties.
@@ -4194,8 +4713,8 @@ export namespace sesame {
4194
4713
  /** MoqSourceConfig decodeBufferFrames */
4195
4714
  decodeBufferFrames?: (number|null);
4196
4715
 
4197
- /** MoqSourceConfig dataTracks */
4198
- dataTracks?: (sesame.v1.sources.ISourceDataTrack[]|null);
4716
+ /** MoqSourceConfig incomingMetadataTracks */
4717
+ incomingMetadataTracks?: (string[]|null);
4199
4718
  }
4200
4719
 
4201
4720
  /** Represents a MoqSourceConfig. */
@@ -4219,8 +4738,8 @@ export namespace sesame {
4219
4738
  /** MoqSourceConfig decodeBufferFrames. */
4220
4739
  public decodeBufferFrames: number;
4221
4740
 
4222
- /** MoqSourceConfig dataTracks. */
4223
- public dataTracks: sesame.v1.sources.ISourceDataTrack[];
4741
+ /** MoqSourceConfig incomingMetadataTracks. */
4742
+ public incomingMetadataTracks: string[];
4224
4743
 
4225
4744
  /**
4226
4745
  * Creates a new MoqSourceConfig instance using the specified properties.
@@ -5518,6 +6037,109 @@ export namespace sesame {
5518
6037
  */
5519
6038
  public static getTypeUrl(typeUrlPrefix?: string): string;
5520
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
+ }
5521
6143
  }
5522
6144
 
5523
6145
  /** Namespace recorder. */
@@ -8979,335 +9601,196 @@ export namespace sesame {
8979
9601
  /**
8980
9602
  * Creates a new TransportEvent instance using the specified properties.
8981
9603
  * @param [properties] Properties to set
8982
- * @returns TransportEvent instance
8983
- */
8984
- public static create(properties?: sesame.v1.status.ITransportEvent): sesame.v1.status.TransportEvent;
8985
-
8986
- /**
8987
- * Encodes the specified TransportEvent message. Does not implicitly {@link sesame.v1.status.TransportEvent.verify|verify} messages.
8988
- * @param message TransportEvent message or plain object to encode
8989
- * @param [writer] Writer to encode to
8990
- * @returns Writer
8991
- */
8992
- public static encode(message: sesame.v1.status.ITransportEvent, writer?: $protobuf.Writer): $protobuf.Writer;
8993
-
8994
- /**
8995
- * Encodes the specified TransportEvent message, length delimited. Does not implicitly {@link sesame.v1.status.TransportEvent.verify|verify} messages.
8996
- * @param message TransportEvent message or plain object to encode
8997
- * @param [writer] Writer to encode to
8998
- * @returns Writer
8999
- */
9000
- public static encodeDelimited(message: sesame.v1.status.ITransportEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9001
-
9002
- /**
9003
- * Decodes a TransportEvent message from the specified reader or buffer.
9004
- * @param reader Reader or buffer to decode from
9005
- * @param [length] Message length if known beforehand
9006
- * @returns TransportEvent
9007
- * @throws {Error} If the payload is not a reader or valid buffer
9008
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
9009
- */
9010
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.status.TransportEvent;
9011
-
9012
- /**
9013
- * Decodes a TransportEvent message from the specified reader or buffer, length delimited.
9014
- * @param reader Reader or buffer to decode from
9015
- * @returns TransportEvent
9016
- * @throws {Error} If the payload is not a reader or valid buffer
9017
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
9018
- */
9019
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.status.TransportEvent;
9020
-
9021
- /**
9022
- * Verifies a TransportEvent message.
9023
- * @param message Plain object to verify
9024
- * @returns `null` if valid, otherwise the reason why it is not
9025
- */
9026
- public static verify(message: { [k: string]: any }): (string|null);
9027
-
9028
- /**
9029
- * Creates a TransportEvent message from a plain object. Also converts values to their respective internal types.
9030
- * @param object Plain object
9031
- * @returns TransportEvent
9032
- */
9033
- public static fromObject(object: { [k: string]: any }): sesame.v1.status.TransportEvent;
9034
-
9035
- /**
9036
- * Creates a plain object from a TransportEvent message. Also converts values to other types if specified.
9037
- * @param message TransportEvent
9038
- * @param [options] Conversion options
9039
- * @returns Plain object
9040
- */
9041
- public static toObject(message: sesame.v1.status.TransportEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
9042
-
9043
- /**
9044
- * Converts this TransportEvent to JSON.
9045
- * @returns JSON object
9046
- */
9047
- public toJSON(): { [k: string]: any };
9048
-
9049
- /**
9050
- * Gets the default type url for TransportEvent
9051
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9052
- * @returns The default type url
9053
- */
9054
- public static getTypeUrl(typeUrlPrefix?: string): string;
9055
- }
9056
-
9057
- /** Properties of an AudioStateEvent. */
9058
- interface IAudioStateEvent {
9059
-
9060
- /** AudioStateEvent audioMixes */
9061
- audioMixes?: (sesame.v1.audio.IAudioMixerStatus[]|null);
9062
-
9063
- /** AudioStateEvent sources */
9064
- sources?: (sesame.v1.sources.ISourceStatus[]|null);
9065
-
9066
- /** AudioStateEvent outputs */
9067
- outputs?: (sesame.v1.outputs.IOutputStatus[]|null);
9068
-
9069
- /** AudioStateEvent frame */
9070
- frame?: (number|Long|null);
9071
-
9072
- /** AudioStateEvent timeUs */
9073
- timeUs?: (number|Long|null);
9074
- }
9075
-
9076
- /** Represents an AudioStateEvent. */
9077
- class AudioStateEvent implements IAudioStateEvent {
9078
-
9079
- /**
9080
- * Constructs a new AudioStateEvent.
9081
- * @param [properties] Properties to set
9082
- */
9083
- constructor(properties?: sesame.v1.status.IAudioStateEvent);
9084
-
9085
- /** AudioStateEvent audioMixes. */
9086
- public audioMixes: sesame.v1.audio.IAudioMixerStatus[];
9087
-
9088
- /** AudioStateEvent sources. */
9089
- public sources: sesame.v1.sources.ISourceStatus[];
9090
-
9091
- /** AudioStateEvent outputs. */
9092
- public outputs: sesame.v1.outputs.IOutputStatus[];
9093
-
9094
- /** AudioStateEvent frame. */
9095
- public frame: (number|Long);
9096
-
9097
- /** AudioStateEvent timeUs. */
9098
- public timeUs: (number|Long);
9099
-
9100
- /**
9101
- * Creates a new AudioStateEvent instance using the specified properties.
9102
- * @param [properties] Properties to set
9103
- * @returns AudioStateEvent instance
9604
+ * @returns TransportEvent instance
9104
9605
  */
9105
- public static create(properties?: sesame.v1.status.IAudioStateEvent): sesame.v1.status.AudioStateEvent;
9606
+ public static create(properties?: sesame.v1.status.ITransportEvent): sesame.v1.status.TransportEvent;
9106
9607
 
9107
9608
  /**
9108
- * Encodes the specified AudioStateEvent message. Does not implicitly {@link sesame.v1.status.AudioStateEvent.verify|verify} messages.
9109
- * @param message AudioStateEvent message or plain object to encode
9609
+ * Encodes the specified TransportEvent message. Does not implicitly {@link sesame.v1.status.TransportEvent.verify|verify} messages.
9610
+ * @param message TransportEvent message or plain object to encode
9110
9611
  * @param [writer] Writer to encode to
9111
9612
  * @returns Writer
9112
9613
  */
9113
- public static encode(message: sesame.v1.status.IAudioStateEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9614
+ public static encode(message: sesame.v1.status.ITransportEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9114
9615
 
9115
9616
  /**
9116
- * Encodes the specified AudioStateEvent message, length delimited. Does not implicitly {@link sesame.v1.status.AudioStateEvent.verify|verify} messages.
9117
- * @param message AudioStateEvent message or plain object to encode
9617
+ * Encodes the specified TransportEvent message, length delimited. Does not implicitly {@link sesame.v1.status.TransportEvent.verify|verify} messages.
9618
+ * @param message TransportEvent message or plain object to encode
9118
9619
  * @param [writer] Writer to encode to
9119
9620
  * @returns Writer
9120
9621
  */
9121
- public static encodeDelimited(message: sesame.v1.status.IAudioStateEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9622
+ public static encodeDelimited(message: sesame.v1.status.ITransportEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9122
9623
 
9123
9624
  /**
9124
- * Decodes an AudioStateEvent message from the specified reader or buffer.
9625
+ * Decodes a TransportEvent message from the specified reader or buffer.
9125
9626
  * @param reader Reader or buffer to decode from
9126
9627
  * @param [length] Message length if known beforehand
9127
- * @returns AudioStateEvent
9628
+ * @returns TransportEvent
9128
9629
  * @throws {Error} If the payload is not a reader or valid buffer
9129
9630
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
9130
9631
  */
9131
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.status.AudioStateEvent;
9632
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.status.TransportEvent;
9132
9633
 
9133
9634
  /**
9134
- * Decodes an AudioStateEvent message from the specified reader or buffer, length delimited.
9635
+ * Decodes a TransportEvent message from the specified reader or buffer, length delimited.
9135
9636
  * @param reader Reader or buffer to decode from
9136
- * @returns AudioStateEvent
9637
+ * @returns TransportEvent
9137
9638
  * @throws {Error} If the payload is not a reader or valid buffer
9138
9639
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
9139
9640
  */
9140
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.status.AudioStateEvent;
9641
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.status.TransportEvent;
9141
9642
 
9142
9643
  /**
9143
- * Verifies an AudioStateEvent message.
9644
+ * Verifies a TransportEvent message.
9144
9645
  * @param message Plain object to verify
9145
9646
  * @returns `null` if valid, otherwise the reason why it is not
9146
9647
  */
9147
9648
  public static verify(message: { [k: string]: any }): (string|null);
9148
9649
 
9149
9650
  /**
9150
- * Creates an AudioStateEvent message from a plain object. Also converts values to their respective internal types.
9651
+ * Creates a TransportEvent message from a plain object. Also converts values to their respective internal types.
9151
9652
  * @param object Plain object
9152
- * @returns AudioStateEvent
9653
+ * @returns TransportEvent
9153
9654
  */
9154
- public static fromObject(object: { [k: string]: any }): sesame.v1.status.AudioStateEvent;
9655
+ public static fromObject(object: { [k: string]: any }): sesame.v1.status.TransportEvent;
9155
9656
 
9156
9657
  /**
9157
- * Creates a plain object from an AudioStateEvent message. Also converts values to other types if specified.
9158
- * @param message AudioStateEvent
9658
+ * Creates a plain object from a TransportEvent message. Also converts values to other types if specified.
9659
+ * @param message TransportEvent
9159
9660
  * @param [options] Conversion options
9160
9661
  * @returns Plain object
9161
9662
  */
9162
- public static toObject(message: sesame.v1.status.AudioStateEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
9663
+ public static toObject(message: sesame.v1.status.TransportEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
9163
9664
 
9164
9665
  /**
9165
- * Converts this AudioStateEvent to JSON.
9666
+ * Converts this TransportEvent to JSON.
9166
9667
  * @returns JSON object
9167
9668
  */
9168
9669
  public toJSON(): { [k: string]: any };
9169
9670
 
9170
9671
  /**
9171
- * Gets the default type url for AudioStateEvent
9672
+ * Gets the default type url for TransportEvent
9172
9673
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9173
9674
  * @returns The default type url
9174
9675
  */
9175
9676
  public static getTypeUrl(typeUrlPrefix?: string): string;
9176
9677
  }
9177
9678
 
9178
- /** Properties of a DataTrackEvent. */
9179
- interface IDataTrackEvent {
9679
+ /** Properties of a MetadataEvent. */
9680
+ interface IMetadataEvent {
9180
9681
 
9181
- /** DataTrackEvent sourceId */
9182
- sourceId?: (string|null);
9682
+ /** MetadataEvent sourceNodeId */
9683
+ sourceNodeId?: (string|null);
9183
9684
 
9184
- /** DataTrackEvent trackName */
9685
+ /** MetadataEvent trackName */
9185
9686
  trackName?: (string|null);
9186
9687
 
9187
- /** DataTrackEvent trackType */
9188
- trackType?: (sesame.v1.common.DataTrackType|null);
9688
+ /** MetadataEvent targetNodeId */
9689
+ targetNodeId?: (string|null);
9189
9690
 
9190
- /** DataTrackEvent payload */
9191
- payload?: (Uint8Array|null);
9192
-
9193
- /** DataTrackEvent producerId */
9194
- producerId?: (string|null);
9195
-
9196
- /** DataTrackEvent sessionId */
9197
- sessionId?: (string|null);
9198
-
9199
- /** DataTrackEvent sequence */
9200
- sequence?: (number|Long|null);
9691
+ /** MetadataEvent metadataId */
9692
+ metadataId?: (string|null);
9201
9693
 
9202
- /** DataTrackEvent correlationId */
9203
- correlationId?: (string|null);
9694
+ /** MetadataEvent payload */
9695
+ payload?: (Uint8Array|null);
9204
9696
  }
9205
9697
 
9206
- /** Represents a DataTrackEvent. */
9207
- class DataTrackEvent implements IDataTrackEvent {
9698
+ /** Represents a MetadataEvent. */
9699
+ class MetadataEvent implements IMetadataEvent {
9208
9700
 
9209
9701
  /**
9210
- * Constructs a new DataTrackEvent.
9702
+ * Constructs a new MetadataEvent.
9211
9703
  * @param [properties] Properties to set
9212
9704
  */
9213
- constructor(properties?: sesame.v1.status.IDataTrackEvent);
9705
+ constructor(properties?: sesame.v1.status.IMetadataEvent);
9214
9706
 
9215
- /** DataTrackEvent sourceId. */
9216
- public sourceId: string;
9707
+ /** MetadataEvent sourceNodeId. */
9708
+ public sourceNodeId: string;
9217
9709
 
9218
- /** DataTrackEvent trackName. */
9710
+ /** MetadataEvent trackName. */
9219
9711
  public trackName: string;
9220
9712
 
9221
- /** DataTrackEvent trackType. */
9222
- public trackType: sesame.v1.common.DataTrackType;
9223
-
9224
- /** DataTrackEvent payload. */
9225
- public payload: Uint8Array;
9226
-
9227
- /** DataTrackEvent producerId. */
9228
- public producerId?: (string|null);
9229
-
9230
- /** DataTrackEvent sessionId. */
9231
- public sessionId?: (string|null);
9713
+ /** MetadataEvent targetNodeId. */
9714
+ public targetNodeId: string;
9232
9715
 
9233
- /** DataTrackEvent sequence. */
9234
- public sequence?: (number|Long|null);
9716
+ /** MetadataEvent metadataId. */
9717
+ public metadataId: string;
9235
9718
 
9236
- /** DataTrackEvent correlationId. */
9237
- public correlationId?: (string|null);
9719
+ /** MetadataEvent payload. */
9720
+ public payload: Uint8Array;
9238
9721
 
9239
9722
  /**
9240
- * Creates a new DataTrackEvent instance using the specified properties.
9723
+ * Creates a new MetadataEvent instance using the specified properties.
9241
9724
  * @param [properties] Properties to set
9242
- * @returns DataTrackEvent instance
9725
+ * @returns MetadataEvent instance
9243
9726
  */
9244
- public static create(properties?: sesame.v1.status.IDataTrackEvent): sesame.v1.status.DataTrackEvent;
9727
+ public static create(properties?: sesame.v1.status.IMetadataEvent): sesame.v1.status.MetadataEvent;
9245
9728
 
9246
9729
  /**
9247
- * Encodes the specified DataTrackEvent message. Does not implicitly {@link sesame.v1.status.DataTrackEvent.verify|verify} messages.
9248
- * @param message DataTrackEvent message or plain object to encode
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
9249
9732
  * @param [writer] Writer to encode to
9250
9733
  * @returns Writer
9251
9734
  */
9252
- public static encode(message: sesame.v1.status.IDataTrackEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9735
+ public static encode(message: sesame.v1.status.IMetadataEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9253
9736
 
9254
9737
  /**
9255
- * Encodes the specified DataTrackEvent message, length delimited. Does not implicitly {@link sesame.v1.status.DataTrackEvent.verify|verify} messages.
9256
- * @param message DataTrackEvent message or plain object to encode
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
9257
9740
  * @param [writer] Writer to encode to
9258
9741
  * @returns Writer
9259
9742
  */
9260
- public static encodeDelimited(message: sesame.v1.status.IDataTrackEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9743
+ public static encodeDelimited(message: sesame.v1.status.IMetadataEvent, writer?: $protobuf.Writer): $protobuf.Writer;
9261
9744
 
9262
9745
  /**
9263
- * Decodes a DataTrackEvent message from the specified reader or buffer.
9746
+ * Decodes a MetadataEvent message from the specified reader or buffer.
9264
9747
  * @param reader Reader or buffer to decode from
9265
9748
  * @param [length] Message length if known beforehand
9266
- * @returns DataTrackEvent
9749
+ * @returns MetadataEvent
9267
9750
  * @throws {Error} If the payload is not a reader or valid buffer
9268
9751
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
9269
9752
  */
9270
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.status.DataTrackEvent;
9753
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.status.MetadataEvent;
9271
9754
 
9272
9755
  /**
9273
- * Decodes a DataTrackEvent message from the specified reader or buffer, length delimited.
9756
+ * Decodes a MetadataEvent message from the specified reader or buffer, length delimited.
9274
9757
  * @param reader Reader or buffer to decode from
9275
- * @returns DataTrackEvent
9758
+ * @returns MetadataEvent
9276
9759
  * @throws {Error} If the payload is not a reader or valid buffer
9277
9760
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
9278
9761
  */
9279
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.status.DataTrackEvent;
9762
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.status.MetadataEvent;
9280
9763
 
9281
9764
  /**
9282
- * Verifies a DataTrackEvent message.
9765
+ * Verifies a MetadataEvent message.
9283
9766
  * @param message Plain object to verify
9284
9767
  * @returns `null` if valid, otherwise the reason why it is not
9285
9768
  */
9286
9769
  public static verify(message: { [k: string]: any }): (string|null);
9287
9770
 
9288
9771
  /**
9289
- * Creates a DataTrackEvent message from a plain object. Also converts values to their respective internal types.
9772
+ * Creates a MetadataEvent message from a plain object. Also converts values to their respective internal types.
9290
9773
  * @param object Plain object
9291
- * @returns DataTrackEvent
9774
+ * @returns MetadataEvent
9292
9775
  */
9293
- public static fromObject(object: { [k: string]: any }): sesame.v1.status.DataTrackEvent;
9776
+ public static fromObject(object: { [k: string]: any }): sesame.v1.status.MetadataEvent;
9294
9777
 
9295
9778
  /**
9296
- * Creates a plain object from a DataTrackEvent message. Also converts values to other types if specified.
9297
- * @param message DataTrackEvent
9779
+ * Creates a plain object from a MetadataEvent message. Also converts values to other types if specified.
9780
+ * @param message MetadataEvent
9298
9781
  * @param [options] Conversion options
9299
9782
  * @returns Plain object
9300
9783
  */
9301
- public static toObject(message: sesame.v1.status.DataTrackEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
9784
+ public static toObject(message: sesame.v1.status.MetadataEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
9302
9785
 
9303
9786
  /**
9304
- * Converts this DataTrackEvent to JSON.
9787
+ * Converts this MetadataEvent to JSON.
9305
9788
  * @returns JSON object
9306
9789
  */
9307
9790
  public toJSON(): { [k: string]: any };
9308
9791
 
9309
9792
  /**
9310
- * Gets the default type url for DataTrackEvent
9793
+ * Gets the default type url for MetadataEvent
9311
9794
  * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9312
9795
  * @returns The default type url
9313
9796
  */
@@ -9329,8 +9812,8 @@ export namespace sesame {
9329
9812
  /** Event jobEvent */
9330
9813
  jobEvent?: (sesame.v1.jobs.IJob|null);
9331
9814
 
9332
- /** Event dataTrackEvent */
9333
- dataTrackEvent?: (sesame.v1.status.IDataTrackEvent|null);
9815
+ /** Event metadataEvent */
9816
+ metadataEvent?: (sesame.v1.status.IMetadataEvent|null);
9334
9817
 
9335
9818
  /** Event recorderEvent */
9336
9819
  recorderEvent?: (sesame.v1.recorder.IRecorderEvent|null);
@@ -9357,14 +9840,14 @@ export namespace sesame {
9357
9840
  /** Event jobEvent. */
9358
9841
  public jobEvent?: (sesame.v1.jobs.IJob|null);
9359
9842
 
9360
- /** Event dataTrackEvent. */
9361
- public dataTrackEvent?: (sesame.v1.status.IDataTrackEvent|null);
9843
+ /** Event metadataEvent. */
9844
+ public metadataEvent?: (sesame.v1.status.IMetadataEvent|null);
9362
9845
 
9363
9846
  /** Event recorderEvent. */
9364
9847
  public recorderEvent?: (sesame.v1.recorder.IRecorderEvent|null);
9365
9848
 
9366
9849
  /** Event event. */
9367
- public event?: ("errorEvent"|"transportEvent"|"callbackEvent"|"jobEvent"|"dataTrackEvent"|"recorderEvent");
9850
+ public event?: ("errorEvent"|"transportEvent"|"callbackEvent"|"jobEvent"|"metadataEvent"|"recorderEvent");
9368
9851
 
9369
9852
  /**
9370
9853
  * Creates a new Event instance using the specified properties.
@@ -9820,224 +10303,6 @@ export namespace sesame {
9820
10303
  public static getTypeUrl(typeUrlPrefix?: string): string;
9821
10304
  }
9822
10305
 
9823
- /** Properties of an OutputDataTrack. */
9824
- interface IOutputDataTrack {
9825
-
9826
- /** OutputDataTrack type */
9827
- type?: (sesame.v1.common.DataTrackType|null);
9828
-
9829
- /** OutputDataTrack name */
9830
- name?: (string|null);
9831
- }
9832
-
9833
- /** Represents an OutputDataTrack. */
9834
- class OutputDataTrack implements IOutputDataTrack {
9835
-
9836
- /**
9837
- * Constructs a new OutputDataTrack.
9838
- * @param [properties] Properties to set
9839
- */
9840
- constructor(properties?: sesame.v1.outputs.IOutputDataTrack);
9841
-
9842
- /** OutputDataTrack type. */
9843
- public type: sesame.v1.common.DataTrackType;
9844
-
9845
- /** OutputDataTrack name. */
9846
- public name: string;
9847
-
9848
- /**
9849
- * Creates a new OutputDataTrack instance using the specified properties.
9850
- * @param [properties] Properties to set
9851
- * @returns OutputDataTrack instance
9852
- */
9853
- public static create(properties?: sesame.v1.outputs.IOutputDataTrack): sesame.v1.outputs.OutputDataTrack;
9854
-
9855
- /**
9856
- * Encodes the specified OutputDataTrack message. Does not implicitly {@link sesame.v1.outputs.OutputDataTrack.verify|verify} messages.
9857
- * @param message OutputDataTrack message or plain object to encode
9858
- * @param [writer] Writer to encode to
9859
- * @returns Writer
9860
- */
9861
- public static encode(message: sesame.v1.outputs.IOutputDataTrack, writer?: $protobuf.Writer): $protobuf.Writer;
9862
-
9863
- /**
9864
- * Encodes the specified OutputDataTrack message, length delimited. Does not implicitly {@link sesame.v1.outputs.OutputDataTrack.verify|verify} messages.
9865
- * @param message OutputDataTrack message or plain object to encode
9866
- * @param [writer] Writer to encode to
9867
- * @returns Writer
9868
- */
9869
- public static encodeDelimited(message: sesame.v1.outputs.IOutputDataTrack, writer?: $protobuf.Writer): $protobuf.Writer;
9870
-
9871
- /**
9872
- * Decodes an OutputDataTrack message from the specified reader or buffer.
9873
- * @param reader Reader or buffer to decode from
9874
- * @param [length] Message length if known beforehand
9875
- * @returns OutputDataTrack
9876
- * @throws {Error} If the payload is not a reader or valid buffer
9877
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
9878
- */
9879
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.outputs.OutputDataTrack;
9880
-
9881
- /**
9882
- * Decodes an OutputDataTrack message from the specified reader or buffer, length delimited.
9883
- * @param reader Reader or buffer to decode from
9884
- * @returns OutputDataTrack
9885
- * @throws {Error} If the payload is not a reader or valid buffer
9886
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
9887
- */
9888
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.outputs.OutputDataTrack;
9889
-
9890
- /**
9891
- * Verifies an OutputDataTrack message.
9892
- * @param message Plain object to verify
9893
- * @returns `null` if valid, otherwise the reason why it is not
9894
- */
9895
- public static verify(message: { [k: string]: any }): (string|null);
9896
-
9897
- /**
9898
- * Creates an OutputDataTrack message from a plain object. Also converts values to their respective internal types.
9899
- * @param object Plain object
9900
- * @returns OutputDataTrack
9901
- */
9902
- public static fromObject(object: { [k: string]: any }): sesame.v1.outputs.OutputDataTrack;
9903
-
9904
- /**
9905
- * Creates a plain object from an OutputDataTrack message. Also converts values to other types if specified.
9906
- * @param message OutputDataTrack
9907
- * @param [options] Conversion options
9908
- * @returns Plain object
9909
- */
9910
- public static toObject(message: sesame.v1.outputs.OutputDataTrack, options?: $protobuf.IConversionOptions): { [k: string]: any };
9911
-
9912
- /**
9913
- * Converts this OutputDataTrack to JSON.
9914
- * @returns JSON object
9915
- */
9916
- public toJSON(): { [k: string]: any };
9917
-
9918
- /**
9919
- * Gets the default type url for OutputDataTrack
9920
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9921
- * @returns The default type url
9922
- */
9923
- public static getTypeUrl(typeUrlPrefix?: string): string;
9924
- }
9925
-
9926
- /** Properties of a DataTrackPublishRequest. */
9927
- interface IDataTrackPublishRequest {
9928
-
9929
- /** DataTrackPublishRequest outputId */
9930
- outputId?: (string|null);
9931
-
9932
- /** DataTrackPublishRequest trackName */
9933
- trackName?: (string|null);
9934
-
9935
- /** DataTrackPublishRequest payload */
9936
- payload?: (Uint8Array|null);
9937
-
9938
- /** DataTrackPublishRequest correlationId */
9939
- correlationId?: (string|null);
9940
- }
9941
-
9942
- /** Represents a DataTrackPublishRequest. */
9943
- class DataTrackPublishRequest implements IDataTrackPublishRequest {
9944
-
9945
- /**
9946
- * Constructs a new DataTrackPublishRequest.
9947
- * @param [properties] Properties to set
9948
- */
9949
- constructor(properties?: sesame.v1.outputs.IDataTrackPublishRequest);
9950
-
9951
- /** DataTrackPublishRequest outputId. */
9952
- public outputId: string;
9953
-
9954
- /** DataTrackPublishRequest trackName. */
9955
- public trackName: string;
9956
-
9957
- /** DataTrackPublishRequest payload. */
9958
- public payload: Uint8Array;
9959
-
9960
- /** DataTrackPublishRequest correlationId. */
9961
- public correlationId?: (string|null);
9962
-
9963
- /**
9964
- * Creates a new DataTrackPublishRequest instance using the specified properties.
9965
- * @param [properties] Properties to set
9966
- * @returns DataTrackPublishRequest instance
9967
- */
9968
- public static create(properties?: sesame.v1.outputs.IDataTrackPublishRequest): sesame.v1.outputs.DataTrackPublishRequest;
9969
-
9970
- /**
9971
- * Encodes the specified DataTrackPublishRequest message. Does not implicitly {@link sesame.v1.outputs.DataTrackPublishRequest.verify|verify} messages.
9972
- * @param message DataTrackPublishRequest message or plain object to encode
9973
- * @param [writer] Writer to encode to
9974
- * @returns Writer
9975
- */
9976
- public static encode(message: sesame.v1.outputs.IDataTrackPublishRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9977
-
9978
- /**
9979
- * Encodes the specified DataTrackPublishRequest message, length delimited. Does not implicitly {@link sesame.v1.outputs.DataTrackPublishRequest.verify|verify} messages.
9980
- * @param message DataTrackPublishRequest message or plain object to encode
9981
- * @param [writer] Writer to encode to
9982
- * @returns Writer
9983
- */
9984
- public static encodeDelimited(message: sesame.v1.outputs.IDataTrackPublishRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9985
-
9986
- /**
9987
- * Decodes a DataTrackPublishRequest message from the specified reader or buffer.
9988
- * @param reader Reader or buffer to decode from
9989
- * @param [length] Message length if known beforehand
9990
- * @returns DataTrackPublishRequest
9991
- * @throws {Error} If the payload is not a reader or valid buffer
9992
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
9993
- */
9994
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): sesame.v1.outputs.DataTrackPublishRequest;
9995
-
9996
- /**
9997
- * Decodes a DataTrackPublishRequest message from the specified reader or buffer, length delimited.
9998
- * @param reader Reader or buffer to decode from
9999
- * @returns DataTrackPublishRequest
10000
- * @throws {Error} If the payload is not a reader or valid buffer
10001
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
10002
- */
10003
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): sesame.v1.outputs.DataTrackPublishRequest;
10004
-
10005
- /**
10006
- * Verifies a DataTrackPublishRequest message.
10007
- * @param message Plain object to verify
10008
- * @returns `null` if valid, otherwise the reason why it is not
10009
- */
10010
- public static verify(message: { [k: string]: any }): (string|null);
10011
-
10012
- /**
10013
- * Creates a DataTrackPublishRequest message from a plain object. Also converts values to their respective internal types.
10014
- * @param object Plain object
10015
- * @returns DataTrackPublishRequest
10016
- */
10017
- public static fromObject(object: { [k: string]: any }): sesame.v1.outputs.DataTrackPublishRequest;
10018
-
10019
- /**
10020
- * Creates a plain object from a DataTrackPublishRequest message. Also converts values to other types if specified.
10021
- * @param message DataTrackPublishRequest
10022
- * @param [options] Conversion options
10023
- * @returns Plain object
10024
- */
10025
- public static toObject(message: sesame.v1.outputs.DataTrackPublishRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10026
-
10027
- /**
10028
- * Converts this DataTrackPublishRequest to JSON.
10029
- * @returns JSON object
10030
- */
10031
- public toJSON(): { [k: string]: any };
10032
-
10033
- /**
10034
- * Gets the default type url for DataTrackPublishRequest
10035
- * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10036
- * @returns The default type url
10037
- */
10038
- public static getTypeUrl(typeUrlPrefix?: string): string;
10039
- }
10040
-
10041
10306
  /** Properties of an EncodedWebSocketOutputConfig. */
10042
10307
  interface IEncodedWebSocketOutputConfig {
10043
10308
 
@@ -10047,8 +10312,8 @@ export namespace sesame {
10047
10312
  /** EncodedWebSocketOutputConfig encoder */
10048
10313
  encoder?: (sesame.v1.outputs.IEncoderConfig|null);
10049
10314
 
10050
- /** EncodedWebSocketOutputConfig dataTracks */
10051
- dataTracks?: (sesame.v1.outputs.IOutputDataTrack[]|null);
10315
+ /** EncodedWebSocketOutputConfig metadataTracks */
10316
+ metadataTracks?: (string[]|null);
10052
10317
  }
10053
10318
 
10054
10319
  /** Represents an EncodedWebSocketOutputConfig. */
@@ -10066,8 +10331,8 @@ export namespace sesame {
10066
10331
  /** EncodedWebSocketOutputConfig encoder. */
10067
10332
  public encoder?: (sesame.v1.outputs.IEncoderConfig|null);
10068
10333
 
10069
- /** EncodedWebSocketOutputConfig dataTracks. */
10070
- public dataTracks: sesame.v1.outputs.IOutputDataTrack[];
10334
+ /** EncodedWebSocketOutputConfig metadataTracks. */
10335
+ public metadataTracks: string[];
10071
10336
 
10072
10337
  /**
10073
10338
  * Creates a new EncodedWebSocketOutputConfig instance using the specified properties.
@@ -10519,8 +10784,8 @@ export namespace sesame {
10519
10784
  /** EncodedMoqOutputConfig key */
10520
10785
  key?: (string|null);
10521
10786
 
10522
- /** EncodedMoqOutputConfig dataTracks */
10523
- dataTracks?: (sesame.v1.outputs.IOutputDataTrack[]|null);
10787
+ /** EncodedMoqOutputConfig metadataTracks */
10788
+ metadataTracks?: (string[]|null);
10524
10789
  }
10525
10790
 
10526
10791
  /** Represents an EncodedMoqOutputConfig. */
@@ -10544,8 +10809,8 @@ export namespace sesame {
10544
10809
  /** EncodedMoqOutputConfig key. */
10545
10810
  public key: string;
10546
10811
 
10547
- /** EncodedMoqOutputConfig dataTracks. */
10548
- public dataTracks: sesame.v1.outputs.IOutputDataTrack[];
10812
+ /** EncodedMoqOutputConfig metadataTracks. */
10813
+ public metadataTracks: string[];
10549
10814
 
10550
10815
  /**
10551
10816
  * Creates a new EncodedMoqOutputConfig instance using the specified properties.
@@ -14056,6 +14321,115 @@ export namespace sesame {
14056
14321
  public static getTypeUrl(typeUrlPrefix?: string): string;
14057
14322
  }
14058
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
+
14059
14433
  /** Represents a SesameAPIService */
14060
14434
  class SesameAPIService extends $protobuf.rpc.Service {
14061
14435
 
@@ -14245,18 +14619,18 @@ export namespace sesame {
14245
14619
  public requestIODeviceList(request: sesame.v1.common.IEmpty): Promise<sesame.v1.status.IODeviceListResponse>;
14246
14620
 
14247
14621
  /**
14248
- * Calls PublishData.
14249
- * @param request DataTrackPublishRequest message or plain object
14622
+ * Calls PublishMetadata.
14623
+ * @param request PublishMetadataRequest message or plain object
14250
14624
  * @param callback Node-style callback called with the error, if any, and Empty
14251
14625
  */
14252
- public publishData(request: sesame.v1.outputs.IDataTrackPublishRequest, callback: sesame.v1.rpc.SesameAPIService.PublishDataCallback): void;
14626
+ public publishMetadata(request: sesame.v1.rpc.IPublishMetadataRequest, callback: sesame.v1.rpc.SesameAPIService.PublishMetadataCallback): void;
14253
14627
 
14254
14628
  /**
14255
- * Calls PublishData.
14256
- * @param request DataTrackPublishRequest message or plain object
14629
+ * Calls PublishMetadata.
14630
+ * @param request PublishMetadataRequest message or plain object
14257
14631
  * @returns Promise
14258
14632
  */
14259
- public publishData(request: sesame.v1.outputs.IDataTrackPublishRequest): Promise<sesame.v1.common.Empty>;
14633
+ public publishMetadata(request: sesame.v1.rpc.IPublishMetadataRequest): Promise<sesame.v1.common.Empty>;
14260
14634
  }
14261
14635
 
14262
14636
  namespace SesameAPIService {
@@ -14346,11 +14720,11 @@ export namespace sesame {
14346
14720
  type RequestIODeviceListCallback = (error: (Error|null), response?: sesame.v1.status.IODeviceListResponse) => void;
14347
14721
 
14348
14722
  /**
14349
- * Callback as used by {@link sesame.v1.rpc.SesameAPIService#publishData}.
14723
+ * Callback as used by {@link sesame.v1.rpc.SesameAPIService#publishMetadata}.
14350
14724
  * @param error Error, if any
14351
14725
  * @param [response] Empty
14352
14726
  */
14353
- type PublishDataCallback = (error: (Error|null), response?: sesame.v1.common.Empty) => void;
14727
+ type PublishMetadataCallback = (error: (Error|null), response?: sesame.v1.common.Empty) => void;
14354
14728
  }
14355
14729
  }
14356
14730
 
@@ -14628,20 +15002,24 @@ export namespace sesame {
14628
15002
  public static getTypeUrl(typeUrlPrefix?: string): string;
14629
15003
  }
14630
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
+
14631
15015
  /** Properties of a DataFrameData. */
14632
15016
  interface IDataFrameData {
14633
15017
 
15018
+ /** DataFrameData dataType */
15019
+ dataType?: (sesame.v1.wire.DataType|null);
15020
+
14634
15021
  /** DataFrameData trackName */
14635
15022
  trackName?: (string|null);
14636
-
14637
- /** DataFrameData trackType */
14638
- trackType?: (sesame.v1.common.DataTrackType|null);
14639
-
14640
- /** DataFrameData sequence */
14641
- sequence?: (number|Long|null);
14642
-
14643
- /** DataFrameData correlationId */
14644
- correlationId?: (string|null);
14645
15023
  }
14646
15024
 
14647
15025
  /** Represents a DataFrameData. */
@@ -14653,18 +15031,12 @@ export namespace sesame {
14653
15031
  */
14654
15032
  constructor(properties?: sesame.v1.wire.IDataFrameData);
14655
15033
 
15034
+ /** DataFrameData dataType. */
15035
+ public dataType: sesame.v1.wire.DataType;
15036
+
14656
15037
  /** DataFrameData trackName. */
14657
15038
  public trackName: string;
14658
15039
 
14659
- /** DataFrameData trackType. */
14660
- public trackType: sesame.v1.common.DataTrackType;
14661
-
14662
- /** DataFrameData sequence. */
14663
- public sequence?: (number|Long|null);
14664
-
14665
- /** DataFrameData correlationId. */
14666
- public correlationId?: (string|null);
14667
-
14668
15040
  /**
14669
15041
  * Creates a new DataFrameData instance using the specified properties.
14670
15042
  * @param [properties] Properties to set