add success and error callbacks to setLocalDescription and setRemoteDescription