Give "getBufferedAmount" for peerconnection a return type.