This message was deleted.
# helpdesk
s
This message was deleted.
d
Hey Furkan, do you know which device the user is publishing with? this seems like an issue that's related to the hardware (either camera or encoder)
e
This user have HUAWEI P30 lite
Device having another green stripe issue that I didn't mention above : HUAWEI Y9 Prime 2019 @dry-elephant-14928
d
CC @eager-raincoat-52616
e
@enough-boots-69343 can you get full device logs from this user?
e
I am using Firebase Crashlytics. There are few bug logs related to livekit or webrtc. But only one of these users has a log record. I have added below:
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: PlatformException(error, MediaStreamTrack has been disposed., null, java.lang.IllegalStateException: MediaStreamTrack has been disposed.
at org.webrtc.MediaStreamTrack.checkMediaStreamTrackExists(Unknown Source:13)
at org.webrtc.MediaStreamTrack.enabled(Unknown Source:0)
at com.cloudwebrtc.webrtc.MethodCallHandlerImpl.mediaStreamTrackSetEnabled(Unknown Source:14)
at com.cloudwebrtc.webrtc.MethodCallHandlerImpl.onMethodCall(Unknown Source:905)
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(Unknown Source:17)
at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(Unknown Source:18)
at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0(Unknown Source:20)
at io.flutter.embedding.engine.dart.DartMessenger.a(Unknown Source:0)
at io.flutter.embedding.engine.dart.a.run(Unknown Source:12)
at android.os.Handler.handleCallback(Handler.java:900)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8668)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
). Error thrown null.
at StandardMethodCodec.decodeEnvelope(message_codecs.dart:653)
at MethodChannel._invokeMethod(platform_channel.dart:296)
There are livekit and webrtc logs independent of these people, I can send them if you want. @eager-raincoat-52616
e
that would be helpful
this is livekit-flutter on android?
e
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: LiveKit Exception ConnectException Timed out waiting for EnginePeerStateUpdatedEvent. Error thrown null. at Engine.connect.<fn>(engine.dart:148)
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Unable to RTCPeerConnection::setRemoteDescription: peerConnectionSetRemoteDescription(): WEBRTC_SET_REMOTE_DESCRIPTION_ERROR: Failed to set remote answer sdp: Called in wrong state: stable. Error thrown null.
at RTCPeerConnectionNative.setRemoteDescription(rtc_peerconnection_impl.dart:319)
at Transport.setRemoteDescription(transport.dart:84)
at Engine._setUpSignalListeners.<fn>(engine.dart:746)
at EventsListenable.on.<fn>(event.dart:157)
at EventsListenable.listen.<fn>.<fn>(event.dart:128)
at BasicLock.synchronized(basic_lock.dart:33)
at EventsListenable.listen.<fn>(event.dart:127)
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Unable to getUserMedia: getUserMedia(): DOMException, NotAllowedError. Error thrown null.
at MediaDeviceNative.getUserMedia(mediadevices_impl.dart:48)
at LocalTrack.createStream(local.dart:135)
at LocalVideoTrack.createCameraTrack(video.dart:39)
at LocalParticipant.setSourceEnabled(local.dart:339)
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Call initialize before setting the stream. Error thrown null.
at RTCVideoRenderer.srcObject=(rtc_video_renderer_impl.dart:50)
at _VideoTrackRendererState._attach(video_track_renderer.dart:64)
at _VideoTrackRendererState.didUpdateWidget.<fn>(video_track_renderer.dart:87)
at _VideoTrackRendererState.didUpdateWidget(video_track_renderer.dart:88)
at StatefulElement.update(framework.dart:5065)
at Element.updateChild(framework.dart:3570)
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: LiveKit Exception: [NegotiationError] Unable to RTCPeerConnection::setLocalDescription: peerConnectionSetLocalDescription(): WEBRTC_SET_LOCAL_DESCRIPTION_ERROR: Failed to set local offer sdp: The order of m-lines in subsequent offer doesn't match order from previous offer/answer.. Error thrown null.
at Transport.createAndSendOffer(transport.dart:140)
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Unable to RTCRtpSender::setTrack: rtpSenderSetTrack(): peerConnection is null. Error thrown null.
at RTCRtpSenderNative.setTrack(rtc_rtp_sender_impl.dart:112)
at LocalParticipant.setSourceEnabled(local.dart:330)
Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Unable to RTCPeerConnection::getLocalDescription: getLocalDescription(): peerConnection is null. Error thrown null.
at RTCPeerConnectionNative.getLocalDescription(rtc_peerconnection_impl.dart:338)
at Engine.sendSyncState(engine.dart:668)
These are all the errors I've seen in Firebase. The first post I posted is the most common error log.
e
hmm, do you have logs from a device that is showing the green stripes? the errors should probably get a separate thread for investigation. cc @freezing-lifeguard-43174 fatal exceptions
f
@enough-boots-69343 Is the log you provided a continuous log? I mean these logs are produced in the same exception?
e
These errors are Firebase log records that occur in dozens of users every day. I don't know how they are triggered. @freezing-lifeguard-43174
These are the error logs for all my users, not the ones with the green stripe problem.
f
okay, thanks, I’ll look into these issues
e
@freezing-lifeguard-43174 any progress?
@freezing-lifeguard-43174 According to my research, this happens to streamers with bad internet. It probably occurs in other screens for the same reason. Maybe this information will help you.
👀 1
d
@enough-boots-69343 which version of the SDK are you using? can you comment in this issue?
e
@dry-elephant-14928 I commented.
🙏 1