 Chromium Code Reviews
 Chromium Code Reviews Issue 2448463003:
  Rename {,Set}GenericFECStatus to {,Set}UlpfecConfig.  (Closed)
    
  
    Issue 2448463003:
  Rename {,Set}GenericFECStatus to {,Set}UlpfecConfig.  (Closed) 
  | OLD | NEW | 
|---|---|
| 1 /* | 1 /* | 
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 446 // indication. | 446 // indication. | 
| 447 // This API shall be called before transmision of an RTP packet to ensure | 447 // This API shall be called before transmision of an RTP packet to ensure | 
| 448 // that the |level| part of the extended RTP header is updated. | 448 // that the |level| part of the extended RTP header is updated. | 
| 449 // return -1 on failure else 0. | 449 // return -1 on failure else 0. | 
| 450 virtual int32_t SetAudioLevel(uint8_t level_dbov) = 0; | 450 virtual int32_t SetAudioLevel(uint8_t level_dbov) = 0; | 
| 451 | 451 | 
| 452 // ************************************************************************** | 452 // ************************************************************************** | 
| 453 // Video | 453 // Video | 
| 454 // ************************************************************************** | 454 // ************************************************************************** | 
| 455 | 455 | 
| 456 // Turn on/off generic FEC. | 456 // Turn on/off generic FEC. | 
| 
danilchap
2016/10/26 12:59:13
update comments too.
 
brandtr
2016/10/26 13:57:04
Done.
 | |
| 457 virtual void SetGenericFECStatus(bool enable, | 457 virtual void SetUlpfecConfig(bool ulpfec_enabled, | 
| 
danilchap
2016/10/26 12:59:13
since function already called UlpfecConfig, 'ulpfe
 
brandtr
2016/10/26 13:57:04
Done. (This parameter will probably removed soon t
 | |
| 458 uint8_t payload_type_red, | 458 int red_payload_type, | 
| 459 uint8_t payload_type_fec) = 0; | 459 int ulpfec_payload_type) = 0; | 
| 460 | 460 | 
| 461 // Get generic FEC setting. | 461 // Get generic FEC setting. | 
| 462 virtual void GenericFECStatus(bool* enable, | 462 virtual void UlpfecConfig(bool* ulpfec_enabled, | 
| 
danilchap
2016/10/26 12:59:13
It seems this function is not in use any more. (e.
 
brandtr
2016/10/26 13:57:04
Ah, I wasn't careful enough in checking where this
 | |
| 463 uint8_t* payload_type_red, | 463 int* red_payload_type, | 
| 464 uint8_t* payload_type_fec) = 0; | 464 int* ulpfec_payload_type) = 0; | 
| 465 | 465 | 
| 466 virtual int32_t SetFecParameters(const FecProtectionParams* delta_params, | 466 virtual int32_t SetFecParameters(const FecProtectionParams* delta_params, | 
| 467 const FecProtectionParams* key_params) = 0; | 467 const FecProtectionParams* key_params) = 0; | 
| 468 | 468 | 
| 469 // Set method for requestion a new key frame. | 469 // Set method for requestion a new key frame. | 
| 470 // Returns -1 on failure else 0. | 470 // Returns -1 on failure else 0. | 
| 471 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; | 471 virtual int32_t SetKeyFrameRequestMethod(KeyFrameRequestMethod method) = 0; | 
| 472 | 472 | 
| 473 // Sends a request for a keyframe. | 473 // Sends a request for a keyframe. | 
| 474 // Returns -1 on failure else 0. | 474 // Returns -1 on failure else 0. | 
| 475 virtual int32_t RequestKeyFrame() = 0; | 475 virtual int32_t RequestKeyFrame() = 0; | 
| 476 }; | 476 }; | 
| 477 | 477 | 
| 478 } // namespace webrtc | 478 } // namespace webrtc | 
| 479 | 479 | 
| 480 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 480 #endif // WEBRTC_MODULES_RTP_RTCP_INCLUDE_RTP_RTCP_H_ | 
| OLD | NEW |