webrtc / samples

WebRTC Web demos and samples
https://webrtc.github.io/samples
BSD 3-Clause "New" or "Revised" License
13.94k stars 5.71k forks source link

Helpppp!Callback does not be called when I call SetLocalDescription #1578

Closed zdh3303 closed 1 year ago

zdh3303 commented 1 year ago

using webrtc native api C++, system: window 10

Description

I call SetLocalDescription in the OnSuccess(webrtc::SessionDescriptionInterface* desc) after CreateAnswer, but the callback does not be called

Steps to reproduce

receive the peer offer ,SetRemoteDescription ,createanswer,call SetLocalDescription in the OnSuccess(webrtc::SessionDescriptionInterface* desc) after CreateAnswer,

Expected results

SetLocalDescription(Observer, desc),Observer::OnSuccess or OnFailure should be called

Actual results

SetLocalDescription(Observer, desc),Observer::OnSuccess or OnFailure does not be called

fippo commented 1 year ago

As the template you deleted says, this repository is about JS samples, not C++