• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps getnameinfo() API call failing on Google Nexus 10

harshalpatel

Lurker
May 13, 2015
5
2
I am playing RTP streams using my custom Android app, which uses ffmpeg as shared library (.so file).

My video player is working fine on most of the Android tablets. But it is not able to play RTP streams on Google Nexus 10.

So I looked into ffmpeg code and it looks like getnameinfo() native call in rtsp.c is failing for Google Nexus 10.
So I am using ff_getnameinfo() instead as a workaround for this issue.

Can any expert please let me know why getnameinfo() API call might fail, but only on Google Nexus 10? Possibly a security or Android config issue ?

NOTE:
getaddrinfo() API call does not seem to be failing. Android version on Google Nexus 10: 4.2.2(Jelly Bean).

Thank you,
Harshal Patel
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones