Examples of FrameType


Examples of com.strobel.assembler.ir.FrameType

    public static void writeFrame(final ITextOutput writer, final Frame frame) {
        VerifyArgument.notNull(writer, "writer");
        VerifyArgument.notNull(frame, "frame");

        final FrameType frameType = frame.getFrameType();

        writer.writeLiteral(String.valueOf(frameType));

        final List<FrameValue> localValues = frame.getLocalValues();
        final List<FrameValue> stackValues = frame.getStackValues();
View Full Code Here

Examples of com.strobel.assembler.ir.FrameType

    public static void writeFrame(final ITextOutput writer, final Frame frame) {
        VerifyArgument.notNull(writer, "writer");
        VerifyArgument.notNull(frame, "frame");

        final FrameType frameType = frame.getFrameType();

        writer.writeLiteral(String.valueOf(frameType));

        final List<FrameValue> localValues = frame.getLocalValues();
        final List<FrameValue> stackValues = frame.getStackValues();
View Full Code Here

Examples of org.red5.server.net.rtmp.event.VideoData.FrameType

    IRTMPEvent packet = message.getBody();
    boolean result = true;
    // We currently only drop video packets.
    if (packet instanceof VideoData) {
      VideoData video = (VideoData) packet;
      FrameType type = video.getFrameType();
      switch (state) {
        case SEND_ALL:
          // All packets will be sent
          break;
        case SEND_INTERFRAMES:
View Full Code Here

Examples of org.red5.server.net.rtmp.event.VideoData.FrameType

  public void dropPacket(RTMPMessage message) {
    IRTMPEvent packet = message.getBody();
    // Only check video packets.
    if (packet instanceof VideoData) {
      VideoData video = (VideoData) packet;
      FrameType type = video.getFrameType();
      switch (state) {
        case SEND_ALL:
          if (type == FrameType.DISPOSABLE_INTERFRAME) {
            // Remain in state, packet is safe to drop.
            return;
View Full Code Here

Examples of org.red5.server.net.rtmp.event.VideoData.FrameType

      // We currently only drop video packets.
      return true;
    }

    VideoData video = (VideoData) packet;
    FrameType type = video.getFrameType();
    boolean result = false;
    switch (state) {
      case SEND_ALL:
        // All packets will be sent.
        result = true;
View Full Code Here

Examples of org.red5.server.net.rtmp.event.VideoData.FrameType

      // Only check video packets.
      return;
    }

    VideoData video = (VideoData) packet;
    FrameType type = video.getFrameType();

    switch (state) {
      case SEND_ALL:
        if (type == FrameType.DISPOSABLE_INTERFRAME) {
          // Remain in state, packet is safe to drop.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.