RemoteAudioTrack::RemoteAudioTrack(const talk_base::scoped_refptr<webrtc::AudioTrackInterface>& pTrack) : MediaStreamTrack(pTrack->kind(), pTrack->label()) { }
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()) { }
DOMString kind() { returnv_assert(m_track.get(), ""); return m_track->kind(); }