From 9c4428810cc81b274c2c5cc7862e10f4d57e093e Mon Sep 17 00:00:00 2001 From: Paul-Louis Ageneau Date: Sat, 22 Aug 2020 00:23:15 +0200 Subject: [PATCH] Updated Readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a670714..9bed31c 100644 --- a/README.md +++ b/README.md @@ -118,12 +118,12 @@ config.iceServers.emplace_back("mystunserver.org:3478"); auto pc = make_shared(config); -pc->onLocalDescription([](const rtc::Description &sdp) { +pc->onLocalDescription([](rtc::Description sdp) { // Send the SDP to the remote peer MY_SEND_DESCRIPTION_TO_REMOTE(string(sdp)); }); -pc->onLocalCandidate([](const rtc::Candidate &candidate) { +pc->onLocalCandidate([](rtc::Candidate candidate) { // Send the candidate to the remote peer MY_SEND_CANDIDATE_TO_REMOTE(candidate.candidate(), candidate.mid()); });