本文整理了Java中org.mobicents.media.server.spi.memory.Frame.isEOM()方法的一些代码示例,展示了Frame.isEOM()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Frame.isEOM()方法的具体详情如下:包路径:org.mobicents.media.server.spi.memory.Frame类名称:Frame方法名:isEOM
Frame.isEOM介绍
暂无
代码示例
代码示例来源:origin: org.mobicents.media.resources/player
if (frame.isEOM()) { if(log.isInfoEnabled()) { log.info("End of file reached");if (frame.isEOM()
代码示例来源:origin: org.mobicents.servers.media.codecs/l16
public Frame process(Frame frame) {Frame res = Memory.allocate(320); System.arraycopy( frame.getData(), 0, res.getData(), 0, 320 ); res.setOffset(0); res.setLength(320); res.setTimestamp(frame.getTimestamp()); res.setDuration(frame.getDuration()); res.setSequenceNumber(frame.getSequenceNumber()); res.setEOM(frame.isEOM()); res.setFormat(l16); return res;}
代码示例来源:origin: org.mobicents.media.codecs/l16
public Frame process(Frame frame) {Frame res = Memory.allocate(320); System.arraycopy( frame.getData(), 0, res.getData(), 0, 320 ); res.setOffset(0); res.setLength(320); res.setTimestamp(frame.getTimestamp()); res.setDuration(frame.getDuration()); res.setSequenceNumber(frame.getSequenceNumber()); res.setEOM(frame.isEOM()); res.setFormat(l16); return res;}
代码示例来源:origin: org.mobicents.servers.media.codecs/l16
public Frame process(Frame frame) {Frame res = Memory.allocate(frame.getData().length); System.arraycopy( frame.getData(), 0, res.getData(), 0, frame.getData().length ); res.setOffset(0); res.setLength(frame.getData().length); res.setTimestamp(frame.getTimestamp()); res.setDuration(frame.getDuration()); res.setSequenceNumber(frame.getSequenceNumber()); res.setEOM(frame.isEOM()); res.setFormat(linear); return res;}
代码示例来源:origin: org.mobicents.media.codecs/l16
public Frame process(Frame frame) {Frame res = Memory.allocate(frame.getData().length); System.arraycopy( frame.getData(), 0, res.getData(), 0, frame.getData().length ); res.setOffset(0); res.setLength(frame.getData().length); res.setTimestamp(frame.getTimestamp()); res.setDuration(frame.getDuration()); res.setSequenceNumber(frame.getSequenceNumber()); res.setEOM(frame.isEOM()); res.setFormat(linear); return res;}
代码示例来源:origin: org.mobicents.servers.media.codecs/g711
/** * (Non Java-doc) * * @see org.mobicents.media.server.impl.jmf.dsp.Codec#process(Buffer). */public Frame process(Frame frame) { byte[] data = frame.getData(); Frame res = Memory.allocate(data.length / 2); int len = process(data, 0, data.length, res.getData()); res.setOffset(0); res.setLength(len); res.setFormat(ulaw); res.setTimestamp(frame.getTimestamp()); res.setDuration(frame.getDuration()); res.setEOM(frame.isEOM()); res.setSequenceNumber(frame.getSequenceNumber()); return res;}
代码示例来源:origin: org.mobicents.servers.media.codecs/g711
/** * (Non Java-doc) * * @see org.mobicents.media.server.impl.jmf.dsp.Codec#process(Buffer). */public Frame process(Frame frame) { byte[] data = frame.getData(); Frame res = Memory.allocate(data.length * 2); int len = process(data, 0, data.length, res.getData()); res.setOffset(0); res.setLength(len); res.setTimestamp(frame.getTimestamp()); res.setDuration(frame.getDuration()); res.setSequenceNumber(frame.getSequenceNumber()); res.setEOM(frame.isEOM()); res.setFormat(linear); return res;}
代码示例来源:origin: org.mobicents.media.codecs/g711
/** * (Non Java-doc) * * @see org.mobicents.media.server.impl.jmf.dsp.Codec#process(Buffer). */ public Frame process(Frame frame) { count = frame.getLength() / 2; Frame res = Memory.allocate(count); byte[] data=frame.getData(); byte[] resData=res.getData(); for (i = 0,j = 0; i
res.setDuration(frame.getDuration());res.setSequenceNumber(frame.getSequenceNumber());res.setEOM(frame.isEOM());res.setFormat(linear);return res;
代码示例来源:origin: org.mobicents.media.codecs/ilbc
res.setDuration(frame.getDuration());res.setSequenceNumber(frame.getSequenceNumber());res.setEOM(frame.isEOM());res.setFormat(linear);return res;
代码示例来源:origin: org.mobicents.media.codecs/g711
/** * (Non Java-doc) * * @see org.mobicents.media.server.impl.jmf.dsp.Codec#process(Buffer). */ public Frame process(Frame frame) { count = frame.getLength() / 2; Frame res = Memory.allocate(count); byte[] data=frame.getData(); byte[] resData=res.getData(); for (i = 0,j = 0; i
/** * (Non Java-doc) * * @see org.mobicents.media.server.impl.jmf.dsp.Codec#process(Buffer). */public Frame process(Frame frame) { Frame res = Memory.allocate(frame.getLength() / 2); int len = process(frame.getData(), 0, frame.getLength(), res.getData()); res.setOffset(0); res.setLength(len); res.setFormat(alaw); res.setTimestamp(frame.getTimestamp()); res.setDuration(frame.getDuration()); res.setEOM(frame.isEOM()); res.setSequenceNumber(frame.getSequenceNumber()); return res;}
代码示例来源:origin: org.mobicents.media.codecs/g711
res.setDuration(frame.getDuration());res.setSequenceNumber(frame.getSequenceNumber());res.setEOM(frame.isEOM());res.setFormat(linear);
代码示例来源:origin: org.mobicents.servers.media.codecs/gsm
res.setDuration(frame.getDuration()); res.setSequenceNumber(frame.getSequenceNumber()); res.setEOM(frame.isEOM()); res.setFormat(linear); return res;res.setDuration(frame.getDuration());res.setSequenceNumber(frame.getSequenceNumber());res.setEOM(frame.isEOM());res.setFormat(linear);return res;
代码示例来源:origin: org.mobicents.servers.media.codecs/g711
/** * (Non Java-doc) * * @see org.mobicents.media.server.dsp.Codec#process(Frame). */public Frame process(Frame frame) { Frame res = Memory.allocate(frame.getLength() * 2); len = process(frame.getData(), 0, frame.getLength(), res.getData()); res.setOffset(0); res.setLength(len); res.setTimestamp(frame.getTimestamp()); res.setDuration(frame.getDuration()); res.setSequenceNumber(frame.getSequenceNumber()); res.setEOM(frame.isEOM()); res.setFormat(linear); res.setHeader(frame.getHeader()); return res;}
代码示例来源:origin: org.mobicents.media.codecs/gsm
res.setDuration(frame.getDuration()); res.setSequenceNumber(frame.getSequenceNumber()); res.setEOM(frame.isEOM()); res.setFormat(linear); return res;res.setDuration(frame.getDuration());res.setSequenceNumber(frame.getSequenceNumber());res.setEOM(frame.isEOM());res.setFormat(linear);return res;
代码示例来源:origin: org.mobicents.media.codecs/g711
res.setDuration(frame.getDuration());res.setSequenceNumber(frame.getSequenceNumber());res.setEOM(frame.isEOM());res.setFormat(linear);res.setHeader(frame.getHeader());
代码示例来源:origin: org.mobicents.media/components
isEOM=frame.isEOM();length=frame.getLength();
代码示例来源:origin: org.mobicents.servers.media.codecs/gsm
res.setDuration(frame.getDuration());res.setSequenceNumber(frame.getSequenceNumber());res.setEOM(frame.isEOM());res.setFormat(gsm);
代码示例来源:origin: org.mobicents.media.codecs/gsm
res.setDuration(frame.getDuration());res.setSequenceNumber(frame.getSequenceNumber());res.setEOM(frame.isEOM());res.setFormat(gsm);