Эх сурвалжийг харах

v0.1.1-2:20240921编码加速版本

chengkaiqiang 1 сар өмнө
parent
commit
7bfb1f38eb

+ 5 - 1
ZJ_PRO/webrtcinterop/api.cpp

@@ -20,6 +20,9 @@
 
  
 
+#include "sri_build_encoder_factory.h"
+
+
  
 
 #ifdef WEBRTC_LINUX
@@ -123,7 +126,8 @@ std::unique_ptr<webrtc::VideoEncoderFactory> CreateEncoderFactory(bool bNullCode
 		}
 		else {
 			*/
-		factory=webrtc::CreateBuiltinVideoEncoderFactory(); 
+		// factory=webrtc::CreateBuiltinVideoEncoderFactory(); 
+		factory=webrtc::CreateExternalVideoEncoderFactory(); 
  
 		//}
 		return factory;