mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-29 02:11:28 -06:00
ELECTRON-1370 - Add support for RTC v1 api (#730)
This commit is contained in:
parent
486d345dc4
commit
e99b78b061
@ -215,12 +215,14 @@ export class AppBridge {
|
||||
if (sourceError) {
|
||||
const { requestId, ...error } = sourceError;
|
||||
this.broadcastMessage('media-source-callback', { requestId, error });
|
||||
this.broadcastMessage('media-source-callback-v1', { requestId, error });
|
||||
return;
|
||||
}
|
||||
|
||||
if (selectedSource && selectedSource.requestId) {
|
||||
const { requestId, ...source } = selectedSource;
|
||||
this.broadcastMessage('media-source-callback', { requestId, source, error: sourceError });
|
||||
this.broadcastMessage('media-source-callback-v1', { requestId, response: { source, error: sourceError } });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user