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

io.antmedia.webrtc.AudioFrameContext Maven / Gradle / Ivy

Go to download

Ant Media Server supports RTMP, RTSP, MP4, HLS, WebRTC, Adaptive Streaming, etc.

There is a newer version: 2.11.3
Show newest version
package io.antmedia.webrtc;

import org.bytedeco.ffmpeg.avutil.AVFrame;

public class AudioFrameContext 
{
	public long timestampMs;
	public int numberOfFrames;
	public int channels;
	public int sampleRate;
	public byte[] data;

	public AudioFrameContext(byte[] data, long timestampMS, int numberOfFrames, int channels, int sampleRate) {
		this.data = data;
		this.timestampMs = timestampMS;
		this.numberOfFrames = numberOfFrames;
		this.channels = channels;
		this.sampleRate = sampleRate;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy