15f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)/* 25f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * libjingle 35f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * Copyright 2004 Google Inc. 45f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * 55f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * Redistribution and use in source and binary forms, with or without 65f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * modification, are permitted provided that the following conditions are met: 75f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * 85f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * 1. Redistributions of source code must retain the above copyright notice, 95f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * this list of conditions and the following disclaimer. 105f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * 2. Redistributions in binary form must reproduce the above copyright notice, 115f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * this list of conditions and the following disclaimer in the documentation 125f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * and/or other materials provided with the distribution. 135f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * 3. The name of the author may not be used to endorse or promote products 145f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * derived from this software without specific prior written permission. 155f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * 165f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED 175f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 185f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 195f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 205f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 215f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 225f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 235f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 245f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 255f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 265f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) */ 275f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 285f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#ifndef TALK_MEDIA_WEBRTC_WEBRTCVIDEOCHANNEL_H_ 295f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)#define TALK_MEDIA_WEBRTC_WEBRTCVIDEOCHANNEL_H_ 305f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 315f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)namespace cricket { 325f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)class VoiceMediaChannel; 335f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)class WebRtcVideoEngine2; 345f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)class WebRtcVideoChannel2; 355f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) 365f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles)class WebRtcVideoChannelFactory { 375f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) public: 385f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) virtual ~WebRtcVideoChannelFactory() {} 395f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) virtual WebRtcVideoChannel2* Create(WebRtcVideoEngine2* engine, 405f1c94371a64b3196d4be9466099bb892df9b88eTorne (Richard Coles) VoiceMediaChannel* voice_channel) = 0; 41}; 42} // namespace cricket 43 44#endif // TALK_MEDIA_WEBRTC_WEBRTCVIDEOCHANNEL_H_ 45