Hi,
Currently I can send 5-7 frames from the magic leap 2 then froze with the error
org.webrtc.Logging: HardwareVideoEncoder: Dropped frame, encoder queue full
Any suggestion on how to prevent error like this?
Hi,
Currently I can send 5-7 frames from the magic leap 2 then froze with the error
org.webrtc.Logging: HardwareVideoEncoder: Dropped frame, encoder queue full
Any suggestion on how to prevent error like this?
Hi @inz.ece,
This issue typically occurs when the Video Encoder is overloaded with tasks or is lagging behind.
Firstly, make sure that you are using the latest version of WebRTC.
Next, I would try to adjust the encoder settings to perhaps reduce the workload. You can try several things like changing the bitrate, resolution, or frame rate.
If these do not fix your issue, I would try to check other parts of your app to see if they are taking up a lot of resources that may be holding up your video encoder.
Best of luck and let me know if I can provide further assistance.
Hi I found this github issue similar problem: [REQUEST]: Android x86_64 support · Issue #802 · Unity-Technologies/com.unity.webrtc · GitHub
I think it’s happening because Magic Leap 2 and H264 encoding doesn’t go along? I even tried H265 and instantly encoder queue full.
@etucker, I wonder if there’s anything else I can do in the Unity and Magic Leap 2 side, since my receiving end doesn’t have a VP8depacketizer.
I’m not sure about the issue with the H264 encoder being an issue. You can test the following example that uses Unity WebRTC and Magic Leap 2: