Interface ILiveReceiver


  • public interface ILiveReceiver
    • Method Detail

      • resetTimecodes

        void resetTimecodes()
      • getVideoMissing

        int getVideoMissing​(int totalSize)
      • getDataMissing

        int getDataMissing​(int totalSize)
      • getAudioMissing

        int getAudioMissing​(int totalSize)
      • startVideoPacket

        void startVideoPacket()
      • addVideoData

        void addVideoData​(byte[] data,
                          int offset,
                          int size,
                          int totalSize,
                          long videoTC)
      • startDataPacket

        void startDataPacket()
      • addDataData

        void addDataData​(byte[] data,
                         int offset,
                         int size,
                         int totalSize,
                         long dataTC)
      • startAudioPacket

        void startAudioPacket()
      • addAudioData

        void addAudioData​(byte[] data,
                          int offset,
                          int size,
                          int totalSize,
                          long audioTC)
      • getPacketCount

        int getPacketCount()
      • getLastPacketTC

        long getLastPacketTC()
      • getFirstPacketTC

        long getFirstPacketTC()
      • getPlayPackets

        java.util.List<AMFPacket> getPlayPackets()
      • getLastKeyFrame

        AMFPacket getLastKeyFrame()
      • trim

        void trim​(java.util.List<AMFPacket> dataObjs)
      • trim

        void trim()
      • getMaximumLiveLatency

        int getMaximumLiveLatency()
      • setMaximumLiveLatency

        void setMaximumLiveLatency​(int maximumLiveLatency)
      • getSrc

        int getSrc()
      • setSrc

        void setSrc​(int src)
      • close

        void close()
      • getMaxTimecode

        long getMaxTimecode()
      • getTimecodeOffset

        long getTimecodeOffset()
      • updateLoggingValues

        void updateLoggingValues()
      • getLastReceivedAudioTC

        long getLastReceivedAudioTC()
      • getLastReceivedVideoTC

        long getLastReceivedVideoTC()
      • getLastReceivedDataTC

        long getLastReceivedDataTC()
      • getLastSentAudioTC

        long getLastSentAudioTC()
      • getLastSentVideoTC

        long getLastSentVideoTC()
      • getLastSentDataTC

        long getLastSentDataTC()
      • getLastFlushAudioTC

        long getLastFlushAudioTC()
      • getLastFlushVideoTC

        long getLastFlushVideoTC()
      • getLastFlushDataTC

        long getLastFlushDataTC()
      • getLastFlushTimecode

        long getLastFlushTimecode()
      • getLastFlushRTTimecode

        long getLastFlushRTTimecode()
      • getLastFlushTime

        long getLastFlushTime()
      • addAudioCodecConfigPacket

        void addAudioCodecConfigPacket​(long timecode,
                                       AMFPacket packet)
      • getVideoCodecConfigPacket

        AMFPacket getVideoCodecConfigPacket​(long timecode)
      • addVideoCodecConfigPacket

        void addVideoCodecConfigPacket​(long timecode,
                                       AMFPacket packet)
      • onStreamStart

        void onStreamStart​(java.util.List metaDataList,
                           long timecode)
      • flush

        void flush()
      • getAudioCodecConfigPacket

        AMFPacket getAudioCodecConfigPacket​(long timecode)
      • getVideoCodecId

        int getVideoCodecId()
      • getAudioCodecId

        int getAudioCodecId()
      • setVideoCodecId

        void setVideoCodecId​(int publishVideoCodecId)
      • setAudioCodecId

        void setAudioCodecId​(int publishAudioCodecId)
      • isPublishStreamReady

        boolean isPublishStreamReady​(boolean checkAudio,
                                     boolean checkVideo)
      • setMaximumPacketsPerSecond

        void setMaximumPacketsPerSecond​(int maximumPacketsPerSecond)
      • shutdown

        void shutdown()
      • addAudioExtraData

        void addAudioExtraData​(java.util.Map<String,​IAMFPacketExtraData> extraData)
      • addVideoExtraData

        void addVideoExtraData​(java.util.Map<String,​IAMFPacketExtraData> extraData)
      • addDataExtraData

        void addDataExtraData​(java.util.Map<String,​IAMFPacketExtraData> extraData)
      • getPublishBitrateVideo

        int getPublishBitrateVideo()
      • getPublishBitrateAudio

        int getPublishBitrateAudio()
      • getPublishBitrateVideo

        int getPublishBitrateVideo​(int source)
      • getPublishBitrateAudio

        int getPublishBitrateAudio​(int source)
      • getPublishFramerateVideo

        double getPublishFramerateVideo()
      • getPublishKeyFrameIntervalsVideo

        int[] getPublishKeyFrameIntervalsVideo()
      • getPublishFramerateVideo

        double getPublishFramerateVideo​(int source)
      • getPublishFrameCounts

        long getPublishFrameCounts​(long[] counts)
      • getPublishFrameCountVideo

        long getPublishFrameCountVideo()
      • getPublishFrameCountVideoKey

        long getPublishFrameCountVideoKey()
      • getPublishFrameCountAudio

        long getPublishFrameCountAudio()
      • getPublishFrameCountData

        long getPublishFrameCountData()