mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-16 23:30:48 +01:00

For new factory function use same style as PeerConnectionFactory does: insteat of multiple parameters pass struct where some parameters might be not set. Bug: webrtc:10284 Change-Id: Ic54813e3afa3f873295409d2f7e2347c69f76988 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/131952 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27556}
23 lines
801 B
C++
23 lines
801 B
C++
/*
|
|
* Copyright (c) 2019 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.
|
|
*/
|
|
|
|
#ifndef MEDIA_ENGINE_WEBRTC_MEDIA_ENGINE_DEFAULTS_H_
|
|
#define MEDIA_ENGINE_WEBRTC_MEDIA_ENGINE_DEFAULTS_H_
|
|
|
|
#include "media/engine/webrtc_media_engine.h"
|
|
|
|
namespace webrtc {
|
|
|
|
// Sets required but null dependencies with default factories.
|
|
void SetMediaEngineDefaults(cricket::MediaEngineDependencies* deps);
|
|
|
|
} // namespace webrtc
|
|
|
|
#endif // MEDIA_ENGINE_WEBRTC_MEDIA_ENGINE_DEFAULTS_H_
|