Skip to content

Commit

Permalink
allow overriding of ice gatherer
Browse files Browse the repository at this point in the history
  • Loading branch information
aultimus committed Jan 8, 2024
1 parent 88dd109 commit 7518cd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions peerconnection.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,10 @@ func (pc *PeerConnection) initConfiguration(configuration Configuration) error {
return nil
}

func (pc *PeerConnection) SetICEGatherer(gatherer *ICEGatherer) {
pc.iceGatherer = gatherer
}

// OnSignalingStateChange sets an event handler which is invoked when the
// peer connection's signaling state changes
func (pc *PeerConnection) OnSignalingStateChange(f func(SignalingState)) {
Expand Down

0 comments on commit 7518cd4

Please sign in to comment.