linphone-developers
[Top][All Lists]
Advanced

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

[Linphone-developers] the blank window in video call between android tv


From: you xian
Subject: [Linphone-developers] the blank window in video call between android tv box and other device
Date: Thu, 29 Mar 2018 14:18:35 +0800

Hi, the linphone developer team:
I have met a problem which confused me for long time. i met linphone project 4 months ago, and i wanna transplant it to android TV platform. 
my android tv box is The Tmall Box 3, which is made by Alibaba(the Chinese Company), It has the Amlogic 905x cpu with Mali 450mp5 GPU, 1G ram and 8G rom and running android 6.0. 

the version before 3.2.8 works okay on this device, which just have the big green area beyond the video window.and i noticed that your team have fixed it in the later version.

so when i try the new version, the green area gone, but new problem came out. the android tv box’s video call interface looks just fine, but other devices which run the latest app can not see the android tv box’s picture, no matter the IPHONE or Android phone (i test android phone mi 5s plus ,and google pixel xl ) or even the pc (mac pro run the linphone mac version 4.1.1), the phones just get black window ,and the mac gets no thing. it looks like that the image of the android box hasn’t been transmitted.

I looked up the video call informations, the android tv box’s upload bandwidth is 0 kbits/s the download bandwidth is normal. but the sent video fps looks fine(around 28 fps), which is wired.

so i looked up the  logcat, there is my logcat message blew. i have noticed the message where i marked in red, I’v googled it, but i got nothing, it seems that the amlogic’s encoder have error happened.

I look the amlogic 905x, it supports hw H264 1080p*30fps encode.

please guide me, Thanks for any help



yours
   莜






____________________________________________________________________________________________

