@formant/realtime-sdk 1.4.8 → 1.4.10
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/index.js +1 -2
- package/dist/protos/api/signaling/v1/signaling_grpc_web_pb.d.ts +45 -45
- package/dist/protos/api/signaling/v1/signaling_grpc_web_pb.js +1 -626
- package/dist/protos/api/signaling/v1/signaling_pb.d.ts +4 -0
- package/dist/protos/api/signaling/v1/signaling_pb.js +1 -3854
- package/dist/realtime-sdk/src/index.d.ts +6 -6
- package/dist/rtc-client/IHasRemoteDeviceId.d.ts +1 -1
- package/dist/rtc-client/RtcClient.d.ts +5 -5
- package/dist/rtc-client/RtcClientV1.d.ts +4 -4
- package/dist/rtc-client/RtcConnection.d.ts +2 -2
- package/dist/rtc-client/RtcConnectionV1.d.ts +1 -1
- package/dist/rtc-client/RtcSessionMetrics.d.ts +1 -1
- package/dist/rtc-client/gatherPingMetrics.d.ts +2 -2
- package/dist/rtc-client/models/IBinaryH264Message.d.ts +1 -1
- package/dist/rtc-client/models/IPingPayload.d.ts +2 -2
- package/dist/rtc-client/models/IRtcClientConfiguration.d.ts +2 -2
- package/dist/rtc-client/models/IRtcConnectionBaseConfiguration.d.ts +2 -2
- package/dist/rtc-client/models/IRtcConnectionRemoteConfiguration.d.ts +2 -2
- package/dist/rtc-client/models/IRtcPointCloud.d.ts +1 -1
- package/dist/rtc-client/models/IRtcStreamMessageHeader.d.ts +2 -2
- package/dist/rtc-client/models/IRtcStreamPayload.d.ts +16 -16
- package/dist/rtc-client/models/IRtcStreamsInfo.d.ts +1 -1
- package/dist/rtc-client/models-v1/IRtcClientConfigurationV1.d.ts +3 -3
- package/dist/rtc-client/models-v1/IRtcConnectionConfigurationV1.d.ts +3 -3
- package/dist/rtc-client/utils/createRtcStreamMessage.d.ts +1 -1
- package/dist/rtc-client/utils/encodeStreamId.d.ts +1 -1
- package/dist/rtc-client/utils/peerToRtcPeer.d.ts +1 -1
- package/dist/rtc-client/utils/streamIsEqual.d.ts +1 -1
- package/package.json +5 -7
- package/dist/client/AuthClient.d.ts +0 -42
- package/dist/client/Credentials.d.ts +0 -10
- package/dist/client/LanAgentClient.d.ts +0 -7
- package/dist/client/RtcSignalingClient.d.ts +0 -20
- package/dist/common/BaseClient.d.ts +0 -45
- package/dist/common/ConnectionError.d.ts +0 -6
- package/dist/common/FormantBaseClient.d.ts +0 -13
- package/dist/common/LogApiTransport.d.ts +0 -11
- package/dist/common/LogClient.d.ts +0 -6
- package/dist/common/LogReporter.d.ts +0 -6
- package/dist/common/LruCache.d.ts +0 -20
- package/dist/common/PromiseLruCache.d.ts +0 -11
- package/dist/common/ResponseError.d.ts +0 -11
- package/dist/common/ResponseHeadersError.d.ts +0 -7
- package/dist/common/StatsManager.d.ts +0 -39
- package/dist/common/StatsReporter.d.ts +0 -17
- package/dist/common/assertUnreachable.d.ts +0 -1
- package/dist/common/browser.d.ts +0 -2
- package/dist/common/collectErrors.d.ts +0 -1
- package/dist/common/config/index.d.ts +0 -24
- package/dist/common/defined.d.ts +0 -6
- package/dist/common/delay.d.ts +0 -1
- package/dist/common/errorConstants.d.ts +0 -7
- package/dist/common/errorToObject.d.ts +0 -16
- package/dist/common/errorToString.d.ts +0 -6
- package/dist/common/filterIceServers.d.ts +0 -8
- package/dist/common/instanceId.d.ts +0 -1
- package/dist/common/isErrorType.d.ts +0 -1
- package/dist/common/isObject.d.ts +0 -1
- package/dist/common/isValidTagString.d.ts +0 -3
- package/dist/common/logger.d.ts +0 -4
- package/dist/common/narrowError.d.ts +0 -1
- package/dist/common/objectMapValues.d.ts +0 -9
- package/dist/common/redact.d.ts +0 -6
- package/dist/common/setPromiseInterval.d.ts +0 -17
- package/dist/common/stats.d.ts +0 -2
- package/dist/common/toStringSafe.d.ts +0 -8
- package/dist/common/truncate.d.ts +0 -4
- package/dist/date-fns/parseIsoDate.d.ts +0 -1
- package/dist/index.js.LICENSE.txt +0 -19
- package/dist/model/AnnotationAreaType.d.ts +0 -2
- package/dist/model/AuditLogActionType.d.ts +0 -5
- package/dist/model/CognitoRegion.d.ts +0 -2
- package/dist/model/Feature.d.ts +0 -3
- package/dist/model/HealthStatus.d.ts +0 -2
- package/dist/model/HexRgbColor.d.ts +0 -1
- package/dist/model/IAdminSignupRequest.d.ts +0 -14
- package/dist/model/IAnnotationAreaTypeMap.d.ts +0 -4
- package/dist/model/IAudioChunk.d.ts +0 -5
- package/dist/model/IAuditLog.d.ts +0 -15
- package/dist/model/IAuthentication.d.ts +0 -8
- package/dist/model/IBaseEntity.d.ts +0 -7
- package/dist/model/IBattery.d.ts +0 -6
- package/dist/model/IBitset.d.ts +0 -9
- package/dist/model/IBoundingBox.d.ts +0 -6
- package/dist/model/IChallenge.d.ts +0 -7
- package/dist/model/ICheckSsoResult.d.ts +0 -5
- package/dist/model/IColorRGBA.d.ts +0 -6
- package/dist/model/ICompressedImage.d.ts +0 -3
- package/dist/model/ICreateServiceAccountResponse.d.ts +0 -5
- package/dist/model/IDeviceCredentials.d.ts +0 -9
- package/dist/model/IDictionary.d.ts +0 -3
- package/dist/model/IFile.d.ts +0 -6
- package/dist/model/IFilter.d.ts +0 -11
- package/dist/model/IGetFeaturesResponse.d.ts +0 -4
- package/dist/model/IGoal.d.ts +0 -5
- package/dist/model/IGoalID.d.ts +0 -3
- package/dist/model/IGoogleLoginRequest.d.ts +0 -4
- package/dist/model/IH264VideoFrame.d.ts +0 -5
- package/dist/model/IHealth.d.ts +0 -5
- package/dist/model/IImage.d.ts +0 -6
- package/dist/model/IImageAnnotation.d.ts +0 -9
- package/dist/model/IJointState.d.ts +0 -8
- package/dist/model/IJoy.d.ts +0 -4
- package/dist/model/IJsonString.d.ts +0 -3
- package/dist/model/IListResponse.d.ts +0 -9
- package/dist/model/ILocalization.d.ts +0 -14
- package/dist/model/ILocation.d.ts +0 -6
- package/dist/model/ILogLine.d.ts +0 -9
- package/dist/model/ILoginRequest.d.ts +0 -5
- package/dist/model/ILoginResult.d.ts +0 -7
- package/dist/model/IMap.d.ts +0 -10
- package/dist/model/IMarker3D.d.ts +0 -23
- package/dist/model/IMarker3DArray.d.ts +0 -4
- package/dist/model/IMetric.d.ts +0 -7
- package/dist/model/INumericSetEntry.d.ts +0 -5
- package/dist/model/IOdometry.d.ts +0 -7
- package/dist/model/IPath.d.ts +0 -7
- package/dist/model/IPoint.d.ts +0 -2
- package/dist/model/IPointCloud.d.ts +0 -6
- package/dist/model/IPoseWithCovariance.d.ts +0 -5
- package/dist/model/IPostLanRtcOfferRequest.d.ts +0 -3
- package/dist/model/IPostLanRtcOfferResponse.d.ts +0 -3
- package/dist/model/IQuaternion.d.ts +0 -6
- package/dist/model/IRequestToken.d.ts +0 -4
- package/dist/model/IRtcAddSignalsRequest.d.ts +0 -4
- package/dist/model/IRtcCapabilitySet.d.ts +0 -6
- package/dist/model/IRtcCreatePeerRequest.d.ts +0 -6
- package/dist/model/IRtcCreateSessionRequest.d.ts +0 -5
- package/dist/model/IRtcIceServer.d.ts +0 -5
- package/dist/model/IRtcInfo.d.ts +0 -7
- package/dist/model/IRtcPeer.d.ts +0 -11
- package/dist/model/IRtcPeerDescription.d.ts +0 -6
- package/dist/model/IRtcPortForwardingConfiguration.d.ts +0 -3
- package/dist/model/IRtcSession.d.ts +0 -12
- package/dist/model/IRtcSignal.d.ts +0 -3
- package/dist/model/IRtcStream.d.ts +0 -9
- package/dist/model/IRtcStreamCapability.d.ts +0 -6
- package/dist/model/IRtcStreamingConfiguration.d.ts +0 -4
- package/dist/model/IScopeFilter.d.ts +0 -6
- package/dist/model/IStat.d.ts +0 -21
- package/dist/model/IStreamTypeMap.d.ts +0 -27
- package/dist/model/ITagFilter.d.ts +0 -4
- package/dist/model/ITagSets.d.ts +0 -3
- package/dist/model/ITaggedEntity.d.ts +0 -5
- package/dist/model/ITags.d.ts +0 -2
- package/dist/model/ITransform.d.ts +0 -6
- package/dist/model/ITransformNode.d.ts +0 -8
- package/dist/model/ITwist.d.ts +0 -5
- package/dist/model/IUser.d.ts +0 -40
- package/dist/model/IUserScope.d.ts +0 -16
- package/dist/model/IValidation.d.ts +0 -3
- package/dist/model/IVector3.d.ts +0 -5
- package/dist/model/IVideo.d.ts +0 -7
- package/dist/model/IsoDate.d.ts +0 -1
- package/dist/model/LanguageType.d.ts +0 -2
- package/dist/model/LogLevel.d.ts +0 -2
- package/dist/model/Marker3DAction.d.ts +0 -2
- package/dist/model/Marker3DType.d.ts +0 -2
- package/dist/model/OrganizationPlan.d.ts +0 -2
- package/dist/model/RequireKeys.d.ts +0 -3
- package/dist/model/RtcConnectionStatus.d.ts +0 -2
- package/dist/model/RtcIceServerProtocol.d.ts +0 -2
- package/dist/model/RtcIceTransportPolicy.d.ts +0 -2
- package/dist/model/RtcSessionType.d.ts +0 -2
- package/dist/model/RtcStreamType.d.ts +0 -3
- package/dist/model/SmsOptInStatus.d.ts +0 -2
- package/dist/model/StreamType.d.ts +0 -2
- package/dist/model/Timeout.d.ts +0 -1
- package/dist/model/Timestamp.d.ts +0 -1
- package/dist/model/Uuid.d.ts +0 -1
- package/dist/model/VideoMimeType.d.ts +0 -2
- package/dist/model/auditLogActionTypes.d.ts +0 -1
- package/dist/model/bytes.d.ts +0 -9
- package/dist/model/cognitoRegions.d.ts +0 -1
- package/dist/model/duration.d.ts +0 -10
- package/dist/model/features.d.ts +0 -2
- package/dist/model/healthStatuses.d.ts +0 -5
- package/dist/model/languageTypes.d.ts +0 -1
- package/dist/model/logLevels.d.ts +0 -1
- package/dist/model/marker3DActions.d.ts +0 -1
- package/dist/model/marker3DTypes.d.ts +0 -1
- package/dist/model/organizationPlans.d.ts +0 -1
- package/dist/model/reservedTagValues.d.ts +0 -3
- package/dist/model/rtcConnectionStatuses.d.ts +0 -1
- package/dist/model/rtcIceServerProtocols.d.ts +0 -1
- package/dist/model/rtcIceTransportPolicies.d.ts +0 -1
- package/dist/model/rtcSessionTypes.d.ts +0 -1
- package/dist/model/rtcStreamTypes.d.ts +0 -32
- package/dist/model/smsOptInStatuses.d.ts +0 -1
- package/dist/model/userResources.d.ts +0 -1
- package/dist/model/videoMimeTypes.d.ts +0 -1
- package/dist/protos/api/signaling/v1/signaling.proto +0 -114
package/dist/model/IRtcInfo.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { RtcIceServerProtocol } from "./RtcIceServerProtocol";
|
|
2
|
-
import { RtcIceTransportPolicy } from "./RtcIceTransportPolicy";
|
|
3
|
-
export interface IRtcInfo {
|
|
4
|
-
rtcIceTransportPolicies?: RtcIceTransportPolicy[];
|
|
5
|
-
rtcIceServerProtocol?: RtcIceServerProtocol;
|
|
6
|
-
useAllServers?: boolean;
|
|
7
|
-
}
|
package/dist/model/IRtcPeer.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IRtcCapabilitySet } from "./IRtcCapabilitySet";
|
|
2
|
-
import { IRtcStreamCapability } from "./IRtcStreamCapability";
|
|
3
|
-
import { Uuid } from "./Uuid";
|
|
4
|
-
export interface IRtcPeer {
|
|
5
|
-
id: Uuid;
|
|
6
|
-
organizationId: Uuid;
|
|
7
|
-
deviceId?: Uuid;
|
|
8
|
-
userId?: Uuid;
|
|
9
|
-
capabilities: IRtcStreamCapability[];
|
|
10
|
-
capabilitySet: IRtcCapabilitySet;
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { IRtcPeerDescription } from "./IRtcPeerDescription";
|
|
2
|
-
import { IsoDate } from "./IsoDate";
|
|
3
|
-
import { RtcSessionType } from "./RtcSessionType";
|
|
4
|
-
import { Uuid } from "./Uuid";
|
|
5
|
-
export interface IRtcSession {
|
|
6
|
-
id: Uuid;
|
|
7
|
-
organizationId: Uuid;
|
|
8
|
-
offer: IRtcPeerDescription;
|
|
9
|
-
answer: IRtcPeerDescription;
|
|
10
|
-
created: IsoDate;
|
|
11
|
-
sessionType?: RtcSessionType;
|
|
12
|
-
}
|
package/dist/model/IStat.d.ts
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* An aggregation of metric samples collected during a sample period.
|
|
3
|
-
*/
|
|
4
|
-
export interface IStat {
|
|
5
|
-
/**
|
|
6
|
-
* The minimum sampled value.
|
|
7
|
-
*/
|
|
8
|
-
min: number;
|
|
9
|
-
/**
|
|
10
|
-
* The maximum sampled value.
|
|
11
|
-
*/
|
|
12
|
-
max: number;
|
|
13
|
-
/**
|
|
14
|
-
* The sum of sampled values.
|
|
15
|
-
*/
|
|
16
|
-
sum: number;
|
|
17
|
-
/**
|
|
18
|
-
* The count of sampled values.
|
|
19
|
-
*/
|
|
20
|
-
count: number;
|
|
21
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { IBattery } from "./IBattery";
|
|
2
|
-
import { IBitset } from "./IBitset";
|
|
3
|
-
import { IFile } from "./IFile";
|
|
4
|
-
import { IHealth } from "./IHealth";
|
|
5
|
-
import { IImage } from "./IImage";
|
|
6
|
-
import { ILocalization } from "./ILocalization";
|
|
7
|
-
import { ILocation } from "./ILocation";
|
|
8
|
-
import { INumericSetEntry } from "./INumericSetEntry";
|
|
9
|
-
import { IPointCloud } from "./IPointCloud";
|
|
10
|
-
import { ITransformNode } from "./ITransformNode";
|
|
11
|
-
import { IVideo } from "./IVideo";
|
|
12
|
-
export interface IStreamTypeMap {
|
|
13
|
-
bitset: IBitset;
|
|
14
|
-
localization: ILocalization;
|
|
15
|
-
"point cloud": IPointCloud;
|
|
16
|
-
location: ILocation;
|
|
17
|
-
file: IFile;
|
|
18
|
-
health: IHealth;
|
|
19
|
-
"transform tree": ITransformNode;
|
|
20
|
-
battery: IBattery;
|
|
21
|
-
video: IVideo;
|
|
22
|
-
"numeric set": INumericSetEntry[];
|
|
23
|
-
json: string;
|
|
24
|
-
image: IImage;
|
|
25
|
-
numeric: number;
|
|
26
|
-
text: string;
|
|
27
|
-
}
|
package/dist/model/ITagSets.d.ts
DELETED
package/dist/model/ITags.d.ts
DELETED
package/dist/model/ITwist.d.ts
DELETED
package/dist/model/IUser.d.ts
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { CognitoRegion } from "./CognitoRegion";
|
|
2
|
-
import { IDictionary } from "./IDictionary";
|
|
3
|
-
import { IsoDate } from "./IsoDate";
|
|
4
|
-
import { ITaggedEntity } from "./ITaggedEntity";
|
|
5
|
-
import { ITagSets } from "./ITagSets";
|
|
6
|
-
import { IUserScope } from "./IUserScope";
|
|
7
|
-
import { LanguageType } from "./LanguageType";
|
|
8
|
-
import { SmsOptInStatus } from "./SmsOptInStatus";
|
|
9
|
-
import { Uuid } from "./Uuid";
|
|
10
|
-
export interface IUser extends ITaggedEntity {
|
|
11
|
-
organizationId?: Uuid;
|
|
12
|
-
accountId?: Uuid | null;
|
|
13
|
-
roleId: Uuid | null;
|
|
14
|
-
email?: string;
|
|
15
|
-
externalUserId?: string | null;
|
|
16
|
-
firstName?: string;
|
|
17
|
-
lastName?: string;
|
|
18
|
-
scope?: IUserScope | null;
|
|
19
|
-
teamId?: Uuid | null;
|
|
20
|
-
eventTriggerGroupId?: Uuid | null;
|
|
21
|
-
phoneNumber?: string;
|
|
22
|
-
enabled?: boolean;
|
|
23
|
-
isOrganizationOwner?: boolean;
|
|
24
|
-
termsAccepted?: string;
|
|
25
|
-
lastLoggedIn?: IsoDate | null;
|
|
26
|
-
passwordHash?: string | null;
|
|
27
|
-
isSingleSignOn?: boolean;
|
|
28
|
-
isServiceAccount?: boolean;
|
|
29
|
-
smsOptInStatus?: SmsOptInStatus | null;
|
|
30
|
-
region: CognitoRegion;
|
|
31
|
-
jobTitle?: string;
|
|
32
|
-
language?: LanguageType;
|
|
33
|
-
units?: string;
|
|
34
|
-
timezone?: string;
|
|
35
|
-
allowCustomEmailConfiguration?: boolean;
|
|
36
|
-
title?: string | null;
|
|
37
|
-
description?: string | null;
|
|
38
|
-
metadata?: IDictionary | null;
|
|
39
|
-
grants?: ITagSets;
|
|
40
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { IScopeFilter } from "./IScopeFilter";
|
|
2
|
-
import { RequireKeys } from "./RequireKeys";
|
|
3
|
-
export interface IUserResourceScope {
|
|
4
|
-
roles?: IScopeFilter;
|
|
5
|
-
users?: IScopeFilter;
|
|
6
|
-
teams?: IScopeFilter;
|
|
7
|
-
devices?: IScopeFilter;
|
|
8
|
-
fleets?: IScopeFilter;
|
|
9
|
-
events?: IScopeFilter;
|
|
10
|
-
views?: IScopeFilter;
|
|
11
|
-
keyValue?: IScopeFilter;
|
|
12
|
-
}
|
|
13
|
-
export interface IUserScope extends IScopeFilter, IUserResourceScope {
|
|
14
|
-
}
|
|
15
|
-
export type IFullUserScope = IScopeFilter & RequireKeys<IUserResourceScope>;
|
|
16
|
-
export declare const fullAccessUserScope: IFullUserScope;
|
package/dist/model/IVector3.d.ts
DELETED
package/dist/model/IVideo.d.ts
DELETED
package/dist/model/IsoDate.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type IsoDate = string;
|
package/dist/model/LogLevel.d.ts
DELETED
package/dist/model/Timeout.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Timeout = ReturnType<typeof setTimeout>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Timestamp = number;
|
package/dist/model/Uuid.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type Uuid = string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const auditLogActionTypes: readonly ["create", "update", "delete", "provision", "unprovision", "login", "sso-login", "forgot-password"];
|
package/dist/model/bytes.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const cognitoRegions: readonly ["AMER", "EMEA", "JAPAC"];
|
package/dist/model/duration.d.ts
DELETED
package/dist/model/features.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const agentFeatures: readonly ["telemetry", "internalTelemetry", "teleop", "ssh", "customEvents", "triggeredEvents", "portForwarding", "commands", "interventions", "onDemand", "appConfig", "blobStorage"];
|
|
2
|
-
export declare const features: readonly ["telemetry", "internalTelemetry", "teleop", "ssh", "customEvents", "triggeredEvents", "portForwarding", "commands", "interventions", "onDemand", "appConfig", "blobStorage", "events", "annotations", "observability", "diagnostics", "advancedConfiguration", "dataExport", "share", "adapters", "s3Export", "fileStorage", "roleViewer", "teams", "schedules", "teleop2.0", "billing", "taskSummaries"];
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const healthStatuses: readonly ["unknown", "operational", "offline", "error"];
|
|
2
|
-
type HealthStatusValues = (typeof healthStatuses)[number];
|
|
3
|
-
export declare function healthStatusToOrdinal(a: HealthStatusValues): number;
|
|
4
|
-
export declare function ordinalToHealthStatus(a: number): HealthStatusValues;
|
|
5
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const languageTypes: readonly ["en-US", "fr-CA"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const logLevels: readonly ["error", "warn", "info", "debug"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const marker3DActions: readonly ["add", "modify", "delete", "delete_all"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const marker3DTypes: readonly ["arrow", "cube", "sphere", "cylinder", "line_strip", "line_list", "cube_list", "sphere_list", "points", "text_view_facing", "mesh_resource", "triangle_list"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const organizationPlans: readonly ["self-serve", "paid"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const rtcConnectionStatuses: readonly ["disconnected", "connecting", "connected"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const rtcIceServerProtocols: readonly ["udp", "tcp"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const rtcIceTransportPolicies: readonly ["stun", "turn"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const rtcSessionTypes: readonly ["teleop", "port-forwarding", "observe"];
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export declare const rtcPingStreamType: "ping";
|
|
2
|
-
export declare const rtcPongStreamType: "pong";
|
|
3
|
-
export declare const rtcPingV2StreamType: "ping-v2";
|
|
4
|
-
export declare const rtcPongV2StreamType: "pong-v2";
|
|
5
|
-
export declare const rtcStreamControlStreamType: "stream-control";
|
|
6
|
-
export declare const rtcStreamsInfoStreamType: "streams-info";
|
|
7
|
-
export declare const rtcAgentInfoStreamType: "agent-info";
|
|
8
|
-
export declare const rtcNumericStreamType: "numeric";
|
|
9
|
-
export declare const rtcBooleanStreamType: "boolean";
|
|
10
|
-
export declare const rtcBitsetStreamType: "bitset";
|
|
11
|
-
export declare const rtcTwistStreamType: "twist";
|
|
12
|
-
export declare const rtcCompressedImageStreamType: "compressed-image";
|
|
13
|
-
export declare const rtcH264VideoFrameStreamType: "h264-video-frame";
|
|
14
|
-
export declare const rtcVideoMetadataStreamType: "video-metadata";
|
|
15
|
-
export declare const rtcAudioChunkStreamType: "audio-chunk";
|
|
16
|
-
export declare const rtcPoseStreamType: "pose";
|
|
17
|
-
export declare const rtcGoalIDStreamType: "goal-id";
|
|
18
|
-
export declare const rtcJointStateStreamType: "joint-state";
|
|
19
|
-
export declare const rtcPoseWithCovarianceStreamType: "pose-with-covariance";
|
|
20
|
-
export declare const rtcPointCloudStreamType: "point-cloud";
|
|
21
|
-
export declare const rtcMarkerArrayStreamType: "marker-array";
|
|
22
|
-
export declare const rtcPointStreamType: "point";
|
|
23
|
-
export declare const rtcJsonStringType: "json-string";
|
|
24
|
-
export declare const rtcOdometryStreamType: "odometry";
|
|
25
|
-
export declare const rtcJoyStreamType: "joy";
|
|
26
|
-
export declare const rtcTextStreamType: "text";
|
|
27
|
-
export declare const rtcMapStreamType: "map";
|
|
28
|
-
export declare const rtcLocationStreamType: "location";
|
|
29
|
-
export declare const rtcNumericSetStreamType: "numeric-set";
|
|
30
|
-
export declare const rtcStreamTypes: readonly ["ping", "pong", "ping-v2", "pong-v2", "stream-control", "streams-info", "agent-info", "numeric", "boolean", "bitset", "twist", "compressed-image", "h264-video-frame", "audio-chunk", "pose", "goal-id", "joint-state", "pose-with-covariance", "point-cloud", "point", "marker-array", "json-string", "odometry", "joy", "text", "map", "location", "numeric-set"];
|
|
31
|
-
export declare const rtcImageStreamTypes: string[];
|
|
32
|
-
export declare const rtcSystemStreamTypes: string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const smsOptInStatuses: readonly ["OPT_IN", "OPT_OUT"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const userResources: readonly ["roles", "users", "teams", "devices", "fleets", "events", "views", "keyValue"];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const videoMimeTypes: readonly ["video/mp4"];
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package v1.signaling.api;
|
|
4
|
-
|
|
5
|
-
import "google/protobuf/wrappers.proto";
|
|
6
|
-
option go_package = "github.com/FormantIO/genproto/go/v1/api/signaling";
|
|
7
|
-
|
|
8
|
-
service Signaling {
|
|
9
|
-
rpc GetHealth(GetHealthRequest)
|
|
10
|
-
returns (GetHealthResponse) {}
|
|
11
|
-
rpc CreatePeer(CreatePeerRequest)
|
|
12
|
-
returns (CreatePeerResponse) {}
|
|
13
|
-
rpc DeletePeer(DeletePeerRequest)
|
|
14
|
-
returns (DeletePeerResponse) {}
|
|
15
|
-
rpc RefreshPeer(RefreshPeerRequest)
|
|
16
|
-
returns (RefreshPeerResponse) {}
|
|
17
|
-
rpc GetPeers(GetPeersRequest)
|
|
18
|
-
returns (GetPeersResponse) {}
|
|
19
|
-
rpc GetIceServers(GetIceServersRequest)
|
|
20
|
-
returns (GetIceServersResponse) {}
|
|
21
|
-
rpc SendSignal(SendSignalRequest)
|
|
22
|
-
returns (SendSignalResponse) {}
|
|
23
|
-
rpc ReceiveSignalStream(ReceiveSignalStreamRequest)
|
|
24
|
-
returns (stream ReceiveSignalStreamResponse) {}
|
|
25
|
-
rpc GetSessions(GetSessionsRequest)
|
|
26
|
-
returns (GetSessionsResponse) {}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
message Peer {
|
|
30
|
-
string peer_id = 1;
|
|
31
|
-
string organization_id = 2;
|
|
32
|
-
google.protobuf.StringValue user_id = 3;
|
|
33
|
-
google.protobuf.StringValue device_id = 4;
|
|
34
|
-
repeated string session_ids = 5;
|
|
35
|
-
google.protobuf.Int64Value peer_created_timestamp = 6; // No value means it's for a new peer
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
enum SessionType {
|
|
39
|
-
UNKNOWN = 0;
|
|
40
|
-
TELEOP = 1;
|
|
41
|
-
PORT_FORWARD = 2;
|
|
42
|
-
OBSERVE = 3;
|
|
43
|
-
HEADLESS = 4;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
message Signal {
|
|
47
|
-
google.protobuf.StringValue session_id = 1; // No value means it's for a new session
|
|
48
|
-
google.protobuf.Int64Value session_created_timestamp = 2; // No value means it's for a new session
|
|
49
|
-
string sender_id = 3;
|
|
50
|
-
string receiver_id = 4;
|
|
51
|
-
string payload = 5;
|
|
52
|
-
string ice_servers = 6; // JSON-encoded RTCIceServer list
|
|
53
|
-
string ice_transport_policy = 7;
|
|
54
|
-
SessionType session_type = 8;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
message RtcSession {
|
|
58
|
-
string session_id = 1;
|
|
59
|
-
string offer_peer_id = 2;
|
|
60
|
-
string answer_peer_id = 3;
|
|
61
|
-
string organization_id = 4;
|
|
62
|
-
string session_type = 5;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
message GetSessionsRequest {
|
|
66
|
-
}
|
|
67
|
-
message GetSessionsResponse {
|
|
68
|
-
repeated RtcSession sessions = 1;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
message GetHealthRequest {}
|
|
72
|
-
message GetHealthResponse {
|
|
73
|
-
string version = 1;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
message CreatePeerRequest {}
|
|
77
|
-
message CreatePeerResponse {
|
|
78
|
-
Peer peer = 1;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
message DeletePeerRequest {
|
|
82
|
-
string peer_id = 1;
|
|
83
|
-
}
|
|
84
|
-
message DeletePeerResponse {}
|
|
85
|
-
|
|
86
|
-
message RefreshPeerRequest {
|
|
87
|
-
Peer peer = 1;
|
|
88
|
-
}
|
|
89
|
-
message RefreshPeerResponse {}
|
|
90
|
-
|
|
91
|
-
message GetPeersRequest {}
|
|
92
|
-
message GetPeersResponse {
|
|
93
|
-
repeated Peer peers = 1;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
message GetIceServersRequest {}
|
|
97
|
-
message GetIceServersResponse {
|
|
98
|
-
string ice_servers = 1; // JSON-encoded RTCIceServer list
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
message SendSignalRequest {
|
|
102
|
-
Signal signal = 1;
|
|
103
|
-
}
|
|
104
|
-
message SendSignalResponse {
|
|
105
|
-
google.protobuf.StringValue session_id = 1;
|
|
106
|
-
google.protobuf.Int64Value session_created_timestamp = 2;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
message ReceiveSignalStreamRequest {
|
|
110
|
-
string peer_id = 1;
|
|
111
|
-
}
|
|
112
|
-
message ReceiveSignalStreamResponse {
|
|
113
|
-
Signal signal = 1;
|
|
114
|
-
}
|