Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: webrtc/media/base/streamparams.h

Issue 1587193006: Move talk/media to webrtc/media (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased to b647aca12a884a13c1728118586245399b55fa3d (#11493) Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/media/base/screencastid.h ('k') | webrtc/media/base/streamparams.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 22 matching lines...) Expand all
33 // are used for this media source. 33 // are used for this media source.
34 // E.x: Consider a source that is sent as 3 simulcast streams 34 // E.x: Consider a source that is sent as 3 simulcast streams
35 // Let the simulcast elements have SSRC 10, 20, 30. 35 // Let the simulcast elements have SSRC 10, 20, 30.
36 // Let each simulcast element use FEC and let the protection packets have 36 // Let each simulcast element use FEC and let the protection packets have
37 // SSRC 11,21,31. 37 // SSRC 11,21,31.
38 // To describe this 4 SsrcGroups are needed, 38 // To describe this 4 SsrcGroups are needed,
39 // StreamParams would then contain ssrc = {10,11,20,21,30,31} and 39 // StreamParams would then contain ssrc = {10,11,20,21,30,31} and
40 // ssrc_groups = {{SIM,{10,20,30}, {FEC,{10,11}, {FEC, {20,21}, {FEC {30,31}}} 40 // ssrc_groups = {{SIM,{10,20,30}, {FEC,{10,11}, {FEC, {20,21}, {FEC {30,31}}}
41 // Please see RFC 5576. 41 // Please see RFC 5576.
42 42
43 #ifndef TALK_MEDIA_BASE_STREAMPARAMS_H_ 43 #ifndef WEBRTC_MEDIA_BASE_STREAMPARAMS_H_
44 #define TALK_MEDIA_BASE_STREAMPARAMS_H_ 44 #define WEBRTC_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 #include "webrtc/base/constructormagic.h"
53 53
54 namespace cricket { 54 namespace cricket {
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 // we can test this function. 310 // we can test this function.
311 bool IsOneSsrcStream(const StreamParams& sp); 311 bool IsOneSsrcStream(const StreamParams& sp);
312 312
313 // Checks if |sp| defines parameters for one Simulcast stream. There may be RTX 313 // Checks if |sp| defines parameters for one Simulcast stream. There may be RTX
314 // streams associated with the simulcast streams. Leaving as non-static so we 314 // streams associated with the simulcast streams. Leaving as non-static so we
315 // can test this function. 315 // can test this function.
316 bool IsSimulcastStream(const StreamParams& sp); 316 bool IsSimulcastStream(const StreamParams& sp);
317 317
318 } // namespace cricket 318 } // namespace cricket
319 319
320 #endif // TALK_MEDIA_BASE_STREAMPARAMS_H_ 320 #endif // WEBRTC_MEDIA_BASE_STREAMPARAMS_H_
OLDNEW
« no previous file with comments | « webrtc/media/base/screencastid.h ('k') | webrtc/media/base/streamparams.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698