mediacommon.h revision d4e598d57aed714a599444a7eab5e8fdde52a950
16acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn/*
26acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * libjingle
36acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * Copyright 2004 Google Inc.
46acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn *
56acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * Redistribution and use in source and binary forms, with or without
66acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * modification, are permitted provided that the following conditions are met:
76acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn *
86acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn *  1. Redistributions of source code must retain the above copyright notice,
96acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn *     this list of conditions and the following disclaimer.
106acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn *  2. Redistributions in binary form must reproduce the above copyright notice,
116acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn *     this list of conditions and the following disclaimer in the documentation
126acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn *     and/or other materials provided with the distribution.
136acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn *  3. The name of the author may not be used to endorse or promote products
146acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn *     derived from this software without specific prior written permission.
156acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn *
166acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
176acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
186acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
196acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
206acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
216acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
226acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
236acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
246acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
256acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
266acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn */
276acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn
286acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn#ifndef TALK_MEDIA_BASE_MEDIACOMMON_H_
296acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn#define TALK_MEDIA_BASE_MEDIACOMMON_H_
306acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn
316acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn#include "webrtc/base/stringencode.h"
326acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn
336acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Rennnamespace cricket {
346acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn
356acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Rennenum MediaCapabilities {
366acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn  AUDIO_RECV = 1 << 0,
376acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn  AUDIO_SEND = 1 << 1,
386acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn  VIDEO_RECV = 1 << 2,
396acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn  VIDEO_SEND = 1 << 3,
406acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn};
416acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn
426acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn}  // namespace cricket
436acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn
446acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn#endif  // TALK_MEDIA_BASE_MEDIACOMMON_H_
456acb9a7ea3d7564944e12cbc73a857b88c1301eeMarius Renn