| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2  *  Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 
| 3  * | 3  * | 
| 4  *  Use of this source code is governed by a BSD-style license | 4  *  Use of this source code is governed by a BSD-style license | 
| 5  *  that can be found in the LICENSE file in the root of the source | 5  *  that can be found in the LICENSE file in the root of the source | 
| 6  *  tree. An additional intellectual property rights grant can be found | 6  *  tree. An additional intellectual property rights grant can be found | 
| 7  *  in the file PATENTS.  All contributing project authors may | 7  *  in the file PATENTS.  All contributing project authors may | 
| 8  *  be found in the AUTHORS file in the root of the source tree. | 8  *  be found in the AUTHORS file in the root of the source tree. | 
| 9  */ | 9  */ | 
| 10 | 10 | 
| (...skipping 25 matching lines...) Expand all  Loading... | 
| 36       // Synchronization source (stream identifier) to be received. | 36       // Synchronization source (stream identifier) to be received. | 
| 37       uint32_t remote_ssrc = 0; | 37       uint32_t remote_ssrc = 0; | 
| 38 | 38 | 
| 39       // Sender SSRC used for sending RTCP (such as receiver reports). | 39       // Sender SSRC used for sending RTCP (such as receiver reports). | 
| 40       uint32_t local_ssrc = 0; | 40       uint32_t local_ssrc = 0; | 
| 41 | 41 | 
| 42       // RTP header extensions used for the received stream. | 42       // RTP header extensions used for the received stream. | 
| 43       std::vector<RtpExtension> extensions; | 43       std::vector<RtpExtension> extensions; | 
| 44     } rtp; | 44     } rtp; | 
| 45 | 45 | 
|  | 46     // Handle to underlying VoiceEngine handle, used to map AudioReceiveStream | 
|  | 47     // to lower-level components. | 
|  | 48     int channel_id = -1; | 
|  | 49 | 
|  | 50     // Identifier for an A/V synchronization group. Empty string to disable. | 
|  | 51     // TODO(pbos): Synchronize streams in a sync group, not just video streams | 
|  | 52     // to one of the audio streams. | 
|  | 53     std::string sync_group; | 
|  | 54 | 
| 46     // Decoders for every payload that we can receive. Call owns the | 55     // Decoders for every payload that we can receive. Call owns the | 
| 47     // AudioDecoder instances once the Config is submitted to | 56     // AudioDecoder instances once the Config is submitted to | 
| 48     // Call::CreateReceiveStream(). | 57     // Call::CreateReceiveStream(). | 
| 49     // TODO(solenberg): Use unique_ptr<> once our std lib fully supports C++11. | 58     // TODO(solenberg): Use unique_ptr<> once our std lib fully supports C++11. | 
| 50     std::map<uint8_t, AudioDecoder*> decoder_map; | 59     std::map<uint8_t, AudioDecoder*> decoder_map; | 
| 51   }; | 60   }; | 
| 52 | 61 | 
| 53   virtual Stats GetStats() const = 0; | 62   virtual Stats GetStats() const = 0; | 
| 54 | 63 | 
| 55  protected: | 64  protected: | 
| 56   virtual ~AudioReceiveStream() {} | 65   virtual ~AudioReceiveStream() {} | 
| 57 }; | 66 }; | 
| 58 }  // namespace webrtc | 67 }  // namespace webrtc | 
| 59 | 68 | 
| 60 #endif  // WEBRTC_AUDIO_RECEIVE_STREAM_H_ | 69 #endif  // WEBRTC_AUDIO_RECEIVE_STREAM_H_ | 
| OLD | NEW | 
|---|