MediaConnection: Introduce Endpoint() method.
* Used to get the other side of a connection when available.
This commit is contained in:
@@ -39,6 +39,10 @@ public:
|
|||||||
|
|
||||||
bool IsConnected() const;
|
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
|
// This allow to specify a format that will be used while
|
||||||
// connecting to another node.
|
// connecting to another node.
|
||||||
void SetAcceptedFormat(
|
void SetAcceptedFormat(
|
||||||
|
|||||||
Reference in New Issue
Block a user