| Index: webrtc/api/peerconnectioninterface.h
|
| diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h
|
| index 078db8a2ba045e22529bc350862094cd53386eb2..0c30fc5808716407b6bd091770ab120b4ba5b615 100644
|
| --- a/webrtc/api/peerconnectioninterface.h
|
| +++ b/webrtc/api/peerconnectioninterface.h
|
| @@ -499,6 +499,25 @@ class PeerConnectionInterface : public rtc::RefCountInterface {
|
|
|
| virtual const SessionDescriptionInterface* local_description() const = 0;
|
| virtual const SessionDescriptionInterface* remote_description() const = 0;
|
| + // A "current" description the one currently negotiated from a complete
|
| + // offer/answer exchange.
|
| + virtual const SessionDescriptionInterface* current_local_description() const {
|
| + return nullptr;
|
| + }
|
| + virtual const SessionDescriptionInterface* current_remote_description()
|
| + const {
|
| + return nullptr;
|
| + }
|
| + // A "pending" description is one that's part of an incomplete offer/answer
|
| + // exchange (thus, either an offer or a pranswer). Once the offer/answer
|
| + // exchange is finished, the "pending" description will become "current".
|
| + virtual const SessionDescriptionInterface* pending_local_description() const {
|
| + return nullptr;
|
| + }
|
| + virtual const SessionDescriptionInterface* pending_remote_description()
|
| + const {
|
| + return nullptr;
|
| + }
|
|
|
| // Create a new offer.
|
| // The CreateSessionDescriptionObserver callback will be called when done.
|
|
|