Git Product home page Git Product logo

trtc_windows's Introduction

TRTC SDK

简体中文 | English

Overview

Leveraging Tencent's many years of experience in network and audio/video technologies, Tencent Real-Time Communication (TRTC) offers solutions for group audio/video calls and low-latency interactive live streaming. With TRTC, you can quickly develop cost-effective, low-latency, and high-quality interactive audio/video services. Learn more...

We offer SDKs for web, Android, iOS, Windows, Flutter, WeChat Mini Program, and other mainstream platforms.

Contents

├─ TRTC-API-Example-C++             // Demo for C++
│  ├─TRTC-API-Example-Qt            // Demo for Qt
│  ├─SDK                            // C++ SDK directory
│  │  ├─CPlusPlus
│  │  ├─README.md
├─ TRTC-API-Example-CSharp          // Demo for C#
│  ├─TRTC-Example-CSharp.sln        // Project solution
│  ├─TRTC-API-Example-CSharp        // Demo for C#
│  ├─ManageLiteAV                   // C# SDK's adapter project
│  │  ├─thirdparty                  // Third-party library directory
│  │  │  ├─liteav              
│  │  │  │  ├─CPlusPlus             // C++ SDK is accessed as a third-party library   
│  ├─SDK                            // C# SDK directory
│  │  ├─CSharp              
│  │  ├─README.md
├─ TRTC-API-Example-ActiveX          // Demo for ActiveX SDK 
│  ├─TRTC-API-Example-ActiveX        // Demo for ActiveX
│  ├─SDK                             // ActiveX SDK directory
│  │  ├─ActiveX              
│  │  ├─README.md

Note

  • Currently, only the TRTC-API-Example-Qt、TRTC-API-Example-CSharp and TRTC-API-Example-ActiveX projects are provided. If you want to use the demo of other Windows platforms, see [TRTC SDK](https://github.com/tencentyun /TRTCSDK);

Contact Us

  • If you have questions, see FAQs.

  • To learn about how the TRTC SDK can be used in different scenarios, see Sample Code.

  • For the complete API documentation, see SDK API Documentation.

  • For aftersales technical support, please contact us.

  • To report bugs in our sample code, please create an issue.

trtc_windows's People

Contributors

hanpto avatar iriczhang avatar paopaosecret avatar tao-pu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

trtc_windows's Issues

ManageLiteAV中有很多单例类的 获取实例和销毁实例的方法都是internal修饰的 外部无法调用啊

eg1:
ManageLiteAV.ITXLiteAVLocalRecord 类
internal static ITXLiteAVLocalRecord GetLiteAVLocalRecordInstance()
internal static void destroyLiteAVLocalRecordInstance()

DEMO中调用
TRTCCSharpDemo.DataManager 类
line 70
txLiteAVLocalRecord = ITXLiteAVLocalRecord.GetLiteAVLocalRecordInstance();
Line97
ITXLiteAVLocalRecord.destroyLiteAVLocalRecordInstance()

eg2:
TRTCCSharpDemo.TXVodPlayerForm类
Line231
mVodPlayerController = ITXVodPlayer.createTXVodPlayer(mFileName, false);

liteav FreeLibrary异常

我的环境是 Visual Studio 2022, 工具集是Visual Studio 2017 - Windows XP (v141_xp)

liteav 11.1.0.4523 ::FreeLibrary(m_hModule); 报异常,如图

`
typedef ITRTCCloud* (__cdecl* GetTRTCShareInstance)();
typedef void(__cdecl* DestroyTRTCShareInstance)();

HMODULE m_hModule(nullptr);
GetTRTCShareInstance getTRTCShareInstance(nullptr);
DestroyTRTCShareInstance destroyTRTCShareInstance(nullptr);
ITRTCCloud* m_pCloud(nullptr);
std::wstring wstrDLLPath = _T("liteav.dll");
m_hModule = ::LoadLibraryEx(wstrDLLPath.c_str(), NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
if (m_hModule)
{
    getTRTCShareInstance = (GetTRTCShareInstance)::GetProcAddress(m_hModule, "getTRTCShareInstance");
    destroyTRTCShareInstance = (DestroyTRTCShareInstance)::GetProcAddress(m_hModule, "destroyTRTCShareInstance");
    m_pCloud = getTRTCShareInstance();
    if (m_pCloud)
    {
        std::string strVersion = m_pCloud->getSDKVersion();
    }
}
if (getTRTCShareInstance || m_pCloud)
{
    destroyTRTCShareInstance();
    m_pCloud = nullptr;
    getTRTCShareInstance = nullptr;
    destroyTRTCShareInstance = nullptr;
}
if (m_hModule)
{
    ::FreeLibrary(m_hModule);
}

`

image

日志文件
LiteAV_C_20231023-24100.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.