Clean
This commit is contained in:
parent
6a8ef889eb
commit
476348d961
|
@ -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 {
|
||||||
|
|
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue