We have to keep these 2 lines (with renaming to proper names), since stream ids may be the same when you send/receive streams bi-directionally.