MediaConnection: Introduce Endpoint() method.
* Used to get the other side of a connection when available.
This commit is contained in:
parent
be5456794b
commit
dc4c49c305
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user