3:58:33.005 27101-27101/org.linphone E/MediaPlayer: Should have subtitle controller already set
03-29 13:58:33.234 27101-27101/org.linphone E/MediaPlayer: Should have subtitle controller already set
03-29 13:58:33.303 27101-27116/org.linphone I/aoc: Background sticky concurrent mark sweep GC freed 37101(2MB) AllocSpace objects, 252(3MB) LOS objects, 26% free, 16MB/22MB, paused 1.132ms total 135.027ms
03-29 13:58:33.320 27101-27101/org.linphone W/View: requestLayout() improperly called by android.widget.TextView{3696efa V.ED.... ......ID 0,9-54,46 #1020016 android:id/title} during layout: running second layout pass
03-29 13:58:35.721 27101-27101/org.linphone I/AudioTrack: set(): 0xdf8fad80 streamType 0, sampleRate 48000, format 0x1, channelMask 0x1, frameCount 0, flags #4, notificationFrames 0, sessionId 38, transferType 0
03-29 13:58:35.950 27101-27101/org.linphone E/SensorManager: sensor or listener is null
03-29 13:58:37.535 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=1920 height=90 mMaxSize=27
03-29 13:58:37.536 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=1920 height=72 mMaxSize=27
    initSquares width=1844 height=90 mMaxSize=27
    initSquares width=1844 height=72 mMaxSize=27
03-29 13:58:37.537 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=960 height=90 mMaxSize=27
    initSquares width=960 height=72 mMaxSize=27
03-29 13:58:37.538 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=240 height=90 mMaxSize=27
03-29 13:58:37.539 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=240 height=72 mMaxSize=27
03-29 13:58:37.541 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=1920 height=90 mMaxSize=27
    initSquares width=1920 height=72 mMaxSize=27
03-29 13:58:37.542 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=480 height=90 mMaxSize=27
    initSquares width=480 height=72 mMaxSize=27
03-29 13:58:37.543 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=960 height=90 mMaxSize=27
    initSquares width=960 height=72 mMaxSize=27
03-29 13:58:37.544 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=240 height=90 mMaxSize=27
    initSquares width=240 height=72 mMaxSize=27
03-29 13:58:37.546 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=1920 height=90 mMaxSize=27
    initSquares width=1920 height=72 mMaxSize=27
03-29 13:58:37.547 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=1844 height=90 mMaxSize=27
    initSquares width=1844 height=72 mMaxSize=27
03-29 13:58:37.548 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=960 height=90 mMaxSize=27
03-29 13:58:37.549 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=960 height=72 mMaxSize=27
    initSquares width=240 height=90 mMaxSize=27
    initSquares width=240 height=72 mMaxSize=27
03-29 13:58:37.551 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=1920 height=90 mMaxSize=27
03-29 13:58:37.554 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=1920 height=72 mMaxSize=27
    initSquares width=480 height=90 mMaxSize=27
03-29 13:58:37.575 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=480 height=72 mMaxSize=27
03-29 13:58:37.576 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=960 height=90 mMaxSize=27
    initSquares width=960 height=72 mMaxSize=27
03-29 13:58:37.577 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=240 height=90 mMaxSize=27
03-29 13:58:37.580 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=240 height=72 mMaxSize=27
03-29 13:58:37.981 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=240 height=72 mMaxSize=27
03-29 13:58:38.999 27101-27101/org.linphone D/SnakeProgressBar: initSquares width=240 height=72 mMaxSize=27
03-29 13:58:39.662 27101-27101/org.linphone I/AudioTrack: ~AudioTrack, releasing session id from 27101 on behalf of 27101 mState/4
03-29 13:58:39.687 27101-27101/org.linphone I/AudioTrack: set(): 0xdf8fad80 streamType 0, sampleRate 48000, format 0x1, channelMask 0x1, frameCount 0, flags #4, notificationFrames 0, sessionId 42, transferType 0
03-29 13:58:39.697 27101-31894/org.linphone I/OMXClient: Using client-side OMX mux.
03-29 13:58:40.014 27101-27101/org.linphone D/Camera: app passed NULL surface
03-29 13:58:40.016 27101-31894/org.linphone E/ACodec: [OMX.amlogic.video.encoder.avc] storeMetaDataInBuffers (output) failed w/ err -2147483648
03-29 13:58:40.016 27101-31894/org.linphone I/ACodec: [OMX.amlogic.video.encoder.avc] using color format 0x13 in place of 0x7f420888
03-29 13:58:40.018 27101-31894/org.linphone I/ACodec: setupVideoEncoder succeeded
03-29 13:58:40.018 27101-31894/org.linphone E/ACodec: [OMX.amlogic.video.encoder.avc] configureCodec returning error -2147483648
    signalError(omxError 0x80001001, internalError -2147483648)
03-29 13:58:40.018 27101-31893/org.linphone E/MediaCodec: Codec reported err 0x80001001, actionCode 0, while in state 3
03-29 13:58:40.018 27101-27101/org.linphone E/MediaCodec: configure failed with err 0x80001001, resetting...
03-29 13:58:40.020 27101-31894/org.linphone I/OMXClient: Using client-side OMX mux.
03-29 13:58:40.023 27101-27101/org.linphone W/System.err: android.media.MediaCodec$CodecException: Error 0x80001001
03-29 13:58:40.024 27101-27101/org.linphone W/System.err:     at android.media.MediaCodec.native_configure(Native Method)
        at android.media.MediaCodec.configure(MediaCodec.java:581)
        at org.linphone.core.LinphoneCoreImpl.iterate(Native Method)
        at org.linphone.core.LinphoneCoreImpl.iterate(LinphoneCoreImpl.java:257)
        at org.linphone.LinphoneManager$2$1.run(LinphoneManager.java:766)
        at android.os.Handler.handleCallback(Handler.java:739)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:135)
        at android.app.ActivityThread.main(ActivityThread.java:5374)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:955)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:750)
03-29 13:58:40.135 27101-31892/org.linphone W/AudioTrack: dead IAudioTrack, PCM, creating a new one from obtainBuffer()
03-29 13:58:40.166 27101-27101/org.linphone I/Choreographer: Skipped 33 frames!  The application may be doing too much work on its main thread.
03-29 13:58:40.186 27101-31892/org.linphone E/AudioTrack: detected illegal retrograde motion by the server: mServer advanced by -22528
03-29 13:58:40.186 27101-31892/org.linphone E/libOpenSLES: Encountered unknown AudioTrack event 6 for CAudioPlayer 0xdf5ace00
03-29 13:58:40.905 27101-31946/org.linphone I/OMXClient: Using client-side OMX mux.
03-29 13:58:40.912 27101-31946/org.linphone I/ACodec: [OMX.amlogic.avc.decoder.awesome] using color format 0x15 in place of 0x7f420888
03-29 13:58:43.018 27101-31894/org.linphone W/ALooperRoster: failed to deliver message. Target handler not registered.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]