namespace webrtc { class RtpSenderInternal; class RtpReceiverInternal;
// Audio/video tracks and sender/receiver statistical information are associated // with each other based on attachments to RTP senders/receivers. This class // maps that relationship so that "infos" can be obtained from SSRCs and tracks // can be obtained from "infos". class TrackMediaInfoMap { public: struct RtpSenderSignalInfo {
uint32_t ssrc = 0;
int attachment_id = 0;
MediaType media_type = MediaType::AUDIO;
};
// Maps SSRC to Attachment ID/Track ID, split by media type to handle SSRC // reuse (e.g. same SSRC for Audio and Video on different processing chains) // and by direction to handle loopback (same SSRC for Sender and Receiver). const flat_map<uint32_t, int> audio_sender_attachment_id_by_ssrc_; const flat_map<uint32_t, int> video_sender_attachment_id_by_ssrc_; const flat_map<uint32_t, int> audio_receiver_attachment_id_by_ssrc_; const flat_map<uint32_t, int> video_receiver_attachment_id_by_ssrc_; const flat_map<uint32_t, std::string> audio_receiver_track_id_by_ssrc_; const flat_map<uint32_t, std::string> video_receiver_track_id_by_ssrc_; // These maps map SSRCs to the corresponding voice or video info objects. const flat_map<uint32_t, const VoiceSenderInfo*> voice_info_by_sender_ssrc_; const flat_map<uint32_t, const VideoSenderInfo*> video_info_by_sender_ssrc_;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.