mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-06-04 11:29:45 +00:00
fix(telemost): fix typo in handleSdpAnswer
This commit is contained in:
@@ -532,7 +532,7 @@ func (p *Peer) handleSdpOffer(offer map[string]interface{}, uid string) error {
|
||||
func (p *Peer) handleSdpAnswer(answer map[string]interface{}, uid string) {
|
||||
sdp, _ := answer["sdp"].(string)
|
||||
if err := p.pcPub.SetRemoteDescription(webrtc.SessionDescription{
|
||||
Type: webrtc.SDTypeAnswer,
|
||||
Type: webrtc.SDPTypeAnswer,
|
||||
SDP: sdp,
|
||||
}); err != nil {
|
||||
log.Printf("SetRemoteDescription error: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user