[jitsi-dev] Fwd: Fw:problem with jitisi-android


#1

Hi Lyubomir,

Do you have any clues for us why the exception described below may
occur on some devices ?

Regards,
Pawel

···

---------- Forwarded message ----------
From: MAXWELL <95143848@qq.com>
Date: Mon, Jun 10, 2013 at 3:30 AM
Subject: Re: [jitsi-dev] Fw:problem with jitisi-android
To: Paweł Domas <pawel.domas@jitsi.org>

hi , Pawel
    Maybe you didn't noticed my last email which describes the problem i found .
    I keep on tracking the code(test with HTC-ONE) ,then I found that
there was always an exception in the method [private void
localSocketAccepted (LocalSocket localsockekt,InputStream inputstream
)] in class:DataSource, and the exception is that : nalLenth is far
bigger than MAX_NAL_LENTH. I don’t know to much about h.264 and what
does the code really mean , so I don’t know how to solve this problem.
Will there be differences among MOBILES? Maybe I should focus on H264.
    then here is answers to your question:
    P: what point exactly it freezes?
    R:when i make/answer a video call , it freezs(the local video
preview doesn't move,and no video transmitted to the other side) in
2~5 seconds after the call is connected.
    P: Does it return from method DataSource.createLocalSocket ? Is it
line 312:
        localSocket.connect(localServerSocket.getLocalSocketAddress());?
    R: The {localSocket.connect()} method works well ,it's status is connected.
    P:Does it freeze on all those devices ?
    R:All the devices(HTC ONE , HUAWEI, XIAOMI)except SUMSUNG GALAXY
S3, but still no video will shown on PC side,the picture
attached with the email is what i got from PC side while tesing with
S3 .
    REGARDS,
    RAY

------------------ Original ------------------
From: "Paweł Domas"<pawel.domas@jitsi.org>;
Date: Mon, Jun 10, 2013 03:24 AM
To: "MAXWELL"<95143848@qq.com>;
Subject: Re: [jitsi-dev] Fw:problem with jitisi-android

Hi Ray,

On Sun, Jun 9, 2013 at 6:22 AM, ray <95143848@qq.com> wrote:

hi , Pawel

please excuse me that i didn’t reply in time because I am not using mailing
list well.

I am excited for your replies:

Yes, I know the file descriptor should me point to local socket for
streaming ,but if I do so, the local preview would freeze in there, and no
video data passed to PC, sometimes audio freeze either.So I did a test ,if
I set the mediarecorder output path to SD card,the preview goes well, and
the viedo will be stored in SD card,of course ,no video will be transmitted
to PC. So I am wondering if there is something wrong with the thread
,“LOCALSERVERTHREAD”?

I test the jitsi-android with several MOBILRE, HUAWEI,GALAXY S3,now I am
using HTC ONE (OS version 4.1.2),the results are not much alike, when I am
using S3,the preview won’t freeze ,and I can see video is transmitting ,via
“call info”,but only messy frame was shown in the PC(I mean there is a so
called image ,but not exactly what it is), and this is the best result I got
until now.

I want to know what type MOBILE are you using in test,and what is your clue?

I test it on Asus Nexus 7. Does it freeze on all those devices ? It
would be great if you could figure out on what point exactly it
freezes. Does it return from method DataSource.createLocalSocket ? Is
it line 312: localSocket.connect(localServerSocket.getLocalSocketAddress());
?

Regards,
Pawel


#2

Here's also the attachment showing video streamed to the pc when the
preview doesn't freeze.

Regards,
Pawel

···

On Mon, Jun 10, 2013 at 8:49 AM, Paweł Domas <pawel.domas@jitsi.org> wrote:

Hi Lyubomir,

Do you have any clues for us why the exception described below may
occur on some devices ?

Regards,
Pawel

---------- Forwarded message ----------
From: MAXWELL <95143848@qq.com>
Date: Mon, Jun 10, 2013 at 3:30 AM
Subject: Re: [jitsi-dev] Fw:problem with jitisi-android
To: Paweł Domas <pawel.domas@jitsi.org>

hi , Pawel
    Maybe you didn't noticed my last email which describes the problem i found .
    I keep on tracking the code(test with HTC-ONE) ,then I found that
there was always an exception in the method [private void
localSocketAccepted (LocalSocket localsockekt,InputStream inputstream
)] in class:DataSource, and the exception is that : nalLenth is far
bigger than MAX_NAL_LENTH. I don’t know to much about h.264 and what
does the code really mean , so I don’t know how to solve this problem.
Will there be differences among MOBILES? Maybe I should focus on H264.
    then here is answers to your question:
    P: what point exactly it freezes?
    R:when i make/answer a video call , it freezs(the local video
preview doesn't move,and no video transmitted to the other side) in
2~5 seconds after the call is connected.
    P: Does it return from method DataSource.createLocalSocket ? Is it
line 312:
        localSocket.connect(localServerSocket.getLocalSocketAddress());?
    R: The {localSocket.connect()} method works well ,it's status is connected.
    P:Does it freeze on all those devices ?
    R:All the devices(HTC ONE , HUAWEI, XIAOMI)except SUMSUNG GALAXY
S3, but still no video will shown on PC side,the picture
attached with the email is what i got from PC side while tesing with
S3 .
    REGARDS,
    RAY

------------------ Original ------------------
From: "Paweł Domas"<pawel.domas@jitsi.org>;
Date: Mon, Jun 10, 2013 03:24 AM
To: "MAXWELL"<95143848@qq.com>;
Subject: Re: [jitsi-dev] Fw:problem with jitisi-android

Hi Ray,

On Sun, Jun 9, 2013 at 6:22 AM, ray <95143848@qq.com> wrote:

hi , Pawel

please excuse me that i didn’t reply in time because I am not using mailing
list well.

I am excited for your replies:

Yes, I know the file descriptor should me point to local socket for
streaming ,but if I do so, the local preview would freeze in there, and no
video data passed to PC, sometimes audio freeze either.So I did a test ,if
I set the mediarecorder output path to SD card,the preview goes well, and
the viedo will be stored in SD card,of course ,no video will be transmitted
to PC. So I am wondering if there is something wrong with the thread
,“LOCALSERVERTHREAD”?

I test the jitsi-android with several MOBILRE, HUAWEI,GALAXY S3,now I am
using HTC ONE (OS version 4.1.2),the results are not much alike, when I am
using S3,the preview won’t freeze ,and I can see video is transmitting ,via
“call info”,but only messy frame was shown in the PC(I mean there is a so
called image ,but not exactly what it is), and this is the best result I got
until now.

I want to know what type MOBILE are you using in test,and what is your clue?

I test it on Asus Nexus 7. Does it freeze on all those devices ? It
would be great if you could figure out on what point exactly it
freezes. Does it return from method DataSource.createLocalSocket ? Is
it line 312: localSocket.connect(localServerSocket.getLocalSocketAddress());
?

Regards,
Pawel