mirror of
https://github.com/danog/libtgvoip.git
synced 2025-01-22 13:01:21 +01:00
I'm too lazy to come up with a commit message
This commit is contained in:
parent
b22fed62e6
commit
ed276b4ad1
@ -3929,7 +3929,7 @@ void VoIPController::TickJitterBufferAngCongestionControl(){
|
||||
|
||||
#pragma mark - Endpoint
|
||||
|
||||
Endpoint::Endpoint(int64_t id, uint16_t port, IPv4Address& _address, IPv6Address& _v6address, Type type, unsigned char peerTag[16]) : address(_address), v6address(_v6address){
|
||||
Endpoint::Endpoint(int64_t id, uint16_t port, const IPv4Address& _address, const IPv6Address& _v6address, Type type, unsigned char peerTag[16]) : address(_address), v6address(_v6address){
|
||||
this->id=id;
|
||||
this->port=port;
|
||||
this->type=type;
|
||||
|
@ -126,7 +126,7 @@ namespace tgvoip{
|
||||
TCP_RELAY
|
||||
};
|
||||
|
||||
Endpoint(int64_t id, uint16_t port, IPv4Address& address, IPv6Address& v6address, Type type, unsigned char* peerTag);
|
||||
Endpoint(int64_t id, uint16_t port, const IPv4Address& address, const IPv6Address& v6address, Type type, unsigned char* peerTag);
|
||||
Endpoint();
|
||||
~Endpoint();
|
||||
const NetworkAddress& GetAddress() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user