Change RtcpPacket::PacketReadyCallback to rtc::FunctionView
from interface Bug: webrtc:5565 Change-Id: I2df5d7a0554b938888581f1c73dbdb8b85c387cc Reviewed-on: https://webrtc-review.googlesource.com/8680 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21136}
This commit is contained in:
committed by
Commit Bot
parent
f1061c2d90
commit
5c3cc41cef
@ -77,7 +77,7 @@ size_t App::BlockLength() const {
|
||||
bool App::Create(uint8_t* packet,
|
||||
size_t* index,
|
||||
size_t max_length,
|
||||
RtcpPacket::PacketReadyCallback* callback) const {
|
||||
PacketReadyCallback callback) const {
|
||||
while (*index + BlockLength() > max_length) {
|
||||
if (!OnBufferFull(packet, index, callback))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user