[mirotalk] - remove unused field

This commit is contained in:
Miroslav Pejic
2021-02-13 10:01:08 +01:00
parent d250df6a3e
commit f9ab5c3d2b
+2 -3
View File
@@ -172,7 +172,6 @@ function initPeer() {
{
optional: [
{ DtlsSrtpKeyAgreement: true }, // is required for Chrome and Firefox to interoperate.
{ RtpDataChannels: DetectRTC.isRtpDataChannelsSupported }, // is required if we want to make use of the DataChannels API on Firefox.
],
}
);
@@ -646,10 +645,10 @@ function getDevices() {
}
// =====================================================
// AttachMediaStream will soon be removed
// AttachMediaStream stream to element
// =====================================================
function attachMediaStream(element, stream) {
console.log("DEPRECATED, attachMediaStream will soon be removed.");
//console.log("DEPRECATED, attachMediaStream will soon be removed.");
element.srcObject = stream;
}