Skip to content

LibSourcey does not support modern version of WebRTC, because cricket::VideoCapturer was removed from WebRTC #284

Open
@kapulkin

Description

@kapulkin

Building libSourcey with last version of WebRTC on 23.04.2020 leads to errors. Some errors could be simply fixed:

#include "rtc_base/criticalsection.h" -> #include "rtc_base/critical_section.h"
#include "rtc_base/scoped_ref_ptr.h" -> #include "base/memory/scoped_refptr.h"

But there is more complex:
src/webrtc/.../videopacketsource.h relies on cricket::VideoCapturer, which was deprecated and lately removed from WebRTC (see WebRTC developers discussion there: https://bugs.chromium.org/p/webrtc/issues/detail?id=6353)

The videopacketsource.h file references on file, with was removed:
#include "media/base/videocapturer.h"
and class definition inside extend from removed class:
class VideoPacketSource : public cricket::VideoCapturer

Please, rewrite the code with new video classes according to the samples mentioned in the discussion above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions