You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to call AHardwareBuffer_release(h_buffer) on the receiver to release the hardware buffer otherwise the receiver runs out of file descriptors and will stop working after receiving a limited quantity of frames. For me this was at around ~512 received buffers; slightly less since I had some other files open.
The text was updated successfully, but these errors were encountered:
I’m new’ish to android development and it took me a few hours to figure this one out. Didn’t mean to be pedantic for a demo repo, but just wanted to save others the time I spent if they use your example.
Thanks, your code helped me a lot .
On Aug 29, 2020, at 10:52 PM, Spencer ***@***.***> wrote:
hmm, guess I did forget that, accept PR's ;)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
No totally understand, but figure it would be faster for you to make a PR of the quick change compared to me cloning, building, and testing it on my end. Totally agree should be fixed for future stragglers
You need to call AHardwareBuffer_release(h_buffer) on the receiver to release the hardware buffer otherwise the receiver runs out of file descriptors and will stop working after receiving a limited quantity of frames. For me this was at around ~512 received buffers; slightly less since I had some other files open.
The text was updated successfully, but these errors were encountered: