Skip to content

Add H.265 video codec support to WebRTC iOS SDK #183

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

Open
wants to merge 2 commits into
base: m137_release
Choose a base branch
from

Conversation

CaptainTeemo
Copy link

  • Introduced RTCVideoEncoderFactoryH265 and RTCVideoEncoderH265 classes for H.265 encoding.
  • Implemented methods to support H.265 codec, including codec creation and encoding.
  • Added functionality to convert between CMSampleBuffer and Annex B format for H.265.
  • Enhanced nalu_rewriter to handle H.265 specific NALU parsing and conversion.
  • Updated existing files to integrate H.265 support, ensuring compatibility with the WebRTC framework.
  • Added necessary logging for debugging and tracking encoding processes.

- Introduced RTCVideoEncoderFactoryH265 and RTCVideoEncoderH265 classes for H.265 encoding.
- Implemented methods to support H.265 codec, including codec creation and encoding.
- Added functionality to convert between CMSampleBuffer and Annex B format for H.265.
- Enhanced nalu_rewriter to handle H.265 specific NALU parsing and conversion.
- Updated existing files to integrate H.265 support, ensuring compatibility with the WebRTC framework.
- Added necessary logging for debugging and tracking encoding processes.
@CaptainTeemo CaptainTeemo changed the title Add H.265 video encoding support to WebRTC iOS SDK Add H.265 video codec support to WebRTC iOS SDK Jul 24, 2025
@davidliu
Copy link
Contributor

Hey @CaptainTeemo, can you mention where your code is from? Is it just the iOS changes for HEVC from https://github.com/open-webrtc-toolkit/owt-deps-webrtc?

@CaptainTeemo
Copy link
Author

Hi @davidliu

Thanks for the question! The code changes are written by me with assistance from AI tools. I didn't copy from the repository you linked - I developed these iOS HEVC changes independently, though I did use AI to help with implementation details and best practices.

If you'd like me to clarify any specific parts of the implementation or have concerns about particular sections, I'm happy to discuss further.

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

Successfully merging this pull request may close these issues.

3 participants