mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 19:25:12 +00:00
28 lines
651 B
C++
28 lines
651 B
C++
//
|
|
// Created by ax on 25/09/16.
|
|
//
|
|
|
|
#ifndef LIBWEBRTC_SETREMOTESESSIONDESCRIPTIONOBSERVER_H
|
|
#define LIBWEBRTC_SETREMOTESESSIONDESCRIPTIONOBSERVER_H
|
|
|
|
#include <webrtc/api/jsep.h>
|
|
#include "IPeer.h"
|
|
|
|
class SetRemoteSessionDescriptionObserver:
|
|
public webrtc::SetSessionDescriptionObserver {
|
|
public:
|
|
SetRemoteSessionDescriptionObserver(IPeer *peer, webrtc::SessionDescriptionInterface* desc);
|
|
|
|
void OnSuccess();
|
|
void OnFailure(const std::string& error);
|
|
|
|
private:
|
|
IPeer *_peer;
|
|
webrtc::SessionDescriptionInterface* _desc;
|
|
|
|
protected:
|
|
~SetRemoteSessionDescriptionObserver() {}
|
|
};
|
|
|
|
|
|
#endif //LIBWEBRTC_SETREMOTESESSIONDESCRIPTIONOBSERVER_H
|