LocalVideoTrack::LocalVideoTrack(const talk_base::scoped_refptr<webrtc::LocalVideoTrackInterface>& pTrack) : LocalMediaStreamTrack(pTrack->kind(), pTrack->label(), pTrack->enabled()) { registerProperty("effect", make_property(this, &LocalVideoTrack::get_effect, &LocalVideoTrack::set_effect)); }
LocalAudioTrack::LocalAudioTrack(const talk_base::scoped_refptr<webrtc::LocalAudioTrackInterface>& pTrack) : LocalMediaStreamTrack(pTrack->kind(), pTrack->label(), pTrack->enabled()) { }
boolean enabled() { returnv_assert(m_track.get(), false); return m_track->enabled(); }