[feat] support getting codec name

This commit is contained in:
dijunkun
2024-09-23 14:14:45 +08:00
parent 5eb455b6c8
commit c7b934026b
11 changed files with 38 additions and 0 deletions

View File

@@ -39,6 +39,8 @@ class OpenH264Encoder : public VideoEncoder {
int ForceIdr();
std::string GetEncoderName() { return "OpenH264"; }
private:
int InitEncoderParams(int width, int height);
int ResetEncodeResolution(unsigned int width, unsigned int height);