I. screen recording
1. GDI capture desktop Images
2. You can use Windows Media Format to record video files and mix audio and video files.
WMF msdn:
Http://msdn.microsoft.com/en-us/library/windows/desktop/dd758048 (V = vs.85). aspx
Ii. Notes
1. Sound mixing
To be continued
2. Read WebRTC, an open-source Google Project. Voice_engine, the core module of this project, was born out of the well-known gips project. Therefore, it does not fully comply with Google C ++ code style. For some of the design methods and coding styles, take the essence of them and get rid of it. The following are some rules that I have not fully followed and intend to use in the future.
A. the callback interface class is named xxxobserver, And the xxxsink name is abolished. Register and use a separate function registerxxxobserver. Abolish the Set Name and no longer pass the callback object during create. This rule is also used when only one observer exists.
B. The interface header file is named voice_manager.h, the instance header file is named voice_manager_impl.h, and voice_manager_ I .h is abolished. The C ++ source code file uses the. CC suffix. The Interface Class Name Is voicemanager. I and C are not added in the front. The implementation class name is voicemanagerimpl.
C. Class data members use the prefix underline format without M.
D. # ifndef # define # The macro definition in endif is named solution_project_head_h _ in upper case.
E. The header file contains the sequence C/C ++ library-> system library-> other library-> Self library.
F. In the constructor, only simple assignment Initialization is required. In the complex constructor, The init function should be written separately. You can call the init function in the constructor.