More speakerphone and call related enhancements for API 31+
This commit is contained in:
@@ -112,5 +112,11 @@ class Call(val callp: Long, val ua: UserAgent, val peerUri: String, val dir: Str
|
||||
return null
|
||||
}
|
||||
|
||||
fun connectedCall(): Call? {
|
||||
for (c in BaresipService.calls.reversed())
|
||||
if (c.status == "connected") return c
|
||||
return null
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user