Interface ReceiveStreamBufferListener


  • public interface ReceiveStreamBufferListener
    Represents a listener for every packet which is read by a MediaDevice
    Author:
    Boris Grozev, Nik Vaessen
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void bufferReceived​(javax.media.rtp.ReceiveStream receiveStream, javax.media.Buffer buffer)
      Notify the listener that the data in the Buffer (as byte[]) has been read by the MediaDevice the listener is attached to
    • Method Detail

      • bufferReceived

        void bufferReceived​(javax.media.rtp.ReceiveStream receiveStream,
                            javax.media.Buffer buffer)
        Notify the listener that the data in the Buffer (as byte[]) has been read by the MediaDevice the listener is attached to
        Parameters:
        receiveStream - the ReceiveStream which provided the packet(s)
        buffer - the Buffer into which the packets has been read