OLD | NEW |
1 /* | 1 /* |
2 * libjingle | 2 * libjingle |
3 * Copyright 2004 Google Inc. | 3 * Copyright 2004 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are met: | 6 * modification, are permitted provided that the following conditions are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright notice, | 8 * 1. Redistributions of source code must retain the above copyright notice, |
9 * this list of conditions and the following disclaimer. | 9 * this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright notice, | 10 * 2. Redistributions in binary form must reproduce the above copyright notice, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 #include "webrtc/base/base64.h" | 46 #include "webrtc/base/base64.h" |
47 #include "webrtc/base/byteorder.h" | 47 #include "webrtc/base/byteorder.h" |
48 #include "webrtc/base/common.h" | 48 #include "webrtc/base/common.h" |
49 #include "webrtc/base/helpers.h" | 49 #include "webrtc/base/helpers.h" |
50 #include "webrtc/base/logging.h" | 50 #include "webrtc/base/logging.h" |
51 #include "webrtc/base/stringencode.h" | 51 #include "webrtc/base/stringencode.h" |
52 #include "webrtc/base/stringutils.h" | 52 #include "webrtc/base/stringutils.h" |
53 #include "webrtc/call/rtc_event_log.h" | 53 #include "webrtc/call/rtc_event_log.h" |
54 #include "webrtc/common.h" | 54 #include "webrtc/common.h" |
55 #include "webrtc/modules/audio_processing/include/audio_processing.h" | 55 #include "webrtc/modules/audio_processing/include/audio_processing.h" |
56 #include "webrtc/system_wrappers/interface/field_trial.h" | 56 #include "webrtc/system_wrappers/include/field_trial.h" |
57 | 57 |
58 namespace cricket { | 58 namespace cricket { |
59 namespace { | 59 namespace { |
60 | 60 |
61 const int kMaxNumPacketSize = 6; | 61 const int kMaxNumPacketSize = 6; |
62 struct CodecPref { | 62 struct CodecPref { |
63 const char* name; | 63 const char* name; |
64 int clockrate; | 64 int clockrate; |
65 int channels; | 65 int channels; |
66 int payload_type; | 66 int payload_type; |
(...skipping 2826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2893 LOG(LS_WARNING) << "Unknown codec " << ToString(codec); | 2893 LOG(LS_WARNING) << "Unknown codec " << ToString(codec); |
2894 return false; | 2894 return false; |
2895 } | 2895 } |
2896 } | 2896 } |
2897 return true; | 2897 return true; |
2898 } | 2898 } |
2899 | 2899 |
2900 } // namespace cricket | 2900 } // namespace cricket |
2901 | 2901 |
2902 #endif // HAVE_WEBRTC_VOICE | 2902 #endif // HAVE_WEBRTC_VOICE |
OLD | NEW |