Class UdpQueueOpusFramePoller

java.lang.Object
moe.kyokobot.koe.poller.AbstractFramePoller
moe.kyokobot.koe.poller.AbstractOpusFramePoller
moe.kyokobot.koe.poller.udpqueue.UdpQueueOpusFramePoller
All Implemented Interfaces:
AutoCloseable

public class UdpQueueOpusFramePoller extends moe.kyokobot.koe.poller.AbstractOpusFramePoller
  • Field Summary

    Fields inherited from class moe.kyokobot.koe.poller.AbstractOpusFramePoller

    codec

    Fields inherited from class moe.kyokobot.koe.poller.AbstractFramePoller

    allocator, connection, eventLoop, polling
  • Constructor Summary

    Constructors
    Constructor
    Description
    UdpQueueOpusFramePoller(QueueManagerPool.UdpQueueWrapper manager, moe.kyokobot.koe.codec.CodecInstance codec, moe.kyokobot.koe.MediaConnection connection)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    protected int
     
    protected void
    sendFramePayload(io.netty.buffer.ByteBuf buf, int len, int timestamp)
     

    Methods inherited from class moe.kyokobot.koe.poller.AbstractOpusFramePoller

    close, getFrameIntervalNanos, getSpeakingMask, pollAndSend, resolveProvider, setSpeakingMask

    Methods inherited from class moe.kyokobot.koe.poller.AbstractFramePoller

    getDroppedFrames, getTotalFrames, isPolling, start, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • UdpQueueOpusFramePoller

      public UdpQueueOpusFramePoller(QueueManagerPool.UdpQueueWrapper manager, @NotNull moe.kyokobot.koe.codec.CodecInstance codec, @NotNull moe.kyokobot.koe.MediaConnection connection)
  • Method Details

    • getPollsPerTick

      protected int getPollsPerTick()
      Overrides:
      getPollsPerTick in class moe.kyokobot.koe.poller.AbstractOpusFramePoller
    • canSendFrame

      protected boolean canSendFrame()
      Specified by:
      canSendFrame in class moe.kyokobot.koe.poller.AbstractOpusFramePoller
    • sendFramePayload

      protected void sendFramePayload(io.netty.buffer.ByteBuf buf, int len, int timestamp)
      Specified by:
      sendFramePayload in class moe.kyokobot.koe.poller.AbstractOpusFramePoller