All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.webrtc.NaluIndex Maven / Gradle / Ivy

There is a newer version: 2.3.3.1
Show newest version
package org.webrtc;

public class NaluIndex {
		// Start index of NALU, including start sequence.
		public int startOffset;
		// Start index of NALU payload, typically type header.
		public int payloadStartOffset;
		// Length of NALU payload, in bytes, counting from payload_start_offset.
		public int payloadSize;
		
		public NaluIndex(int start_offset, int payload_start_offset, int payload_size) {
			this.startOffset = start_offset;
			this.payloadStartOffset = payload_start_offset;
			this.payloadSize = payload_size;
		}
		
		@CalledByNative
		public int getStartOffset() {
			return startOffset;
		}
		
		@CalledByNative
		public int getPayloadStartOffset() {
			return payloadStartOffset;
		}
		
		@CalledByNative
		public int getPlayloadSize() {
			return payloadSize;
		}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy