@rongcloud/plugin-call-plus 2.1.7 → 2.1.8
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/index.d.ts +2 -1
- package/index.esm.js +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
- package/wrapper/index.esm.js +1 -1
- package/wrapper/index.js +1 -1
package/index.d.ts
CHANGED
|
@@ -2005,6 +2005,7 @@ declare class SignalTransporter extends EventEmitter {
|
|
|
2005
2005
|
constructor(_context: PluginContext, _runtime: IRuntime, _initOpts: IRCCallInitOptions, _timeCorrectioner: TimeCorrectioner, _logger: BasicLogger, _reportAppEventModule: RCCallPlusReportModule);
|
|
2006
2006
|
private _onMessage;
|
|
2007
2007
|
getSessionId(): string;
|
|
2008
|
+
getDeviceId(): string;
|
|
2008
2009
|
registerListener(listener: ISignalTransporterListener): void;
|
|
2009
2010
|
startCall(msg: IStartCallCon, traceId: string): Promise<{
|
|
2010
2011
|
code: number;
|
|
@@ -2106,7 +2107,7 @@ declare class SignalTransporter extends EventEmitter {
|
|
|
2106
2107
|
* deviceId 为空字符串或 null 直接下发
|
|
2107
2108
|
* deviceId 有具体的值,根据 deviceId 判断是否是己端的 deviceId
|
|
2108
2109
|
*/
|
|
2109
|
-
|
|
2110
|
+
isValidData(toDeviceId: string | null): boolean;
|
|
2110
2111
|
/**
|
|
2111
2112
|
* 收到邀请
|
|
2112
2113
|
* @param isDirectly 是否为直发信令
|