Added the patch for support multistream (id_stream, pls_code, pls_mode)