1. video_encoder.h/cc 코드 정리

    1. video_encoder.h
      • namespace platform_lib { class ScreenData; } 삭제
      • encodeVideo의 ScreenData 전달인자 제거
    2. video_encoder.cc
      • "#include "components/video/platform_lib/screen_data.h" 삭제
      • screendata 관련 구문 정리 --------- 삭제하기 ---------
      • 70: if(!screen_recoder->createScreenBuffer(output_id)) {}, 77
  2. video_encoder_gst.h/cc 코드 정리 (안 쓰는 변수, 주석 제거)

    1. video_encoder_gst.h
      • GstElement* appsrc_ 변수 삭제
      • void onEncodeVideo(std::shared_ptr<platform_lib::ScreenData> screen_data) override; 인자 삭제
      • namespace platform_lib { class ScreenData; } 삭제 ---------- 삭제하기 ----------
      • platform_lib에서 캡쳐 후 가져오는 width, height 변수 정리
    2. video_encoder_gst.cc
      • #include "gst/app/gstappsrc.h" 삭제
      • #include "components/video/platform_lib/screen_data.h" 삭제
      • appsrc_ 초기화 리스트에서 삭제
      • gst_object_unref(appsrc_); 구문 삭제
      • // get appsrc, appsink, encoder frome pipeline 주석부분 appsrc -> videosrc
      • videosrc 설정 부분 추가 (video/x-raw, framerate=30/1)
      • set appsrc options 부분 삭제
      • set videosrc options 부분 추가
      • gst_caps_unref(src_caps) 삭제
      • gst_caps_unref(videosrc) 추가
      • gst_app_src_push_buffer(GST_APP_SRC(appsrc_), input_buffer); 삭제
      • VideoEncoderGst::onEncodeVideo 함수 내부 g_object_set(appsrc_, "caps", new_caps, nullptr); 삭제
  3. component_manager.cc 에서 video_component 함수들 주석 해둔 것 제거

    auto video_component = static_cast<VideoComponent*>(getComponent(kVideoComponentName)); if (video_component && video_component->is_enabled()) { video_component->updateAllScreens(); }

  4. (Windows) secure desktop switching 로직 추가

  5. platform_lib 폴더 정리

    1. platform_lib 삭제
  6. video 폴더 CMakeLists.txt 정리

    1. add_subdirectory(platform_lib) 삭제
    2. target_link_libraries 목록 중 "vds_tx_components_video_platform_lib" 삭제
  7. video_component.cc 정리

  8. video_component.h 정리