Class PushPublishRTMPNetConnectionPublisher

    • Field Detail

      • timecodeOffset

        protected long timecodeOffset
      • waitForKeyFrame

        protected boolean waitForKeyFrame
      • lastSeq

        protected long lastSeq
      • isFirstVideoSend

        protected boolean isFirstVideoSend
      • isFirstAudioSend

        protected boolean isFirstAudioSend
      • workBuffer

        protected byte[] workBuffer
      • chunkSize

        protected int chunkSize
      • sendDataStart

        protected boolean sendDataStart
      • totalPacketsZeroTimecode

        protected int totalPacketsZeroTimecode
      • lastOnGoLiveSend

        public long lastOnGoLiveSend
    • Method Detail

      • checkWorkBuffer

        protected void checkWorkBuffer​(int chunkSize)
      • sendPacket

        protected int sendPacket​(java.io.OutputStream out,
                                 long adjTimecode,
                                 AMFPacket packet,
                                 AMFObj amfObj,
                                 IMediaStream publishStream)
      • getPlayPacketDuration

        protected long getPlayPacketDuration​(java.util.List<AMFPacket> packets)
      • sendPackets

        protected int sendPackets​(INetConnection netConnection,
                                  java.io.OutputStream out,
                                  IMediaStream publishStream,
                                  long[] playSizes)