MediaConnection: Introduce Endpoint() method.

* Used to get the other side of a connection when
available.
This commit is contained in:
Barrett17 2018-02-24 15:24:23 +01:00
parent be5456794b
commit dc4c49c305

View File

@ -39,6 +39,10 @@ public:
bool IsConnected() const;
// If the connection is connected get the other endpoint,
// return media_connection::null otherwise.
media_connection Endpoint();
// This allow to specify a format that will be used while
// connecting to another node.
void SetAcceptedFormat(