mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-10-15 21:00:56 +08:00
Code refactoring
Code refactoring
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user