Skip to content

Commit

Permalink
remove unneded SentConsent struct in IceServer
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Feb 20, 2024
1 parent add4500 commit d4c23af
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions worker/include/RTC/IceServer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,6 @@ namespace RTC
DISCONNECTED,
};

public:
struct SentConsent
{
uint8_t transactionId[12];
uint64_t sentAtMs;

SentConsent(uint64_t transactionId, uint64_t sentAtMs) : sentAtMs(sentAtMs)
{
Utils::Byte::Set4Bytes(this->transactionId, 0, transactionId);
Utils::Byte::Set8Bytes(this->transactionId, 4, 0);
}
};

public:
static IceState RoleFromFbs(FBS::WebRtcTransport::IceState state);
static FBS::WebRtcTransport::IceState IceStateToFbs(IceState state);
Expand Down

0 comments on commit d4c23af

Please sign in to comment.