16ea02075f
- RtpSender
- RtpReceiver
- RtpTransceiver
- RtpParameters
- VideoFrameBuilder
- Interior mutability on c++ side
- Cleanup bindings ( Use #pragma once instead of include guards )
- webrtc-sys/src/* headers are now used in only one place
- Avoid confusion between generated headers and our headers
- AdaptedVideoTrackSource
- Cleanup the workaround with unsupported Vec<Shared<T>>
- Put everything inside one file
32 lines
469 B
C++
32 lines
469 B
C++
//
|
|
// Created by Théo Monnom on 01/09/2022.
|
|
//
|
|
|
|
#pragma once
|
|
|
|
#include <memory>
|
|
|
|
#include "api/candidate.h"
|
|
|
|
namespace livekit {
|
|
class Candidate;
|
|
}
|
|
#include "webrtc-sys/src/candidate.rs.h"
|
|
|
|
// cricket::Candidate
|
|
namespace livekit {
|
|
|
|
class Candidate {
|
|
public:
|
|
explicit Candidate(const cricket::Candidate& candidate);
|
|
|
|
private:
|
|
cricket::Candidate candidate_;
|
|
};
|
|
|
|
static std::shared_ptr<Candidate> _shared_candidate() {
|
|
return nullptr;
|
|
}
|
|
|
|
} // namespace livekit
|