mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-26 17:14:59 +01:00
Clean
This commit is contained in:
parent
6a8ef889eb
commit
476348d961
@ -199,7 +199,6 @@ class VectorJitsiActivity : VectorBaseActivity<ActivityJitsiBinding>(), JitsiMee
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
companion object {
|
||||
fun newIntent(context: Context, roomId: String, widgetId: String, enableVideo: Boolean): Intent {
|
||||
return Intent(context, VectorJitsiActivity::class.java).apply {
|
||||
|
@ -476,7 +476,6 @@ class WebRtcCall(val mxCall: MxCall,
|
||||
|
||||
if (camera != null) {
|
||||
val videoCapturer = cameraIterator.createCapturer(camera.name, object : CameraEventsHandlerAdapter() {
|
||||
|
||||
override fun onFirstFrameAvailable() {
|
||||
super.onFirstFrameAvailable()
|
||||
videoCapturerIsInError = false
|
||||
@ -490,7 +489,6 @@ class WebRtcCall(val mxCall: MxCall,
|
||||
videoCapturerIsInError = true
|
||||
val cameraManager = context.getSystemService<CameraManager>()
|
||||
cameraAvailabilityCallback = object : CameraManager.AvailabilityCallback() {
|
||||
|
||||
override fun onCameraUnavailable(cameraId: String) {
|
||||
super.onCameraUnavailable(cameraId)
|
||||
Timber.v("On camera unavailable: $cameraId")
|
||||
|
Loading…
Reference in New Issue
Block a user