metaRTC Visual Studio Compilation Guide

overview

The metaRTC windows version provides qt and vs2019 compilation support. The vs2019 compilation project supports metaRTC6.0 version, and there are video tutorials for qt compilation at station B.

metaRTC5 Windows version compilation tutorial_哔哩哔哩_bilibili metartc5 compilation tutorial, the windows version only supports msvc, the third-party library included in the download is compiled for msvc2019, other versions need to be compiled by yourself. https://github.com/metartc/metaRTC/releases/tag/v5.0-b5 download file metartc5_b5.win.7z, third-party library source code metartc5.thirdparty.src.7z, video playback volume 549, barrage volume 0 , Number of Likes 1, Number of Coins 0, Number of Favorites 5, Number of Reposts 0, video author Xinghai 010, author profile, related videos: audio and video WebRTC development: principle and implementation of one-to-one audio and video calls, WebRTC mediasoup SFU, Building a live server on a Windows computer - very simple, WebRTC many-to-many - SFU solution overview, audio and video entry series (image, audio, subtitle, video packaging format, FFmpeg, ffplay source code analysis, decoding, encoding, transcoding, streaming media protocol, server deployment), Windows XP is not dead! ! ! , Streaming media server Build RTMP-RTSP-WebRTC streaming media server, WebRTC Live, one-click to open Windows 11 "God Mode (God Mode)" to unlock more setting functions, no longer worry about system settings, quickly realize advanced function settings, Unity WebRTC - by SRS https://www.bilibili.com/video/BV1De4y1b7Nc

download source code

https://github.com/metartc/metaRTC https://github.com/metartc/metaRTC metaRTC: metaRTC is a pure C version of webrtc, which can communicate with Google webrtc class library and supports Webrtc/SRT/RTMP https://gitee .com/metartc/metaRTC

Directory Structure

 vs2019 compilation settings

Preprocessor settings

  • __STDC_FORMAT_MACROS
  • HAVE_STRUCT_TIMESPEC
  • WIN32_LEAN_AND_MEAN
  • _AMD64_

 inlucde path setting

  • ..\..\include
  • ..\..\thirdparty\include\win\include
  • ..\..\thirdparty\include
  • ..\..\thirdparty\user_include
  • ..\..\thirdparty\user_include\gmssl

linker settings

metaApp.lib;metartc6.lib;metartccore6.lib;yuv.lib;openh264.lib;speexdsp.lib;opus.lib;
usrsctp.lib;yangwincodec6.lib;srtp2.lib;d3d11.lib;d3d9.lib;dxva2.lib;pthreadVC2.lib;
avrt.lib;ksuser.lib;winmm.lib;Strmiids.lib;libcrypto.lib;libssl.lib;Crypt32.lib;
ws2_32.lib;avutil.lib;avcodec.lib;

Guess you like

Origin blog.csdn.net/m0_56595685/article/details/127526288