India and Brunei on Tuesday emphasised the need for a peaceful solution to the South China Sea issue through discussions as Vice President Hamid Ansari held wide-ranging talks with the top leadership here, with the two sides signing three agreements including on defence.