| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * libjingle | 2  * libjingle | 
| 3  * Copyright 2011 Google Inc. | 3  * Copyright 2011 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 42 | 42 | 
| 43 #ifndef TALK_MEDIA_BASE_STREAMPARAMS_H_ | 43 #ifndef TALK_MEDIA_BASE_STREAMPARAMS_H_ | 
| 44 #define TALK_MEDIA_BASE_STREAMPARAMS_H_ | 44 #define TALK_MEDIA_BASE_STREAMPARAMS_H_ | 
| 45 | 45 | 
| 46 #include <algorithm> | 46 #include <algorithm> | 
| 47 #include <set> | 47 #include <set> | 
| 48 #include <string> | 48 #include <string> | 
| 49 #include <vector> | 49 #include <vector> | 
| 50 | 50 | 
| 51 #include "webrtc/base/basictypes.h" | 51 #include "webrtc/base/basictypes.h" | 
|  | 52 #include "webrtc/base/constructormagic.h" | 
| 52 | 53 | 
| 53 namespace cricket { | 54 namespace cricket { | 
| 54 | 55 | 
| 55 extern const char kFecSsrcGroupSemantics[]; | 56 extern const char kFecSsrcGroupSemantics[]; | 
| 56 extern const char kFidSsrcGroupSemantics[]; | 57 extern const char kFidSsrcGroupSemantics[]; | 
| 57 extern const char kSimSsrcGroupSemantics[]; | 58 extern const char kSimSsrcGroupSemantics[]; | 
| 58 | 59 | 
| 59 struct SsrcGroup { | 60 struct SsrcGroup { | 
| 60   SsrcGroup(const std::string& usage, const std::vector<uint32>& ssrcs) | 61   SsrcGroup(const std::string& usage, const std::vector<uint32>& ssrcs) | 
| 61       : semantics(usage), ssrcs(ssrcs) { | 62       : semantics(usage), ssrcs(ssrcs) { | 
| (...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 338 bool IsOneSsrcStream(const StreamParams& sp); | 339 bool IsOneSsrcStream(const StreamParams& sp); | 
| 339 | 340 | 
| 340 // Checks if |sp| defines parameters for one Simulcast stream. There may be RTX | 341 // Checks if |sp| defines parameters for one Simulcast stream. There may be RTX | 
| 341 // streams associated with the simulcast streams. Leaving as non-static so we | 342 // streams associated with the simulcast streams. Leaving as non-static so we | 
| 342 // can test this function. | 343 // can test this function. | 
| 343 bool IsSimulcastStream(const StreamParams& sp); | 344 bool IsSimulcastStream(const StreamParams& sp); | 
| 344 | 345 | 
| 345 }  // namespace cricket | 346 }  // namespace cricket | 
| 346 | 347 | 
| 347 #endif  // TALK_MEDIA_BASE_STREAMPARAMS_H_ | 348 #endif  // TALK_MEDIA_BASE_STREAMPARAMS_H_ | 
| OLD | NEW | 
|---|