こちらのページは旧SkyWayの情報です。新しいSkyWayに関する情報はこちら

Androidで通話しているとクラッシュする

コメント

8件のコメント

  • Avatar
    Yoshiki MIZUSHIMA

    SkyWayには、長時間のビデオ通話の制限はないため、何か別の問題によって切断されているのかもしれないですね。
    問題の切り分けのために、公式のサンプルアプリでも同じ問題が発生するか、別の端末でも発生するかをチェックしてもらえると嬉しいです。

    0
    コメントアクション パーマリンク
  • Avatar
    hikiwari

    コメントありがとうございます。

    サンプル踏まえてもう少し条件変えて試してみたいと思います。

    0
    コメントアクション パーマリンク
  • Avatar
    hikiwari
    端末を1台追加し、SkyWayのサンプル上(p2p-videochat)で試してみました。
    アプリがクラッシュすることはありませんでしたが、通話が強制終了するのは確認できました。
    ※以前は1日放置しても繋がってた記憶なのですが・・・
    その時のログを共有いたします。

    長文になってしまい申し訳ありませんが、よろしくお願いします。
    【環境】
     ・SkyWaySDK:v1.1.3
    ・機種
    ①NEC PC-TE510JAW(OS:8.1)
    ②SHARP SH-M08(OS:8.1)
    ③ASUS ZenFoneMax(M2)(OS:9)
     ・ネットワーク :WIFI
    【再現手順】
     1.アプリ起動後、指定端末と通話状態にする
    2.放置
    【その他】
    通話切断時のLogCat
    ①と②組み合わせ(1回目)

    2020-04-28 16:04:23.562 6174-6536/com.ntt.ecl.webrtc.sample_p2p_videochat E/libOpenSLES: frameworks/wilhelm/src/itf/IBufferQueue.cpp:56: pthread_mutex_lock_timeout_np returned 110
    2020-04-28 16:04:23.582 6174-6536/com.ntt.ecl.webrtc.sample_p2p_videochat E/libOpenSLES: frameworks/wilhelm/src/itf/IBufferQueue.cpp:56: pthread_mutex_lock_timeout_np returned 110
    2020-04-28 16:04:23.613 6174-6536/com.ntt.ecl.webrtc.sample_p2p_videochat E/libOpenSLES: frameworks/wilhelm/src/itf/IBufferQueue.cpp:56: pthread_mutex_lock_timeout_np returned 110

    2020-04-28 16:04:23.042 7159-12649/com.ntt.ecl.webrtc.sample_p2p_videochat E/ACodec: [OMX.qcom.video.encoder.vp8] Now Loaded
    2020-04-28 16:04:23.156 7159-10522/com.ntt.ecl.webrtc.sample_p2p_videochat E/ACodec: [OMX.qcom.video.decoder.vp8] Now Loaded

    ①と②組み合わせ(2回目)

    2020-04-28 16:06:38.827 6174-7538/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=7538]
    2020-04-28 16:06:38.829 6174-7538/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=7538]
    2020-04-28 16:06:38.840 6174-6438/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: StopRecording[tid=6438]
    2020-04-28 16:06:39.129 6174-7571/com.ntt.ecl.webrtc.sample_p2p_videochat D/SurfaceUtils: disconnecting from surface 0x7e000f9010, reason disconnectFromSurface
    2020-04-28 16:06:39.163 6174-6438/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: StopPlayout[tid=6438]
    2020-04-28 16:06:39.163 6174-6438/com.ntt.ecl.webrtc.sample_p2p_videochat D/AudioTrack: stop() called with 1309632 frames delivered
    2020-04-28 16:06:39.163 6174-6438/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: DestroyAudioPlayer

    2020-04-28 16:06:10.895 7159-7330/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=7330]
    2020-04-28 16:06:10.898 7159-7330/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=7330]
    2020-04-28 16:06:10.940 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
    2020-04-28 16:06:10.940 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
    2020-04-28 16:06:10.943 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
    2020-04-28 16:06:10.943 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
    2020-04-28 16:06:10.947 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
    2020-04-28 16:06:10.947 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
    2020-04-28 16:06:10.956 7159-7314/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=7314]
    2020-04-28 16:06:10.957 7159-7314/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=7314]
    2020-04-28 16:06:11.017 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: InitPlayout[tid=7313]
    2020-04-28 16:06:11.017 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: ObtainEngineInterface
    2020-04-28 16:06:11.017 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: CreateMix
    2020-04-28 16:06:11.017 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: StartPlayout[tid=7313]
    2020-04-28 16:06:11.017 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: CreateAudioPlayer
    2020-04-28 16:06:11.018 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x1 based on channel count of 1)
    2020-04-28 16:06:11.046 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
    2020-04-28 16:06:11.046 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
    2020-04-28 16:06:11.050 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
    2020-04-28 16:06:11.050 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
    2020-04-28 16:06:11.053 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
    2020-04-28 16:06:11.053 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
    2020-04-28 16:06:11.074 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
    2020-04-28 16:06:11.074 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
    2020-04-28 16:06:11.076 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
    2020-04-28 16:06:11.076 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
    2020-04-28 16:06:11.078 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
    2020-04-28 16:06:11.078 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat W/VideoCapabilities: Unrecognized profile 2130706434 for video/avc
    2020-04-28 16:06:11.114 7159-7159/com.ntt.ecl.webrtc.sample_p2p_videochat W/ResourceType: No known package when getting name for resource number 0xffffffff
    2020-04-28 16:06:11.269 7159-12861/com.ntt.ecl.webrtc.sample_p2p_videochat E/ACodec: [OMX.qcom.video.encoder.vp8] Now Loaded
    2020-04-28 16:06:11.276 7159-12861/com.ntt.ecl.webrtc.sample_p2p_videochat W/OMXUtils: do not know color format 0x7fa30c04 = 2141391876
    2020-04-28 16:06:11.277 7159-12861/com.ntt.ecl.webrtc.sample_p2p_videochat W/OMXUtils: do not know color format 0x7f000789 = 2130708361
    2020-04-28 16:06:11.321 7159-12861/com.ntt.ecl.webrtc.sample_p2p_videochat W/OMXUtils: do not know color format 0x7f000789 = 2130708361
    2020-04-28 16:06:11.356 7159-12861/com.ntt.ecl.webrtc.sample_p2p_videochat W/ExtendedACodec: Failed to get extension for extradata parameter
    2020-04-28 16:06:11.682 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: InitRecording[tid=7313]
    2020-04-28 16:06:11.682 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: ObtainEngineInterface
    2020-04-28 16:06:11.682 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: CreateAudioRecorder
    2020-04-28 16:06:11.682 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: StartRecording[tid=7313]
    2020-04-28 16:06:11.682 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: state.count:2 state.index:1
    2020-04-28 16:06:11.931 7159-12881/com.ntt.ecl.webrtc.sample_p2p_videochat E/ACodec: [OMX.qcom.video.decoder.vp8] Now Loaded
    2020-04-28 16:06:11.983 7159-12881/com.ntt.ecl.webrtc.sample_p2p_videochat W/GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000
    2020-04-28 16:06:12.117 7159-12881/com.ntt.ecl.webrtc.sample_p2p_videochat I/chatty: uid=10159(com.ntt.ecl.webrtc.sample_p2p_videochat) identical 6 lines
    2020-04-28 16:06:12.183 7159-12881/com.ntt.ecl.webrtc.sample_p2p_videochat W/GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000
    2020-04-28 16:06:39.063 7159-12841/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=12841]
    2020-04-28 16:06:39.065 7159-12841/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=12841]
    2020-04-28 16:06:39.075 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: StopRecording[tid=7313]
    2020-04-28 16:06:39.266 7159-12861/com.ntt.ecl.webrtc.sample_p2p_videochat E/ACodec: [OMX.qcom.video.encoder.vp8] Now Loaded
    2020-04-28 16:06:39.374 7159-12881/com.ntt.ecl.webrtc.sample_p2p_videochat E/ACodec: [OMX.qcom.video.decoder.vp8] Now Loaded
    2020-04-28 16:06:39.402 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: StopPlayout[tid=7313]
    2020-04-28 16:06:39.402 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: DestroyAudioPlayer

    ②と③組み合わせ(1回目)

    2020-04-28 16:11:00.832 7159-13561/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=13561]
    2020-04-28 16:11:00.834 7159-13561/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=13561]
    2020-04-28 16:11:00.844 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: StopRecording[tid=7313]
    2020-04-28 16:11:01.041 7159-13581/com.ntt.ecl.webrtc.sample_p2p_videochat E/ACodec: [OMX.qcom.video.encoder.vp8] Now Loaded
    2020-04-28 16:11:01.171 7159-13603/com.ntt.ecl.webrtc.sample_p2p_videochat E/ACodec: [OMX.qcom.video.decoder.vp8] Now Loaded
    2020-04-28 16:11:01.199 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: StopPlayout[tid=7313]
    2020-04-28 16:11:01.200 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: DestroyAudioPlayer

    2020-04-28 16:10:33.727 7443-8604/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=8604]
    2020-04-28 16:10:33.728 7443-8604/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=8604]
    2020-04-28 16:10:34.034 7443-8604/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=8604]
    2020-04-28 16:10:34.037 7443-8604/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=8604]
    2020-04-28 16:10:34.484 7443-8604/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=8604]
    2020-04-28 16:10:34.484 7443-8603/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=8603]
    2020-04-28 16:10:34.485 7443-8604/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=8604]
    2020-04-28 16:10:34.486 7443-8603/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=8603]
    2020-04-28 16:10:36.371 7443-7443/com.ntt.ecl.webrtc.sample_p2p_videochat W/InputEventReceiver: Attempted to finish an input event but the input event receiver has already been disposed.
    2020-04-28 16:10:39.745 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: InitPlayout[tid=7678]
    2020-04-28 16:10:39.745 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: ObtainEngineInterface
    2020-04-28 16:10:39.779 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: CreateMix
    2020-04-28 16:10:39.779 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: StartPlayout[tid=7678]
    2020-04-28 16:10:39.779 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: CreateAudioPlayer
    2020-04-28 16:10:39.780 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x1 based on channel count of 1)
    2020-04-28 16:10:39.790 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat I/AudioTrack: AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 384
    2020-04-28 16:10:39.922 7443-7679/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=7679]
    2020-04-28 16:10:39.923 7443-7679/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=7679]
    2020-04-28 16:10:39.923 7443-8642/com.ntt.ecl.webrtc.sample_p2p_videochat I/OMXClient: IOmx service obtained
    2020-04-28 16:10:39.925 7443-7443/com.ntt.ecl.webrtc.sample_p2p_videochat E/e_p2p_videocha: No package ID ff found for ID 0xffffffff.
    2020-04-28 16:10:40.068 7443-8633/com.ntt.ecl.webrtc.sample_p2p_videochat W/OpenSLESPlayer: Bad OpenSL ES playout timing, dT=272 [ms]
    2020-04-28 16:10:40.083 7443-8642/com.ntt.ecl.webrtc.sample_p2p_videochat I/ExtendedACodec: setupVideoEncoder()
    2020-04-28 16:10:40.084 7443-8642/com.ntt.ecl.webrtc.sample_p2p_videochat W/OMXUtils: do not know color format 0x7fa30c04 = 2141391876
    2020-04-28 16:10:40.084 7443-8642/com.ntt.ecl.webrtc.sample_p2p_videochat W/OMXUtils: do not know color format 0x7f000789 = 2130708361
    2020-04-28 16:10:40.107 7443-8642/com.ntt.ecl.webrtc.sample_p2p_videochat I/ACodec: [OMX.qcom.video.encoder.vp8] cannot encode HDR static metadata. Ignoring.
    2020-04-28 16:10:40.107 7443-8642/com.ntt.ecl.webrtc.sample_p2p_videochat I/ACodec: setupVideoEncoder succeeded
    2020-04-28 16:10:40.107 7443-8642/com.ntt.ecl.webrtc.sample_p2p_videochat I/ExtendedACodec: [OMX.qcom.video.encoder.vp8] configure, AMessage : AMessage(what = 'conf', target = 1) = {
    int32_t color-format = 2130708361
    int32_t i-frame-interval = 100
    string mime = "video/x-vnd.on2.vp8"
    int32_t width = 640
    int32_t bitrate-mode = 2
    int32_t bitrate = 300000
    int32_t frame-rate = 60
    int32_t height = 480
    int32_t encoder = 1
    }
    2020-04-28 16:10:40.111 7443-8642/com.ntt.ecl.webrtc.sample_p2p_videochat W/OMXUtils: do not know color format 0x7f000789 = 2130708361
    2020-04-28 16:10:40.122 7443-8642/com.ntt.ecl.webrtc.sample_p2p_videochat W/ExtendedACodec: Failed to get extension for extradata parameter
    2020-04-28 16:10:40.217 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: InitRecording[tid=7678]
    2020-04-28 16:10:40.217 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: ObtainEngineInterface
    2020-04-28 16:10:40.217 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: CreateAudioRecorder
    2020-04-28 16:10:40.217 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat W/libOpenSLES: Conversion from OpenSL ES positional channel mask 0x4 to Android mask 0 loses channels
    2020-04-28 16:10:40.217 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat I/libOpenSLES: Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x10 based on channel count of 1)
    2020-04-28 16:10:40.257 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: StartRecording[tid=7678]
    2020-04-28 16:10:40.257 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: state.count:2 state.index:0
    2020-04-28 16:10:40.325 7443-8642/com.ntt.ecl.webrtc.sample_p2p_videochat D/ACodec: dataspace changed to 0x10c40000 (R:2(Limited), P:3(BT601_6_625), M:3(BT601_6), T:3(SMPTE170M)) (R:2(Limited), S:2(BT601_625), T:3(SMPTE_170M))
    2020-04-28 16:10:40.409 7443-8664/com.ntt.ecl.webrtc.sample_p2p_videochat W/OpenSLESRecorder: Bad OpenSL ES record timing, dT=152 [ms]
    2020-04-28 16:10:40.611 7443-8672/com.ntt.ecl.webrtc.sample_p2p_videochat I/OMXClient: IOmx service obtained
    2020-04-28 16:10:40.658 7443-8671/com.ntt.ecl.webrtc.sample_p2p_videochat D/SurfaceUtils: connecting to surface 0x7c6b710010, reason connectToSurface
    2020-04-28 16:10:40.658 7443-8671/com.ntt.ecl.webrtc.sample_p2p_videochat I/MediaCodec: [OMX.qcom.video.decoder.vp8] setting surface generation to 7621633
    2020-04-28 16:10:40.658 7443-8671/com.ntt.ecl.webrtc.sample_p2p_videochat D/SurfaceUtils: disconnecting from surface 0x7c6b710010, reason connectToSurface(reconnect)
    2020-04-28 16:10:40.658 7443-8671/com.ntt.ecl.webrtc.sample_p2p_videochat D/SurfaceUtils: connecting to surface 0x7c6b710010, reason connectToSurface(reconnect)
    2020-04-28 16:10:40.659 7443-8672/com.ntt.ecl.webrtc.sample_p2p_videochat I/ExtendedACodec: setupVideoDecoder()
    2020-04-28 16:10:40.666 7443-8672/com.ntt.ecl.webrtc.sample_p2p_videochat I/ExtendedACodec: Decoder will be in frame by frame mode
    2020-04-28 16:10:40.702 7443-8672/com.ntt.ecl.webrtc.sample_p2p_videochat D/SurfaceUtils: set up nativeWindow 0x7c6b710010 for 640x480, color 0x7fa30c06, rotation 0, usage 0x20002900
    2020-04-28 16:10:40.713 7443-8672/com.ntt.ecl.webrtc.sample_p2p_videochat W/MapperHal: buffer descriptor with invalid usage bits 0x2000
    2020-04-28 16:10:40.716 7443-8672/com.ntt.ecl.webrtc.sample_p2p_videochat I/chatty: uid=10120(com.ntt.ecl.webrtc.sample_p2p_videochat) identical 2 lines
    2020-04-28 16:10:40.717 7443-8672/com.ntt.ecl.webrtc.sample_p2p_videochat W/MapperHal: buffer descriptor with invalid usage bits 0x2000
    2020-04-28 16:10:40.735 7443-8672/com.ntt.ecl.webrtc.sample_p2p_videochat D/SurfaceUtils: set up nativeWindow 0x7c6b710010 for 640x480, color 0x7fa30c06, rotation 0, usage 0x20002900
    2020-04-28 16:10:40.762 7443-8672/com.ntt.ecl.webrtc.sample_p2p_videochat W/MapperHal: buffer descriptor with invalid usage bits 0x2000
    2020-04-28 16:10:40.766 7443-8672/com.ntt.ecl.webrtc.sample_p2p_videochat W/MapperHal: buffer descriptor with invalid usage bits 0x2000
    2020-04-28 16:10:40.962 7443-8672/com.ntt.ecl.webrtc.sample_p2p_videochat W/MapperHal: buffer descriptor with invalid usage bits 0x2000
    2020-04-28 16:10:40.984 7443-8672/com.ntt.ecl.webrtc.sample_p2p_videochat W/MapperHal: buffer descriptor with invalid usage bits 0x2000
    2020-04-28 16:11:00.921 7443-8614/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=8614]
    2020-04-28 16:11:00.922 7443-8614/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=8614]
    2020-04-28 16:11:00.925 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: StopRecording[tid=7678]
    2020-04-28 16:11:01.203 7443-8671/com.ntt.ecl.webrtc.sample_p2p_videochat D/SurfaceUtils: disconnecting from surface 0x7c6b710010, reason disconnectFromSurface
    2020-04-28 16:11:01.222 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: StopPlayout[tid=7678]
    2020-04-28 16:11:01.223 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/AudioTrack: stop() called with 1019136 frames delivered
    2020-04-28 16:11:01.223 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: DestroyAudioPlayer
    2020-04-28 16:12:09.440 7443-7725/com.ntt.ecl.webrtc.sample_p2p_videochat W/e_p2p_videocha: Something went wrong with handling the ddm chunk.

    ②と③組み合わせ(2回目)

    2020-04-28 16:36:00.133 7159-15324/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=15324]
    2020-04-28 16:36:00.135 7159-15324/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=15324]
    2020-04-28 16:36:00.149 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: StopRecording[tid=7313]
    2020-04-28 16:36:00.255 7159-15348/com.ntt.ecl.webrtc.sample_p2p_videochat E/ACodec: [OMX.qcom.video.encoder.vp8] Now Loaded
    2020-04-28 16:36:00.327 7159-15357/com.ntt.ecl.webrtc.sample_p2p_videochat E/ACodec: [OMX.qcom.video.decoder.vp8] Now Loaded
    2020-04-28 16:36:00.361 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: StopPlayout[tid=7313]
    2020-04-28 16:36:00.361 7159-7313/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: DestroyAudioPlayer

    2020-04-28 16:35:59.264 7443-10805/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=10805]
    2020-04-28 16:35:59.266 7443-10805/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=10805]
    2020-04-28 16:35:59.273 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: StopRecording[tid=7678]
    2020-04-28 16:35:59.509 7443-10844/com.ntt.ecl.webrtc.sample_p2p_videochat D/SurfaceUtils: disconnecting from surface 0x7c6aa50010, reason disconnectFromSurface
    2020-04-28 16:35:59.542 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: StopPlayout[tid=7678]
    2020-04-28 16:35:59.542 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/AudioTrack: stop() called with 41661888 frames delivered
    2020-04-28 16:35:59.542 7443-7678/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: DestroyAudioPlayer
    2020-04-28 16:36:41.343 7443-10701/com.ntt.ecl.webrtc.sample_p2p_videochat W/e_p2p_videocha: Something went wrong with handling the ddm chunk.

    ①と③組み合わせ

    2020-04-28 18:15:41.431 13312-13499/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=13499]
    2020-04-28 18:15:41.434 13312-13499/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=13499]
    2020-04-28 18:15:41.444 13312-13367/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: StopRecording[tid=13367]
    2020-04-28 18:15:41.819 13312-13516/com.ntt.ecl.webrtc.sample_p2p_videochat W/OpenSLESPlayer: Bad OpenSL ES playout timing, dT=256 [ms]
    2020-04-28 18:15:41.922 13312-13540/com.ntt.ecl.webrtc.sample_p2p_videochat D/SurfaceUtils: disconnecting from surface 0x7dec24e010, reason disconnectFromSurface
    2020-04-28 18:15:41.952 13312-13367/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: StopPlayout[tid=13367]
    2020-04-28 18:15:41.952 13312-13367/com.ntt.ecl.webrtc.sample_p2p_videochat D/AudioTrack: stop() called with 30591324 frames delivered
    2020-04-28 18:15:41.953 13312-13367/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: DestroyAudioPlayer

    2020-04-28 18:15:40.969 23579-24075/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Attaching thread to JVM[tid=24075]
    2020-04-28 18:15:40.972 23579-24075/com.ntt.ecl.webrtc.sample_p2p_videochat D/HelpersAndroid: Detaching thread from JVM[tid=24075]
    2020-04-28 18:15:40.981 23579-23634/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESRecorder: StopRecording[tid=23634]
    2020-04-28 18:15:41.179 23579-24085/com.ntt.ecl.webrtc.sample_p2p_videochat W/OpenSLESPlayer: Bad OpenSL ES playout timing, dT=163 [ms]
    2020-04-28 18:15:41.275 23579-24124/com.ntt.ecl.webrtc.sample_p2p_videochat D/SurfaceUtils: disconnecting from surface 0x7c705d1010, reason disconnectFromSurface
    2020-04-28 18:15:41.304 23579-23634/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: StopPlayout[tid=23634]
    2020-04-28 18:15:41.304 23579-23634/com.ntt.ecl.webrtc.sample_p2p_videochat D/AudioTrack: stop() called with 30715776 frames delivered
    2020-04-28 18:15:41.305 23579-23634/com.ntt.ecl.webrtc.sample_p2p_videochat D/OpenSLESPlayer: DestroyAudioPlayer
    2020-04-28 18:16:26.779 23579-23787/com.ntt.ecl.webrtc.sample_p2p_videochat W/e_p2p_videocha: Something went wrong with handling the ddm chunk.
    0
    コメントアクション パーマリンク
  • Avatar
    Daiki Matsui

    Android (p2p-videochat) と Chrome (p2p-media) との間で、1時間以上通話できるか検証しました。
    問題なく通話できており、強制終了やクラッシュの事象は再現しませんでした。

    一方で、Android端末がスリープ状態になるとアプリが強制終了する事象は生じました。
    ですので、hikiwariさんのAndroid端末がスリープ状態になっているかどうかを確認して頂けると、問題が切り分けられると思います。

    スリープ状態を回避するには、例えば FLAG_KEEP_SCREEN_ON を有効にする方法があります。
    https://developer.android.com/training/scheduling/wakelock

    0
    コメントアクション パーマリンク
  • Avatar
    hikiwari

    ご確認していただきありがとうございます。

    ご指摘の部分を追加し再度確認して情報を共有させてください。

    0
    コメントアクション パーマリンク
  • Avatar
    hikiwari

     FLAG_KEEP_SCREEN_ON を踏まえて確認しましたので共有いたします。

    サンプルプロジェクトにFLAG_KEEP_SCREEN_ONを追記し通話状態後、放置

    →1日放置しても通話状態になっていました。

    ※前回確認時のスリープ状態ですが、オン状態でも強制切断されていました。

     

    以上、よろしくお願いいたします。

    0
    コメントアクション パーマリンク
  • Avatar
    Daiki Matsui (編集済み )

    > →1日放置しても通話状態になっていました。

    良かったです。

    > ※前回確認時のスリープ状態ですが、オン状態でも強制切断されていました。'

    こちらでは再現しないので、原因はわからないです。

    0
    コメントアクション パーマリンク
  • Avatar
    hikiwari

    >こちらでは再現しないので、原因はわからないです。

    もう少し端末や条件を色々と試してみます。

     

    また何かありましたらご相談させてください。

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。