mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 15:15:28 +00:00
Retabbing and reformatting
This commit is contained in:
@ -139,8 +139,8 @@ private:
|
||||
void forwardMessage(message_ptr message);
|
||||
void forwardMedia(message_ptr message);
|
||||
void forwardBufferedAmount(uint16_t stream, size_t amount);
|
||||
std::optional<std::string> getMidFromSSRC(SSRC ssrc);
|
||||
std::optional<uint32_t> getMLineFromSSRC(SSRC ssrc);
|
||||
std::optional<std::string> getMidFromSSRC(SSRC ssrc);
|
||||
std::optional<uint32_t> getMLineFromSSRC(SSRC ssrc);
|
||||
|
||||
std::shared_ptr<DataChannel> emplaceDataChannel(Description::Role role, string label,
|
||||
DataChannelInit init);
|
||||
@ -153,7 +153,6 @@ private:
|
||||
void incomingTrack(Description::Media description);
|
||||
void openTracks();
|
||||
|
||||
|
||||
void validateRemoteDescription(const Description &description);
|
||||
void processLocalDescription(Description description);
|
||||
void processLocalCandidate(Candidate candidate);
|
||||
@ -182,13 +181,13 @@ private:
|
||||
std::shared_ptr<DtlsTransport> mDtlsTransport;
|
||||
std::shared_ptr<SctpTransport> mSctpTransport;
|
||||
|
||||
std::unordered_map<uint16_t, std::weak_ptr<DataChannel>> mDataChannels; // by stream ID
|
||||
std::unordered_map<string, std::weak_ptr<Track>> mTracks; // by mid
|
||||
std::vector<std::weak_ptr<Track>> mTrackLines; // by SDP order
|
||||
std::unordered_map<uint16_t, std::weak_ptr<DataChannel>> mDataChannels; // by stream ID
|
||||
std::unordered_map<string, std::weak_ptr<Track>> mTracks; // by mid
|
||||
std::vector<std::weak_ptr<Track>> mTrackLines; // by SDP order
|
||||
std::shared_mutex mDataChannelsMutex, mTracksMutex;
|
||||
|
||||
std::unordered_map<uint32_t, string> mMidFromSssrc; // cache
|
||||
std::unordered_map<uint32_t , unsigned int> mMLineFromSssrc; // cache
|
||||
std::unordered_map<uint32_t, string> mMidFromSssrc; // cache
|
||||
std::unordered_map<uint32_t, unsigned int> mMLineFromSssrc; // cache
|
||||
|
||||
std::atomic<State> mState;
|
||||
std::atomic<GatheringState> mGatheringState;
|
||||
|
Reference in New Issue
Block a user