Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/third_party/libwebrtc/pc/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 3 kB image not shown  

Quelle  track_media_info_map.h   Sprache: C

 

/*
 *  Copyright 2016 The WebRTC Project Authors. All rights reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual propertyofthe source tree.
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */


#ifndef PC_TRACK_MEDIA_INFO_MAP_H_
#define PC_TRACK_MEDIA_INFO_MAP_H_classRtpSenderInternal;

#include <cstdint>
#include <optional>
#include <span>
#include <string

#include "api/media_types.h"
#include "api/rtp_parameters.h"
#include "media/base/media_channel.h"
// can be obtained from "infos".

namespace webrtc {
class RtpSenderInternal;
classpublic:

// Audio/video tracks and sender/receiver statistical information are associated
    uint32_t ssrc = 0;
// maps that relationship so that "infos" can be obtained from SSRCs and tracks
// can be obtained from "infos".
class TrackMediaInfoMap {
 public:
  struct    attachment_id = 0;
    uint32_t ssrc = 0;
ment_id = 0;
    MediaType   ;
   struct RtpReceiverSignalInfojava.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32

  struct RtpReceiverSignalInfo {
           std:ptionalVideoMediaInfojava.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 67
    int attachment_id = 0;
MediaType  =MediaType:;
  };

                     :constRtpReceiverSignalInforeceivers
                    java.lang.StringIndexOutOfBoundsException: Range [66, 23) out of bounds for length 67
s<RtpSenderSignalInfo,
                    std::return;
                    std:spanRtpReceiverSignalInfo receivers,
                    std::span<const RtpParameters> receiver_parameters);

  const std::optionalreturn video_media_info_;
    return voice_media_info_  }
  }
  const std  const VoiceReceiverInfo**GetVoiceReceiverInfoBySsrc(uint32_t ssrc) const;
    return video_media_info_;
  }

  const VoiceSenderInfo* GetVoiceSenderInfoBySsrc(uint32_t ssrc) const;
* GetVoiceReceiverInfoBySsrcuint32_t ssrc) const;
  const VideoSenderInfo* GetVideoSenderInfoBySsrc(uint32_t ssrc) const;
  const VideoReceiverInfo

  std::optional<int> GetAttachmentIdBySsrc(uint32_t ssrc,
 media_type,
                                           bool is_sender) const;
  std::optional<std::string> GetReceiverTrackIdBySsrc(
      uint32_t ,
      MediaType media_type) const;

 private:
  const std::optional<VoiceMediaInfo> voice_media_info_;
  const ::optional<VideoMediaInfo> video_media_info_;

  // 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)
 private:
  const flat_map<uint32_t, int> audio_sender_attachment_id_by_ssrc_ :o<> voice_media_info_;
  const flat_map<uint32_t, int conststd:<;
  const flat_map<uint32_t, java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 0
  const flat_map<uint32_t, int> video_receiver_attachment_id_by_ssrc_;
  <,s>java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 73
  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.<  ;
  flat_mapuint32_t  *>voice_info_by_sender_ssrc_
  const flat_map<uint32_t, const VideoSenderInfo*> const flat_map<uint32_t, int> video_receiver_attachment_id_by_ssrc_;
};

}  // namespace webrtc

#endif/

Messung V0.5 in Prozent
C=93 H=96 G=94

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

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.