OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 27 matching lines...) Expand all Loading... |
38 VideoDecoder* decoder = nullptr; | 38 VideoDecoder* decoder = nullptr; |
39 | 39 |
40 // Received RTP packets with this payload type will be sent to this decoder | 40 // Received RTP packets with this payload type will be sent to this decoder |
41 // instance. | 41 // instance. |
42 int payload_type = 0; | 42 int payload_type = 0; |
43 | 43 |
44 // Name of the decoded payload (such as VP8). Maps back to the depacketizer | 44 // Name of the decoded payload (such as VP8). Maps back to the depacketizer |
45 // used to unpack incoming packets. | 45 // used to unpack incoming packets. |
46 std::string payload_name; | 46 std::string payload_name; |
47 | 47 |
48 DecoderSpecificSettings decoder_specific; | 48 // This map contains the codec specific parameters from SDP, i.e. the "fmtp" |
| 49 // parameters. It is the same as cricket::CodecParameterMap used in |
| 50 // cricket::VideoCodec. |
| 51 std::map<std::string, std::string> codec_params; |
49 }; | 52 }; |
50 | 53 |
51 struct Stats { | 54 struct Stats { |
52 std::string ToString(int64_t time_ms) const; | 55 std::string ToString(int64_t time_ms) const; |
53 | 56 |
54 int network_frame_rate = 0; | 57 int network_frame_rate = 0; |
55 int decode_frame_rate = 0; | 58 int decode_frame_rate = 0; |
56 int render_frame_rate = 0; | 59 int render_frame_rate = 0; |
57 | 60 |
58 // Decoder stats. | 61 // Decoder stats. |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 EnableEncodedFrameRecording(rtc::kInvalidPlatformFileValue, 0); | 218 EnableEncodedFrameRecording(rtc::kInvalidPlatformFileValue, 0); |
216 } | 219 } |
217 | 220 |
218 protected: | 221 protected: |
219 virtual ~VideoReceiveStream() {} | 222 virtual ~VideoReceiveStream() {} |
220 }; | 223 }; |
221 | 224 |
222 } // namespace webrtc | 225 } // namespace webrtc |
223 | 226 |
224 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ | 227 #endif // WEBRTC_VIDEO_RECEIVE_STREAM_H_ |
OLD | NEW |