// 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.
enum class 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.