webrtc-rs / webrtc

A pure Rust implementation of WebRTC
https://webrtc.rs
Apache License 2.0
4.14k stars 368 forks source link

H265 Support #141

Open rainliu opened 2 years ago

rainliu commented 2 years ago

Discussed in https://github.com/webrtc-rs/webrtc/discussions/140

Originally posted by **yusufziyacs** December 11, 2021 Hello there. I've just started using webrtc-rs in order to convert RTSP streams into webrtc. I can easily create connections for H264 mime type. But I need also H265 tacks to be able to add. I see a codec for H265 but as far as I can see there isn't any Payloader implementation for it and when I add tracks with mime type "video/H265" i receive an error "ErrNoPayloaderForCodec". So how can I use this H265 codec or is there any other way to achieve to serve H265?
shiqifeng2000 commented 2 years ago

hi Rainliu

Since Pion don't provide Capturing(Encoding) or Playing(Decoding) scenario and we just mimic the Golang-Pion repo, thus H265-Support just means more SDP mime types and RTP packaging, maybe.

But, a reminder, most browsers or any other terminals do not support h265 as a candidate for its webrtc video codec.

stephenbaldwin commented 1 year ago

👍