add success and failure callback to setLocalDescription
typofix