Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

fix decode HEVC format description #200

Open
wants to merge 2 commits into
base: 108-sdk
Choose a base branch
from

Conversation

juicechu
Copy link

If I change the script from rtc_use_h265=false to rtc_use_h265=true, I found the H265 decode is broken. I get the error message is "Missing video format. Frame with sps/pps required. ". So that is caused by the decoding the HEVC format not correctly.

@jianjunz
Copy link
Collaborator

Thanks for reporting this issue. If video format is not available at receiver side, it sends a key frame request to the sender. Did you observe this error even a key frame is received?

@panjekm
Copy link

panjekm commented Jun 21, 2024

I just had the same issue and found the same solution, I did the change in sdk/objc/components/video_codec/RTCVideoDecoderH265.mm to actually call the description function of H265, this made the video stream work. Would be great if this fix could be merged.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants