tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

RTCRtpSources.webidl (1002B)


      1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* This Source Code Form is subject to the terms of the Mozilla Public
      3 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
      4 * You can obtain one at http://mozilla.org/MPL/2.0/.
      5 *
      6 * The origin of this IDL file is
      7 * https://w3c.github.io/webrtc-pc/ Editor's Draft 18 January 2018
      8 */
      9 
     10 dictionary RTCRtpContributingSource {
     11    required DOMHighResTimeStamp timestamp;
     12    required unsigned long source;
     13    double audioLevel;
     14    required unsigned long rtpTimestamp;
     15 };
     16 
     17 dictionary RTCRtpSynchronizationSource : RTCRtpContributingSource {
     18    boolean? voiceActivityFlag;
     19 };
     20 
     21 /* Internal enum of types used by RTCRtpSourceEntry */
     22 enum RTCRtpSourceEntryType {
     23    "contributing",
     24    "synchronization",
     25 };
     26 /* Internal shared representation of Contributing and Synchronization sources */
     27 dictionary RTCRtpSourceEntry : RTCRtpSynchronizationSource {
     28    required RTCRtpSourceEntryType sourceType;
     29 };