/*
 *  Copyright 2021 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 API_VIDEO_TRACK_SOURCE_PROXY_FACTORY_H_
#define API_VIDEO_TRACK_SOURCE_PROXY_FACTORY_H_

#include "api/media_stream_interface.h"
#include "api/scoped_refptr.h"
#include "rtc_base/system/rtc_export.h"
#include "rtc_base/thread.h"

namespace webrtc {

// Creates a proxy source for `source` which makes sure the real
// VideoTrackSourceInterface implementation is destroyed on the signaling thread
// and marshals calls to `worker_thread` and `signaling_thread`.
rtc::scoped_refptr<VideoTrackSourceInterface> RTC_EXPORT
CreateVideoTrackSourceProxy(rtc::Thread* signaling_thread,
                            rtc::Thread* worker_thread,
                            VideoTrackSourceInterface* source);

}  // namespace webrtc

#endif  // API_VIDEO_TRACK_SOURCE_PROXY_FACTORY_H_
