mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-20 07:12:21 +08:00
新增支持enhanced-rtmp h265 推流 (#2694)
This commit is contained in:
@@ -191,6 +191,13 @@ void RtmpPlayer::send_connect() {
|
||||
obj.set("audioCodecs", (double) (0x0400));
|
||||
//只支持H264
|
||||
obj.set("videoCodecs", (double) (0x0080));
|
||||
|
||||
AMFValue fourCcList(AMF_STRICT_ARRAY);
|
||||
fourCcList.add("av01");
|
||||
fourCcList.add("vp09");
|
||||
fourCcList.add("hvc1");
|
||||
obj.set("fourCcList", fourCcList);
|
||||
|
||||
sendInvoke("connect", obj);
|
||||
addOnResultCB([this](AMFDecoder &dec) {
|
||||
//TraceL << "connect result";
|
||||
|
||||
Reference in New Issue
Block a user