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

Quelle  MediaTransportParent.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 MTRANSPORTHANDLER_PARENT_H_
#define MTRANSPORTHANDLER_PARENT_H_

#include <memory>

#include "mozilla/dom/PMediaTransportParent.h"

namespace mozilla {

class MediaTransportParent : public dom::PMediaTransportParent {
 public:
#ifdef MOZ_WEBRTC
  NS_INLINE_DECL_THREADSAFE_REFCOUNTING(MediaTransportParent, override)

  MediaTransportParent();

  mozilla::ipc::IPCResult RecvGetIceLog(const nsCString& pattern,
                                        GetIceLogResolver&& aResolve);
  mozilla::ipc::IPCResult RecvClearIceLog();
  mozilla::ipc::IPCResult RecvEnterPrivateMode();
  mozilla::ipc::IPCResult RecvExitPrivateMode();
  mozilla::ipc::IPCResult RecvCreateIceCtx(const string& name);
  mozilla::ipc::IPCResult RecvSetIceConfig(
      nsTArray<RTCIceServer>&& iceServers,
      const RTCIceTransportPolicy& icePolicy);
  mozilla::ipc::IPCResult RecvSetProxyConfig(
      const net::WebrtcProxyConfig& aProxyConfig);
  mozilla::ipc::IPCResult RecvEnsureProvisionalTransport(
      const string& transportId, const string& localUfrag,
      const string& localPwd, const int& componentCount);
  mozilla::ipc::IPCResult RecvSetTargetForDefaultLocalAddressLookup(
      const string& targetIp, uint16_t targetPort);
  mozilla::ipc::IPCResult RecvStartIceGathering(
      const bool& defaultRouteOnly, const bool& obfuscateAddresses,
      const net::NrIceStunAddrArray& stunAddrs);
  mozilla::ipc::IPCResult RecvActivateTransport(
      const string& transportId, const string& localUfrag,
      const string& localPwd, const int& componentCount,
      const string& remoteUfrag, const string& remotePwd,
      nsTArray<uint8_t>&& keyDer, nsTArray<uint8_t>&& certDer,
      const SSLKEAType& authType, const bool& dtlsClient,
      const DtlsDigestList& digests, const bool& privacyRequested);
  mozilla::ipc::IPCResult RecvRemoveTransportsExcept(
      const StringVector& transportIds);
  mozilla::ipc::IPCResult RecvStartIceChecks(const bool& isControlling,
                                             const StringVector& iceOptions);
  mozilla::ipc::IPCResult RecvSendPacket(const string& transportId,
                                         MediaPacket&& packet);
  mozilla::ipc::IPCResult RecvAddIceCandidate(const string& transportId,
                                              const string& candidate,
                                              const string& ufrag,
                                              const string& obfuscatedAddress);
  mozilla::ipc::IPCResult RecvUpdateNetworkState(const bool& online);
  mozilla::ipc::IPCResult RecvGetIceStats(const string& transportId,
                                          const double& now,
                                          GetIceStatsResolver&& aResolve);

 private:
  virtual ~MediaTransportParent();

  // Hide the sigslot/MediaTransportHandler stuff from IPC.
  class Impl;
  std::unique_ptr<Impl> mImpl;
#endif  // MOZ_WEBRTC
};
}  // namespace mozilla
#endif  // MTRANSPORTHANDLER_PARENT_H_

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

¤ Dauer der Verarbeitung: 0.17 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.