Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building libSourcey with WebRTC (Errors in AddRef and Release) #275

Open
Edgar-Alarcon opened this issue Aug 6, 2019 · 0 comments

Comments

@Edgar-Alarcon
Copy link

Hi,

I am trying to compile libSourcey with the WebRtc binaries on Visual Studio (Windows) .

After generating the project correctly on Cmake choosing WITH_WEBRTC and setting the correct includes, I try to compile the solution but these errors were found :

'RefCountReleaseStatus': is not a member of 'rtc'
'Release': unknown override specifier

These are the conflictive lines

Peer.h

    virtual void AddRef() const override { return; }
    virtual rtc::RefCountReleaseStatus Release() const override { return rtc::RefCountReleaseStatus::kDroppedLastRef; }

audiopacketmodule.cpp

rtc::scoped_refptr<AudioPacketModule> AudioPacketModule::Create()
{
    rtc::scoped_refptr<AudioPacketModule> capture_module(
        new rtc::RefCountedObject<AudioPacketModule>());
    if (!capture_module->Initialize()) {
        return nullptr;
    }
    return capture_module;
}

I guess that is an issue related with libSourcey and WebRTC versions, but I don't know how to solve it.

Any one could help me ?

@Edgar-Alarcon Edgar-Alarcon changed the title Error compiling libSourcey with WebRTC (Errors in AddRef and Release) Error building libSourcey with WebRTC (Errors in AddRef and Release) Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant