mirror of
https://github.com/UltraCoderRU/libwebrtc.git
synced 2026-01-28 11:15:13 +00:00
27 lines
598 B
C++
27 lines
598 B
C++
//
|
|
// Created by ax on 25/09/16.
|
|
//
|
|
|
|
#ifndef LIBWEBRTC_SETLOCALSESSIONDESCRIPTIONOBSERVER_H
|
|
#define LIBWEBRTC_SETLOCALSESSIONDESCRIPTIONOBSERVER_H
|
|
|
|
|
|
#include <webrtc/api/jsep.h>
|
|
|
|
class SetLocalSessionDescriptionObserver:
|
|
public webrtc::SetSessionDescriptionObserver {
|
|
public:
|
|
SetLocalSessionDescriptionObserver(webrtc::SessionDescriptionInterface* desc);
|
|
|
|
void OnSuccess();
|
|
void OnFailure(const std::string& error);
|
|
|
|
private:
|
|
webrtc::SessionDescriptionInterface* _desc;
|
|
|
|
protected:
|
|
~SetLocalSessionDescriptionObserver() {}
|
|
};
|
|
|
|
|
|
#endif //LIBWEBRTC_SETLOCALSESSIONDESCRIPTIONOBSERVER_H
|