0

Screenshot from my PC after I tried to list out available methods in webrtc.PeerConnection objectur.com/3Nydn.png

The official docs pion webrtc doc shows that *func (PeerConnection) OnNegotiationNeeded exists. But actually this event is not present in the PeerConnection object. It can be checked from the given screenshot. Also other events are present except this one. What is the solution?

1 Answers1

0

I think we talked about this on Slack and I think you solved it?

But for anyone else who hits this, OnNegotationNeeded only exists in /v3 which is still in beta. If you want to use this make sure you aren't importing /v2.

Sean DuBois
  • 3,972
  • 1
  • 11
  • 22