fixes
This commit is contained in:
parent
0f262116b6
commit
cef689c292
@ -105,15 +105,15 @@ void JanusConnector::sendWebRtcHandshakeMessage(const QString &sessionId, const
|
|||||||
m_sessions.value(sessionId)->trickles.append(message);
|
m_sessions.value(sessionId)->trickles.append(message);
|
||||||
} else if (messageType == "webrtcup") {
|
} else if (messageType == "webrtcup") {
|
||||||
// If we got the webrtc up from Janus already, directly reply with an ack
|
// If we got the webrtc up from Janus already, directly reply with an ack
|
||||||
if (session->webRtcConnected) {
|
// if (session->webRtcConnected) {
|
||||||
QVariantMap ack;
|
// QVariantMap ack;
|
||||||
ack.insert("id", message.value("id").toString());
|
// ack.insert("id", message.value("id").toString());
|
||||||
ack.insert("type", "ack");
|
// ack.insert("type", "ack");
|
||||||
// emit webRtcHandshakeMessageReceived(session->sessionId, ack);
|
//// emit webRtcHandshakeMessageReceived(session->sessionId, ack);
|
||||||
} else {
|
// } else {
|
||||||
// otherwise store the request and reply when we get the webrtcup
|
// // otherwise store the request and reply when we get the webrtcup
|
||||||
session->webRtcUp = message;
|
// session->webRtcUp = message;
|
||||||
}
|
// }
|
||||||
} else {
|
} else {
|
||||||
qCWarning(dcJanus()) << "Unhandled message type:" << messageType << message;
|
qCWarning(dcJanus()) << "Unhandled message type:" << messageType << message;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user