|
@@ -94,10 +94,10 @@ export default {
|
|
|
async startRecordAudio() {
|
|
|
let err, stream, res;
|
|
|
if (!this.mediaStream) {
|
|
|
- let httpHook = this.hookProtocol;
|
|
|
+ let httpsHook = this.httpsHook;
|
|
|
let pushKey = this.pushKey;
|
|
|
pushKey = CryptoJS.MD5(pushKey);
|
|
|
- let serverHost = `${hookProtocol}://${hookHost}`
|
|
|
+ let serverHost = `${httpsHook}`
|
|
|
let app = "rtc";
|
|
|
let stream = `audio${this.deviceId}`
|
|
|
// webrtc 请求推流 url
|