public MuxerStream addNewStream(Coder coder) {
    """
	Adds a new stream that will have packets written to it.<br>
	<br>
	Note on thread safety: Callers must ensure that the coder is not encoding or decoding<br>
	packets at the same time that Muxer#open or Muxer#close is being called.<br>
	<br>
	@param coder The coder that will be used for packets written to this stream.<br>
	<br>
	@throws InvalidArgument if encoder is null.<br>
	@throws InvalidArgument if encoder is not open.
    """
    long cPtr = VideoJNI.Muxer_addNewStream(swigCPtr, this, Coder.getCPtr(coder), coder);
    return (cPtr == 0) ? null : new MuxerStream(cPtr, false);
  }
public MuxerStream addNewStream(Coder coder) {
    long cPtr = VideoJNI.Muxer_addNewStream(swigCPtr, this, Coder.getCPtr(coder), coder);
    return (cPtr == 0) ? null : new MuxerStream(cPtr, false);
  }
public MuxerStream addNewStream ( Coder coder ) { long cPtr = VideoJNI . Muxer_addNewStream ( swigCPtr , this , Coder . getCPtr ( coder ) , coder ) ; return ( cPtr == 0 ) ? null : new MuxerStream ( cPtr , false ) ; }
Adds a new stream that will have packets written to it.<br>
<br>
Note on thread safety: Callers must ensure that the coder is not encoding or decoding<br>
packets at the same time that Muxer#open or Muxer#close is being called.<br>
<br>
@param coder The coder that will be used for packets written to this stream.<br>
<br>
@throws InvalidArgument if encoder is null.<br>
@throws InvalidArgument if encoder is not open.
Adds a new stream that will have packets written to it . <br > <br > Note on thread safety : Callers must ensure that the coder is not encoding or decoding<br > packets at the same time that Muxer#open or Muxer#close is being called . <br > <br >