// SPDX-FileCopyrightText: 2023 The Pion community // SPDX-License-Identifier: MIT package rfc8888 import "time" type ticker interface { Ch() <-chan time.Time Stop() } type timeTicker struct { *time.Ticker } func (t *timeTicker) Ch() <-chan time.Time { return t.C }