Call and answer related fixes and improvements

This commit is contained in:
Juha Heinanen
2022-08-03 12:29:30 +03:00
parent a042c974f1
commit 8c86912abe
5 changed files with 24 additions and 3 deletions
@@ -86,6 +86,10 @@ class Call(val callp: Long, val ua: UserAgent, val peerUri: String, val dir: Str
if (ua.account.mediaEnc != "") security = R.drawable.box_red
}
fun destroy() {
Api.call_destroy(callp)
}
companion object {
fun calls(): ArrayList<Call> {