Re: Video lag 10 seconds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Evgeny 

 i have open pjsua2 sample project in android studio. then make sip registration the sip registration and call is working fine.  but some time app crash on hangup action. following code for  hangup.  Usually after second attempt to hangup call .. 

CallOpParam prm = new CallOpParam();
prm.setStatusCode(pjsip_status_code.PJSIP_SC_DECLINE);
currentCall.hangup(prm);

the currentCall is my call object.


Do you get same error as well 


On Fri, Jul 31, 2020 at 5:02 PM Evgeny Nesterov <home@xxxxxxxx> wrote:

Our investigation showed that the problem is server stream dependent.

If the server sends a stream at a speed of 15 fps - all OK.

If the server sends a stream at a speed of 25 fps - we have increasing delay.

I think this is android video driver problem, which not working correctly when incoming stream FPS changed.


29.07.2020 14:31, Evgeny Nesterov пишет:

I`m build without problem, but i have strange incoming video lag. And i can`t understand problem why lag occurs: wrong sip server? wrong use library? wrong android? bug in pjsip?

29.07.2020 14:09, Lobsang tibet пишет:
hi Nesterov


 i am trying on the latest version of library without success . i am not able to build openh264 codec library .

Any help would be high

make OS=android NDKROOT=/home/Username/Downloads/android-ndk-r21d-linux-x86_64/android-ndk-r21d TARGET=android-28
Error
> build/platform-android.mk:51: *** Compiler not found, bad NDKROOT or
> ARCH?.  Stop.

On Wed, Jul 29, 2020 at 12:08 PM Evgeny Nesterov <home@xxxxxxxx> wrote:
Hey guys!

But in fact, does anyone use the library under Android platform? Has
anyone tried running sample app on the latest versions of the library?

23.07.2020 18:47, Evgeny Nesterov пишет:
> Hello,
>
> I build Android application based on pjsip library. For app i use java
> and pjsua2 via swig binding.
>
> When i make video call i have strange behaviour: call start normaly,
> video showed, audio to with minimal latency. But after about 30
> seconds, video starts to lag relative to audio. This delay grows and
> reaches 10 seconds. But the sound at the same time there is no delay.
>
> I build sample android app and this app has exactly the same problem.
>
> Can someone tell me which way to look and what is the problem?
>
--
Evgeny Nesterov



_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
-- 
Evgeny Nesterov

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
-- 
Evgeny Nesterov
_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux