Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  RsdparsaSdp.h

  Sprache: C
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
 * You can obtain one at http://mozilla.org/MPL/2.0/. */


#ifndef DOM_MEDIA_WEBRTC_SDP_RSDPARSASDP_H_
#define DOM_MEDIA_WEBRTC_SDP_RSDPARSASDP_H_

#include "mozilla/UniquePtr.h"
#include "sdp/RsdparsaSdpAttributeList.h"
#include "sdp/RsdparsaSdpGlue.h"
#include "sdp/RsdparsaSdpInc.h"
#include "sdp/RsdparsaSdpMediaSection.h"
#include "sdp/Sdp.h"

namespace mozilla {

class RsdparsaSdpParser;
class SdpParser;

class RsdparsaSdp final : public Sdp {
  friend class RsdparsaSdpParser;

 public:
  explicit RsdparsaSdp(RsdparsaSessionHandle session, const SdpOrigin& origin);

  UniquePtr<Sdp> Clone() const override;

  const SdpOrigin& GetOrigin() const override;

  // Note: connection information is always retrieved from media sections
  uint32_t GetBandwidth(const std::string& type) const override;

  size_t GetMediaSectionCount() const override {
    return sdp_media_section_count(mSession.get());
  }

  const SdpAttributeList& GetAttributeList() const override {
    return *mAttributeList;
  }

  SdpAttributeList& GetAttributeList() override { return *mAttributeList; }

  const SdpMediaSection& GetMediaSection(size_t level) const override;

  SdpMediaSection& GetMediaSection(size_t level) override;

  SdpMediaSection& AddMediaSection(const SdpMediaSection::MediaType media,
                                   const SdpDirectionAttribute::Direction dir,
                                   const uint16_t port,
                                   const SdpMediaSection::Protocol proto,
                                   const sdp::AddrType addrType,
                                   const std::string& addr) override;

  void Serialize(std::ostream&) const override;

 private:
  RsdparsaSdp() : mOrigin(""00, sdp::kIPv4, "") {}
  RsdparsaSdp(const RsdparsaSdp& aOrig);

  RsdparsaSessionHandle mSession;
  SdpOrigin mOrigin;
  UniquePtr<RsdparsaSdpAttributeList> mAttributeList;
  std::vector<UniquePtr<RsdparsaSdpMediaSection>> mMediaSections;
};

}  // namespace mozilla

#endif

Messung V0.5 in Prozent
C=96 H=100 G=97

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-08-25) ¤

*© 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002