Lines Matching refs:stream
82 * encoded and sent back to each stream.
146 synchronized void add(AudioStream stream) {
147 if (!mStreams.containsKey(stream)) {
149 AudioCodec codec = stream.getCodec();
152 int id = nativeAdd(stream.getMode(), stream.getSocket(),
153 stream.getRemoteAddress().getHostAddress(),
154 stream.getRemotePort(), codecSpec, stream.getDtmfType());
155 mStreams.put(stream, id);
166 synchronized void remove(AudioStream stream) {
167 Integer id = mStreams.remove(stream);
196 for (AudioStream stream : getStreams()) {
197 stream.join(null);