Reland "Remove rtc::Optional alias and api:optional target"
This is an reland of 6f5b0f920af08d66e6b77ee4f91ade5797145368 Relanded after speculative revert without any changes. TBR=ilnik@webrtc.org Original change's description: > Remove rtc::Optional alias and api:optional target > > Update left-overs where old target still was used. > > Bug: webrtc:9078 > Change-Id: I2162c928091fc4ff1dea33a3f03adbe47207d206 > Reviewed-on: https://webrtc-review.googlesource.com/84740 > Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> > Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#23913} Bug: webrtc:9078 Change-Id: Ia33c6438253c6ec49f45d938e8a3607b51c418be Reviewed-on: https://webrtc-review.googlesource.com/88160 Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23941}
This commit is contained in:
committed by
Commit Bot
parent
8280a56e15
commit
065a52a655
@ -84,18 +84,18 @@ class NetEqInput {
|
||||
class TimeLimitedNetEqInput : public NetEqInput {
|
||||
public:
|
||||
TimeLimitedNetEqInput(std::unique_ptr<NetEqInput> input, int64_t duration_ms);
|
||||
rtc::Optional<int64_t> NextPacketTime() const override;
|
||||
rtc::Optional<int64_t> NextOutputEventTime() const override;
|
||||
absl::optional<int64_t> NextPacketTime() const override;
|
||||
absl::optional<int64_t> NextOutputEventTime() const override;
|
||||
std::unique_ptr<PacketData> PopPacket() override;
|
||||
void AdvanceOutputEvent() override;
|
||||
bool ended() const override;
|
||||
rtc::Optional<RTPHeader> NextHeader() const override;
|
||||
absl::optional<RTPHeader> NextHeader() const override;
|
||||
|
||||
private:
|
||||
void MaybeSetEnded();
|
||||
|
||||
std::unique_ptr<NetEqInput> input_;
|
||||
const rtc::Optional<int64_t> start_time_ms_;
|
||||
const absl::optional<int64_t> start_time_ms_;
|
||||
const int64_t duration_ms_;
|
||||
bool ended_ = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user