| 55 | } |
| 56 | |
| 57 | rtc::scoped_refptr<webrtc::VideoTrackSourceInterface> AndroidInterface::makeVideoSource(rtc::Thread *signalingThread, rtc::Thread *workerThread) { |
| 58 | JNIEnv *env = webrtc::AttachCurrentThreadIfNeeded(); |
| 59 | _source = webrtc::CreateJavaVideoSource(env, signalingThread, false, false); |
| 60 | return webrtc::VideoTrackSourceProxy::Create(signalingThread, workerThread, _source); |
| 61 | } |
| 62 | |
| 63 | bool AndroidInterface::supportsEncoding(const std::string &codecName) { |
| 64 | if (hardwareVideoEncoderFactory == nullptr) { |
nothing calls this directly
no outgoing calls
no test coverage detected