Code refactoring

Code refactoring
This commit is contained in:
Alexey Khit
2023-03-01 18:03:11 +03:00
parent c70c3a58f1
commit c2cdf60ffc
7 changed files with 34 additions and 17 deletions

View File

@@ -57,7 +57,7 @@ func (c *Conn) GetAnswer() (answer string, err error) {
return
}
return desc.SDP, nil
return c.pc.LocalDescription().SDP, nil
}
func (c *Conn) GetCompleteAnswer() (answer string, err error) {