open-webrtc-toolkit / owt-client-android

Open WebRTC Toolkit client SDK for Android applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
195 stars 96 forks source link

When the P2P project is encoded with h265, the video streams of both Android phones are black #183

Closed curry-wei closed 4 years ago

curry-wei commented 4 years ago
    VideoEncodingParameters h265 = new VideoEncodingParameters(H265);
    P2PClientConfiguration configuration = P2PClientConfiguration.builder()
            .addVideoParameters(h265)
            .setRTCConfiguration(rtcConfiguration)
            .build();

Test cell phones Samsung S10 and Xiaomi 9, both of which support hevc hard decoding. But they can't show each other's video and can hear sound. The video between my S10 and Apple phone is normal. Why is the black screen between Android?

zhangyihui1 commented 4 years ago

android side encode can not support h265 ,only decoded can support h265

curry-wei commented 4 years ago

Android端编码不支持h265,只有解码可以支持h265

thanks