-
Notifications
You must be signed in to change notification settings - Fork 265
metaRTC H265 HEVC Programming Guide
yangrtc edited this page Jan 5, 2026
·
1 revision
typedef enum YangVideoCodec{
Yang_VED_H264,
Yang_VED_H265,
Yang_VED_AV1,
Yang_VED_VP8,
Yang_VED_VP9,
Yang_VED_MJPEG
}YangVideoCodec;
YangAVInfo avinfo;
avinfo.video.videoEncoderType=Yang_VED_H265;
Or the configuration file yang_config.ini
[video]
videoEncoderType=1
m=video 9 UDP/TLS/RTP/SAVPF 49
c=IN IP4 0.0.0.0
a=ice-ufrag:192252g
a=ice-pwd:8q31k7bexd60295om1120s83976lniiv
a=ice-options:trickle
a=fingerprint:sha-256 C5:7B:2C:5F:91:AF:4A:5D:A4:84:AB:36:37:4F:7C:9A:12:80:BE:73:05:3E:B8:76:4D:A1:5A:41:6C:40:7D:11
a=setup:passive
a=mid:1
a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
a=sendonly
a=rtcp-mux
a=rtcp-rsize
a=rtpmap:49 H265/90000
a=rtcp-fb:49 transport-cc
a=rtcp-fb:49 nack
a=rtcp-fb:49 nack pli
a=fmtp:49 level-id=93;profile-id=1;tier-flag=0;tx-mode=SRST
H265 Parameter:a=fmtp:49 level-id=93;profile-id=1;tier-flag=0;tx-mode=SRST
| 1 | Main Profile(MP) | Mainstream application | universal video |
|---|---|---|---|
| 2 | Main 10 Profile | 10-bit 4:2:0,supports HDR | 4K/HDR content |
| 3 | Main Still Picture | Still images | photos |
| 4 | Range Extensions | Extended range supports 4:2:2 and 4:4:4 | professional production |
0:Main Tier
1:High Tier
Level 4.1:
- Main Tier: Maximum bitrate 20 Mbps
- High Tier: Maximum bitrate 50 Mbps
Level 5.1:
- Main Tier: Maximum bitrate 100 Mbps
- High Tier: Maximum bitrate 250 Mbps
| Level 1 | 30 |
|---|---|
| Level 2 | 60 |
| Level 2.1 | 63 |
| Level 3 | 90 |
| Level 3.1 | 93 |
| Level 4 | 120 |
| Level 4.1 | 123 |
| Level 5 | 150 |
| Level 5.1 | 153 |
| Level 5.2 | 156 |
| Level 6 | 180 |
| Level 6.1 | 183 |
| Level 6.2 | 186 |