Commit 68a9632e authored by Committed by Olivier Crête
agent: Integrate TcpUserData into Component
It was allocated separately and always set, which is a wasted allocation. Instead, pull the NiceAgent and Stream pointers into the Component directly, and eliminate the redundant allocation. This also means the NiceAgent and Stream are available for use elsewhere in the Component code (not just with TCP stuff).
Showing with 37 additions and 57 deletions