HLS video improvements

This commit is contained in:
Isaac
2024-10-05 20:14:59 +04:00
parent 9f11ee1c5a
commit 9e1dc11997
13 changed files with 395 additions and 29 deletions

View File

@@ -160,7 +160,7 @@ final class VideoChatActionButtonComponent: Component {
case .unmuted:
backgroundColor = !isActive ? UIColor(rgb: 0x124B21) : UIColor(rgb: 0x34C659)
case .raiseHand, .scheduled:
backgroundColor = UIColor(rgb: 0x3252EF)
backgroundColor = !isActive ? UIColor(rgb: 0x23306B) : UIColor(rgb: 0x3252EF)
}
iconDiameter = 60.0
case let .video(isActive):
@@ -282,6 +282,7 @@ final class VideoChatActionButtonComponent: Component {
}
self.isEnabled = isEnabled
self.isUserInteractionEnabled = isEnabled
return size
}