mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
FS-9640: Allow access to Verto stream object via callback
Exposes Verto MediaStream objects via the onGranted() callback
This commit is contained in:
parent
749aa8fb3c
commit
f566467cd0
@ -422,7 +422,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
onStreamSuccess(self);
|
||||
onStreamSuccess(self, stream);
|
||||
}
|
||||
|
||||
function onError(e) {
|
||||
|
@ -2020,7 +2020,7 @@
|
||||
RTCcallbacks.onStream = function(rtc, stream) {
|
||||
if (dialog.verto.options.permissionCallback &&
|
||||
typeof dialog.verto.options.permissionCallback.onGranted === 'function'){
|
||||
dialog.verto.options.permissionCallback.onGranted();
|
||||
dialog.verto.options.permissionCallback.onGranted(stream);
|
||||
}
|
||||
console.log("stream started");
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user