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 28 matching lines...) Expand all Loading... |
39 virtual void SetMaxSize(size_t size) = 0; | 39 virtual void SetMaxSize(size_t size) = 0; |
40 virtual bool Enable(bool enable) = 0; | 40 virtual bool Enable(bool enable) = 0; |
41 virtual bool IsEnabled() const = 0; | 41 virtual bool IsEnabled() const = 0; |
42 virtual void OnPacket(const void* data, size_t size, bool rtcp) = 0; | 42 virtual void OnPacket(const void* data, size_t size, bool rtcp) = 0; |
43 virtual void set_packet_filter(int filter) = 0; | 43 virtual void set_packet_filter(int filter) = 0; |
44 }; | 44 }; |
45 | 45 |
46 } // namespace cricket | 46 } // namespace cricket |
47 | 47 |
48 #endif // TALK_SESSION_MEDIA_MEDIASINK_H_ | 48 #endif // TALK_SESSION_MEDIA_MEDIASINK_H_ |
OLD | NEW |