Changed the message stream from being a payloadType to SSRC

This commit is contained in:
Staz M
2020-09-23 12:32:55 -04:00
parent 5a797e1170
commit 549e194bb3
5 changed files with 33 additions and 20 deletions

View File

@ -162,7 +162,7 @@ private:
std::unordered_map<string, std::weak_ptr<Track>> mTracks; // by mid
std::shared_mutex mDataChannelsMutex, mTracksMutex;
std::unordered_map<unsigned int, string> mMidFromPayloadType; // cache
std::unordered_map<unsigned int, string> mMidFromSssrc; // cache
std::atomic<State> mState;
std::atomic<GatheringState> mGatheringState;