Deprecate PeerConnectionFactory#createVideoSource(VideoCapturer).

This is done in preparation of moving VideoCapturer out of
video_api_java. Clients should update to using
createVideoSource(boolean).

CapturerObserver is moved to a separate file because it needs to stay
in video_api_java to allow VideoSource to depend on it.

Bug: webrtc:9496
Change-Id: I3c93f6bc4df553919dcbe05b00ef4c68f2c9ab60
Reviewed-on: https://webrtc-review.googlesource.com/87305
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23868}
This commit is contained in:
Sami Kalliomäki
2018-07-05 17:06:51 +02:00
committed by Commit Bot
parent 80e7a7fd1a
commit 05b552f76a
7 changed files with 50 additions and 7 deletions

View File

@ -22,8 +22,8 @@ namespace webrtc {
// Java object that can be used to feed frames to the source.
class JavaVideoTrackSourceInterface : public VideoTrackSourceInterface {
public:
// Returns VideoCapturer.CapturerObserver object that can be used to feed
// frames to the video source.
// Returns CapturerObserver object that can be used to feed frames to the
// video source.
virtual ScopedJavaLocalRef<jobject> GetJavaVideoCapturerObserver(
JNIEnv* env) = 0;
};