Remove RTPFragmentationHeader creation and propagation through webrtc
Bug: webrtc:6471 Change-Id: I5cb1e10088aaecb5981888082b87ae9957bbaaef Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/181541 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31955}
This commit is contained in:
committed by
Commit Bot
parent
c8ac35879c
commit
2549f174b5
@ -251,7 +251,7 @@ class MockVideoEncoder : public VideoEncoder {
|
||||
image._encodedHeight = height;
|
||||
CodecSpecificInfo codec_specific_info;
|
||||
codec_specific_info.codecType = webrtc::kVideoCodecVP8;
|
||||
callback_->OnEncodedImage(image, &codec_specific_info, nullptr);
|
||||
callback_->OnEncodedImage(image, &codec_specific_info);
|
||||
}
|
||||
|
||||
void set_supports_native_handle(bool enabled) {
|
||||
@ -422,8 +422,7 @@ class TestSimulcastEncoderAdapterFake : public ::testing::Test,
|
||||
}
|
||||
|
||||
Result OnEncodedImage(const EncodedImage& encoded_image,
|
||||
const CodecSpecificInfo* codec_specific_info,
|
||||
const RTPFragmentationHeader* fragmentation) override {
|
||||
const CodecSpecificInfo* codec_specific_info) override {
|
||||
last_encoded_image_width_ = encoded_image._encodedWidth;
|
||||
last_encoded_image_height_ = encoded_image._encodedHeight;
|
||||
last_encoded_image_simulcast_index_ =
|
||||
|
||||
Reference in New Issue
Block a user