summaryrefslogtreecommitdiff
path: root/src/WebRTCLibObservers.cpp
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-07-02 15:50:08 +0200
committerGitHub <noreply@github.com>2021-07-02 15:50:08 +0200
commite120cc7ed6fb2413743d1ade59c50a55c3c9511b (patch)
tree4264358c3618a6db142d4cef4c0452decc3188d0 /src/WebRTCLibObservers.cpp
parent001be7850090f88e0ff760eddadbe1c03004fd0f (diff)
parentda20ebf3970e311af4fa7a0e0b52a58041ceac3e (diff)
downloadfork-godot-webrtc-native-e120cc7ed6fb2413743d1ade59c50a55c3c9511b.tar.gz
fork-godot-webrtc-native-e120cc7ed6fb2413743d1ade59c50a55c3c9511b.tar.bz2
fork-godot-webrtc-native-e120cc7ed6fb2413743d1ade59c50a55c3c9511b.zip
Merge pull request #33 from Faless/bump/webrtc_4472
Bump webrtc to branch-heads/4472. Fixes signalling.
Diffstat (limited to 'src/WebRTCLibObservers.cpp')
-rw-r--r--src/WebRTCLibObservers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WebRTCLibObservers.cpp b/src/WebRTCLibObservers.cpp
index 4564195..6d8f15f 100644
--- a/src/WebRTCLibObservers.cpp
+++ b/src/WebRTCLibObservers.cpp
@@ -15,7 +15,7 @@ void WebRTCLibPeerConnection::GodotCSDO::OnSuccess(webrtc::SessionDescriptionInt
parent->queue_signal("session_description_created", 2, desc->type().c_str(), sdp.c_str());
};
-void WebRTCLibPeerConnection::GodotCSDO::OnFailure(const std::string &error){};
+void WebRTCLibPeerConnection::GodotCSDO::OnFailure(webrtc::RTCError error){};
// SetSessionObseerver
WebRTCLibPeerConnection::GodotSSDO::GodotSSDO(WebRTCLibPeerConnection *parent) {
@@ -23,7 +23,7 @@ WebRTCLibPeerConnection::GodotSSDO::GodotSSDO(WebRTCLibPeerConnection *parent) {
}
void WebRTCLibPeerConnection::GodotSSDO::OnSuccess(){};
-void WebRTCLibPeerConnection::GodotSSDO::OnFailure(const std::string &error){};
+void WebRTCLibPeerConnection::GodotSSDO::OnFailure(webrtc::RTCError error){};
// PeerConnectionObserver
WebRTCLibPeerConnection::GodotPCO::GodotPCO(WebRTCLibPeerConnection *parent) {