Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  MediaTransportChild.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 MTRANSPORTCHILD_H_
#define MTRANSPORTCHILD_H_

#include "mozilla/Mutex.h"
#include "mozilla/dom/PMediaTransportChild.h"

namespace mozilla {
class MediaTransportHandlerIPC;

class MediaTransportChild : public dom::PMediaTransportChild {
 public:
#ifdef MOZ_WEBRTC
  NS_INLINE_DECL_THREADSAFE_REFCOUNTING(MediaTransportChild, override)

  explicit MediaTransportChild(MediaTransportHandlerIPC* aUser);

  mozilla::ipc::IPCResult RecvOnCandidate(const string& transportId,
                                          CandidateInfo&& candidateInfo);
  mozilla::ipc::IPCResult RecvOnCandidateError(
      IceCandidateErrorInfo&& errorInfo);
  mozilla::ipc::IPCResult RecvOnAlpnNegotiated(const string& alpn);
  mozilla::ipc::IPCResult RecvOnGatheringStateChange(
      const string& transportId, const RTCIceGathererState& state);
  mozilla::ipc::IPCResult RecvOnConnectionStateChange(
      const string& transportId, const RTCIceTransportState& state);
  mozilla::ipc::IPCResult RecvOnPacketReceived(string&& transportId,
                                               MediaPacket&& packet);
  mozilla::ipc::IPCResult RecvOnEncryptedSending(const string& transportId,
                                                 MediaPacket&& packet);
  mozilla::ipc::IPCResult RecvOnStateChange(
      const string& transportId, const TransportLayerState& state,
      nsTArray<nsTArray<uint8_t>>&& remoteCerts);
  mozilla::ipc::IPCResult RecvOnRtcpStateChange(
      const string& transportId, const TransportLayerState& state);

 private:
  virtual ~MediaTransportChild();
  friend class MediaTransportHandlerIPC;
  void Shutdown();
  // MediaTransportHandlerIPC owns us, and will inform us when it is going away
  Mutex mMutex;
  MediaTransportHandlerIPC* mUser;
#endif  // MOZ_WEBRTC
};

}  // namespace mozilla
#endif

Messung V0.5 in Prozent
C=91 H=93 G=91

¤ 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002