Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

H.265 Video Codec Issue - Intermittent Black Screen in WebRTC #28

Open
QuocBuu opened this issue Oct 6, 2024 · 0 comments
Open

H.265 Video Codec Issue - Intermittent Black Screen in WebRTC #28

QuocBuu opened this issue Oct 6, 2024 · 0 comments

Comments

@QuocBuu
Copy link

QuocBuu commented Oct 6, 2024

Description:

  • I have enabled the rtc_use_h265 key in my WebRTC configuration. After enabling this, my Android application starts displaying H.265 video. However, the video only shows the image every 6 seconds, with the rest of the time displaying a black screen.

Note: webrtc-build/build/run.py

COMMON_GN_ARGS = [
    "rtc_use_h265=true",
    "rtc_use_h264=true",
    "is_component_build=false",
    'rtc_build_examples=false',
    "use_rtti=true",
    'rtc_build_tools=false',
    "rtc_enable_protobuf=false",
]

Expected behavior: The video feed should continuously display H.265 video without interruptions.
Actual behavior: The video feed intermittently shows images every 6 seconds, with the rest being black.

Note: I tested streaming H.265 video on WebRTC with Chrome using the command: "chrome.exe --enable-features=WebRtcAllowH265Receive --force-fieldtrials=WebRTC-Video-H26xPacketBuffer/Enabled", and it worked very well without any errors.

Questions:

  • Is there a known solution to address the intermittent black screen issue when using H.265?
  • Are there any specific configurations or settings recommended for optimal H.265 performance in WebRTC?
  • Besides Chrome, can apps on iOS and Android use libwebrtc with H.265?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant