2018-09-13 23:04:55 +03:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2017-11-14 20:20:29 +03:00
|
|
|
/* 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/.
|
|
|
|
*
|
|
|
|
* The origin of this IDL file is
|
2017-12-19 04:14:36 +03:00
|
|
|
* https://w3c.github.io/webrtc-pc/ Editor's Draft 18 January 2018
|
2017-11-14 20:20:29 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
dictionary RTCRtpContributingSource {
|
2017-12-19 04:14:36 +03:00
|
|
|
required DOMHighResTimeStamp timestamp;
|
|
|
|
required unsigned long source;
|
|
|
|
double audioLevel;
|
2017-11-14 20:20:29 +03:00
|
|
|
};
|
|
|
|
|
2017-12-19 04:14:36 +03:00
|
|
|
dictionary RTCRtpSynchronizationSource : RTCRtpContributingSource {
|
|
|
|
boolean? voiceActivityFlag;
|
2017-11-14 20:20:29 +03:00
|
|
|
};
|
|
|
|
|
2017-12-19 04:14:36 +03:00
|
|
|
/* Internal enum of types used by RTCRtpSourceEntry */
|
2017-11-14 20:20:29 +03:00
|
|
|
enum RTCRtpSourceEntryType {
|
|
|
|
"contributing",
|
|
|
|
"synchronization",
|
|
|
|
};
|
2017-12-19 04:14:36 +03:00
|
|
|
/* Internal shared representation of Contributing and Synchronization sources */
|
|
|
|
dictionary RTCRtpSourceEntry : RTCRtpSynchronizationSource {
|
|
|
|
required RTCRtpSourceEntryType sourceType;
|
2017-11-14 20:20:29 +03:00
|
|
|
};
|