/* * Copyright 2014 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree.
*/
// This class implements the audio source used by the remote audio track. // This class works by configuring itself as a sink with the underlying media // engine, then when receiving data will fan out to all added sinks. class RemoteAudioSource : public Notifier<AudioSourceInterface> { public: // In Unified Plan, receivers map to m= sections and their tracks and sources // survive SSRCs being reconfigured. The life cycle of the remote audio source // is associated with the life cycle of the m= section, and thus even if an // audio channel is destroyed the RemoteAudioSource should kSurvive. // // In Plan B however, remote audio sources map 1:1 with an SSRCs and if an // audio channel is destroyed, the RemoteAudioSource should kEnd. enumclass OnAudioChannelGoneAction {
kSurvive,
kEnd,
};
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.