This commit is contained in:
Benoit Marty 2021-02-10 16:31:36 +01:00
parent 6a8ef889eb
commit 476348d961
2 changed files with 0 additions and 3 deletions

View File

@ -199,7 +199,6 @@ class VectorJitsiActivity : VectorBaseActivity<ActivityJitsiBinding>(), JitsiMee
} }
} }
companion object { companion object {
fun newIntent(context: Context, roomId: String, widgetId: String, enableVideo: Boolean): Intent { fun newIntent(context: Context, roomId: String, widgetId: String, enableVideo: Boolean): Intent {
return Intent(context, VectorJitsiActivity::class.java).apply { return Intent(context, VectorJitsiActivity::class.java).apply {

View File

@ -476,7 +476,6 @@ class WebRtcCall(val mxCall: MxCall,
if (camera != null) { if (camera != null) {
val videoCapturer = cameraIterator.createCapturer(camera.name, object : CameraEventsHandlerAdapter() { val videoCapturer = cameraIterator.createCapturer(camera.name, object : CameraEventsHandlerAdapter() {
override fun onFirstFrameAvailable() { override fun onFirstFrameAvailable() {
super.onFirstFrameAvailable() super.onFirstFrameAvailable()
videoCapturerIsInError = false videoCapturerIsInError = false
@ -490,7 +489,6 @@ class WebRtcCall(val mxCall: MxCall,
videoCapturerIsInError = true videoCapturerIsInError = true
val cameraManager = context.getSystemService<CameraManager>() val cameraManager = context.getSystemService<CameraManager>()
cameraAvailabilityCallback = object : CameraManager.AvailabilityCallback() { cameraAvailabilityCallback = object : CameraManager.AvailabilityCallback() {
override fun onCameraUnavailable(cameraId: String) { override fun onCameraUnavailable(cameraId: String) {
super.onCameraUnavailable(cameraId) super.onCameraUnavailable(cameraId)
Timber.v("On camera unavailable: $cameraId") Timber.v("On camera unavailable: $cameraId")